Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009873/0.0009875, allocations: 97.64 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006396/0.006396, allocations: 170.1 kB / 16.27 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.597/2.597, allocations: 462.6 MB / 0.7364 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003469/0.0003471, allocations: 16.02 kB / 0.9029 GB, free: 36.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2878/0.2882, allocations: 159.6 MB / 1.059 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.004242/0.2925, allocations: 3.411 MB / 1.062 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0028/0.2953, allocations: 1.777 MB / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003369/0.2956, allocations: 15.88 kB / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002268/0.2959, allocations: 55.5 kB / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0008153/0.2967, allocations: 274.7 kB / 1.064 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007563/0.2975, allocations: 224.5 kB / 1.064 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001074/0.2986, allocations: 0.7452 MB / 1.065 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007667/0.2993, allocations: 370.9 kB / 1.065 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004935/0.2998, allocations: 199 kB / 1.066 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003708/0.3002, allocations: 223 kB / 1.066 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.237e-05/0.3003, allocations: 12 kB / 1.066 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006/0.3009, allocations: 339.3 kB / 1.066 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001338/0.301, allocations: 103.6 kB / 1.066 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002212/0.3013, allocations: 216.6 kB / 1.067 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007133/0.302, allocations: 0.5841 MB / 1.067 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.302, allocations: 0 / 1.067 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.332e-06/0.302, allocations: 0 / 1.067 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.371e-05/0.302, allocations: 0 / 1.067 GB, free: 12.27 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001007/0.303, allocations: 0.674 MB / 1.068 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.3031, allocations: 11.97 kB / 1.068 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.468e-05/0.3032, allocations: 70.7 kB / 1.068 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000883/0.3041, allocations: 144.2 kB / 1.068 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000463/0.3045, allocations: 375.7 kB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.526e-05/0.3046, allocations: 21.03 kB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.49e-05/0.3046, allocations: 32.36 kB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007638/0.3054, allocations: 0.5586 MB / 1.069 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.3054, allocations: 4 kB / 1.069 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.739e-05/0.3055, allocations: 12 kB / 1.069 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.793e-05/0.3055, allocations: 40.53 kB / 1.069 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007083/0.3062, allocations: 417.7 kB / 1.069 GB, free: 9.762 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002688/0.3089, allocations: 3.345 MB / 1.073 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006105/0.3096, allocations: 334.5 kB / 1.073 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003008/0.3099, allocations: 176.8 kB / 1.073 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.3099, allocations: 7.938 kB / 1.073 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.3099, allocations: 46.5 kB / 1.073 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=26): time 1.313e-06/0.31, allocations: 0 / 1.073 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of matching and sorting (n=27): time 0.001965/0.3119, allocations: 1.082 MB / 1.074 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.999e-05/0.312, allocations: 59.64 kB / 1.074 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003062/0.3123, allocations: 337.6 kB / 1.075 GB, free: 4.027 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.55e-05/0.3123, allocations: 33.7 kB / 1.075 GB, free: 3.988 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/0.3125, allocations: 243.5 kB / 1.075 GB, free: 3.746 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.238e-05/0.3125, allocations: 98.72 kB / 1.075 GB, free: 3.648 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.181e-05/0.3126, allocations: 33.7 kB / 1.075 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.3127, allocations: 350.8 kB / 1.075 GB, free: 3.258 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002753/0.313, allocations: 152.8 kB / 1.075 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003373/0.3133, allocations: 298.5 kB / 1.076 GB, free: 2.754 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006757/0.314, allocations: 494.5 kB / 1.076 GB, free: 2.207 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.314, allocations: 0 / 1.076 GB, free: 2.207 MB / 0.8262 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009865/0.315, allocations: 0.5698 MB / 1.077 GB, free: 1.621 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.3151, allocations: 8 kB / 1.077 GB, free: 1.613 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.3151, allocations: 4 kB / 1.077 GB, free: 1.609 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003039/0.3154, allocations: 94.44 kB / 1.077 GB, free: 1.508 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003348/0.3157, allocations: 91.88 kB / 1.077 GB, free: 1.418 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.619e-05/0.3157, allocations: 16.03 kB / 1.077 GB, free: 1.402 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002796/0.316, allocations: 31.97 kB / 1.077 GB, free: 1.371 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.108e-05/0.3161, allocations: 20 kB / 1.077 GB, free: 1.352 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001975/0.3163, allocations: 173.7 kB / 1.077 GB, free: 1.172 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.03e-05/0.3164, allocations: 43.47 kB / 1.077 GB, free: 1.129 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000881/0.3173, allocations: 480.2 kB / 1.078 GB, free: 0.6445 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.3173, allocations: 0 / 1.078 GB, free: 0.6445 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.3173, allocations: 4 kB / 1.078 GB, free: 0.6406 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.3173, allocations: 3.984 kB / 1.078 GB, free: 0.6367 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001428/0.3187, allocations: 0.9801 MB / 1.079 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.3187, allocations: 4.031 kB / 1.079 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002361/0.319, allocations: 55.95 kB / 1.079 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002248/0.3192, allocations: 78.45 kB / 1.079 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.416e-05/0.3193, allocations: 8 kB / 1.079 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.3193, allocations: 4 kB / 1.079 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.3193, allocations: 0 / 1.079 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008113/0.3201, allocations: 0.5619 MB / 1.079 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001319/0.3202, allocations: 136.6 kB / 1.08 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.775e-05/0.3203, allocations: 8 kB / 1.08 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002277/0.3205, allocations: 27.91 kB / 1.08 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.56e-05/0.3206, allocations: 23.97 kB / 1.08 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.827e-05/0.3206, allocations: 4 kB / 1.08 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002068/0.3208, allocations: 247 kB / 1.08 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3208, allocations: 0 / 1.08 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003929/0.3212, allocations: 88 kB / 1.08 GB, free: 14.29 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001094/0.3223, allocations: 1.097 MB / 1.081 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008633/0.3232, allocations: 0.6399 MB / 1.082 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.3232, allocations: 0 / 1.082 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004332/0.3237, allocations: 445.6 kB / 1.082 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007016/0.3244, allocations: 108 kB / 1.082 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004644/0.329, allocations: 3.943 MB / 1.086 GB, free: 7.656 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003522/0.3294, allocations: 0.827 MB / 1.087 GB, free: 6.801 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002526/0.3297, allocations: 79.34 kB / 1.087 GB, free: 6.723 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001804/0.3298, allocations: 134.3 kB / 1.087 GB, free: 6.594 MB / 0.8419 GB Notification: Performance of SimCode: time 9.52e-07/0.3299, allocations: 0 / 1.087 GB, free: 6.594 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01849/0.3484, allocations: 7.789 MB / 1.095 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001898/0.3486, allocations: 241.9 kB / 1.095 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.72/2.068, allocations: 0 / 1.095 GB, free: 14.82 MB / 0.8575 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches