Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.TestImpedance,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",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.001681/0.001681, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00208/0.00208, allocations: 193.7 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.133/2.133, allocations: 222.9 MB / 239.9 MB, free: 4.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.505/4.505, allocations: 461.9 MB / 0.7344 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 61.69 kB / 0.8987 GB, free: 37.17 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4145/0.416, allocations: 157.4 MB / 1.052 GB, free: 8.684 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.01072/0.4268, allocations: 4.879 MB / 1.057 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.006513/0.4333, allocations: 2.436 MB / 1.06 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007567/0.4342, allocations: 23.81 kB / 1.06 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001834/0.4361, allocations: 370.4 kB / 1.06 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.00218/0.4383, allocations: 418 kB / 1.06 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001617/0.4399, allocations: 338.5 kB / 1.061 GB, free: 216 kB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.002083/0.442, allocations: 0.9212 MB / 1.062 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001238/0.4433, allocations: 386.5 kB / 1.062 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009893/0.4443, allocations: 342.6 kB / 1.062 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009676/0.4453, allocations: 362.5 kB / 1.063 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001846/0.4455, allocations: 40 kB / 1.063 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001444/0.4469, allocations: 399.1 kB / 1.063 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0003871/0.4473, allocations: 183.4 kB / 1.063 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0006896/0.448, allocations: 310.3 kB / 1.063 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.002189/0.4502, allocations: 0.9112 MB / 1.064 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.4503, allocations: 0 / 1.064 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.184e-06/0.4503, allocations: 4 kB / 1.064 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.425e-05/0.4503, allocations: 0 / 1.064 GB, free: 12.38 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.003014/0.4534, allocations: 0.9385 MB / 1.065 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.156e-05/0.4534, allocations: 16.62 kB / 1.065 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002112/0.4537, allocations: 90.69 kB / 1.065 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002109/0.4558, allocations: 195.9 kB / 1.066 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001195/0.457, allocations: 494.3 kB / 1.066 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.618e-05/0.4571, allocations: 33.38 kB / 1.066 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001395/0.4572, allocations: 44.36 kB / 1.066 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00188/0.4591, allocations: 0.8446 MB / 1.067 GB, free: 9.52 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.698e-05/0.4592, allocations: 11.84 kB / 1.067 GB, free: 9.508 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.429e-05/0.4593, allocations: 23.98 kB / 1.067 GB, free: 9.484 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000155/0.4594, allocations: 72.89 kB / 1.067 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001405/0.4609, allocations: 0.5617 MB / 1.068 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007597/0.4685, allocations: 5.65 MB / 1.073 GB, free: 2.805 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001141/0.4697, allocations: 455.5 kB / 1.074 GB, free: 2.352 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005601/0.4703, allocations: 228.7 kB / 1.074 GB, free: 2.125 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.989e-05/0.4703, allocations: 4.531 kB / 1.074 GB, free: 2.121 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.874e-05/0.4704, allocations: 38.56 kB / 1.074 GB, free: 2.074 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=32): time 4.278e-06/0.4704, allocations: 0 / 1.074 GB, free: 2.074 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33): time 0.004283/0.4747, allocations: 1.512 MB / 1.075 GB, free: 456 kB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.594e-05/0.4748, allocations: 55.69 kB / 1.075 GB, free: 388 kB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009324/0.4757, allocations: 498.9 kB / 1.076 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.997e-05/0.4758, allocations: 29.7 kB / 1.076 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003889/0.4762, allocations: 358.8 kB / 1.076 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001675/0.4764, allocations: 114.4 kB / 1.076 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002646/0.4767, allocations: 110.2 kB / 1.076 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002393/0.4769, allocations: 366.8 kB / 1.077 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005311/0.4775, allocations: 201.1 kB / 1.077 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000835/0.4783, allocations: 451.3 kB / 1.077 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00149/0.4798, allocations: 0.6837 MB / 1.078 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.526e-05/0.4798, allocations: 7.984 kB / 1.078 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002416/0.4823, allocations: 0.8009 MB / 1.079 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.059e-05/0.4823, allocations: 14.53 kB / 1.079 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.646e-05/0.4824, allocations: 8 kB / 1.079 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008143/0.4832, allocations: 164 kB / 1.079 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007699/0.484, allocations: 123.8 kB / 1.079 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0053/0.4893, allocations: 4.348 MB / 1.083 GB, free: 7.426 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007735/0.4901, allocations: 31.97 kB / 1.083 GB, free: 7.395 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/0.4902, allocations: 28 kB / 1.083 GB, free: 7.367 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004907/0.4907, allocations: 215.2 kB / 1.084 GB, free: 7.148 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002014/0.4909, allocations: 59.33 kB / 1.084 GB, free: 7.09 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001705/0.4927, allocations: 0.6009 MB / 1.084 GB, free: 6.469 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/0.4927, allocations: 4 kB / 1.084 GB, free: 6.465 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.074e-06/0.4927, allocations: 0 / 1.084 GB, free: 6.465 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.4927, allocations: 0 / 1.084 GB, free: 6.465 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003053/0.4958, allocations: 1.266 MB / 1.086 GB, free: 5.105 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.4958, allocations: 0 / 1.086 GB, free: 5.105 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004389/0.4963, allocations: 56.11 kB / 1.086 GB, free: 5.051 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006574/0.4969, allocations: 140.2 kB / 1.086 GB, free: 4.898 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.74e-05/0.497, allocations: 11.94 kB / 1.086 GB, free: 4.887 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005034/0.502, allocations: 4.336 MB / 1.09 GB, free: 128 kB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.812e-06/0.5021, allocations: 4.031 kB / 1.09 GB, free: 124 kB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001815/0.5039, allocations: 0.7076 MB / 1.091 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004152/0.5043, allocations: 168.3 kB / 1.091 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001583/0.5045, allocations: 8 kB / 1.091 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000514/0.505, allocations: 27.97 kB / 1.091 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/0.5052, allocations: 27.91 kB / 1.091 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-05/0.5052, allocations: 12 kB / 1.091 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0006327/0.5059, allocations: 334.8 kB / 1.091 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.21e-07/0.5059, allocations: 3.938 kB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001291/0.5072, allocations: 140 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002079/0.5093, allocations: 1.257 MB / 1.093 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002458/0.5118, allocations: 1.08 MB / 1.094 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.5118, allocations: 4.125 kB / 1.094 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001299/0.5131, allocations: 0.734 MB / 1.094 GB, free: 11.33 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001802/0.5149, allocations: 212.4 kB / 1.095 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01173/0.5267, allocations: 5.396 MB / 1.1 GB, free: 5.348 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007679/0.5275, allocations: 0.9019 MB / 1.101 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.000707/0.5282, allocations: 121.3 kB / 1.101 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004055/0.5287, allocations: 187.4 kB / 1.101 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of SimCode: time 8.81e-07/0.5287, allocations: 0 / 1.101 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8815/1.41, allocations: 12.53 MB / 1.113 GB, free: 7.871 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004067/1.411, allocations: 234.4 kB / 1.113 GB, free: 7.621 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.006/5.417, allocations: 0 / 1.113 GB, free: 7.621 MB / 0.8731 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches