Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Z1.i.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Z1.i.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001589/0.001589, allocations: 110.5 kB / 16.42 MB, free: 6.516 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.001623/0.001623, allocations: 186.7 kB / 17.35 MB, free: 5.738 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.522/1.522, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.664/2.664, allocations: 437 MB / 0.7112 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 63.91 kB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.082/1.084, allocations: 151.6 MB / 1.167 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.008537/1.092, allocations: 4.854 MB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.005333/1.098, allocations: 2.455 MB / 1.174 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007965/1.099, allocations: 23.81 kB / 1.174 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001748/1.1, allocations: 402.4 kB / 1.175 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0015/1.102, allocations: 457.7 kB / 1.175 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001042/1.103, allocations: 378.6 kB / 1.176 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001709/1.105, allocations: 0.9251 MB / 1.177 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000793/1.105, allocations: 350.5 kB / 1.177 GB, free: 9.984 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007172/1.106, allocations: 342.6 kB / 1.177 GB, free: 9.648 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000657/1.107, allocations: 346.5 kB / 1.178 GB, free: 9.309 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001094/1.107, allocations: 36 kB / 1.178 GB, free: 9.273 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009419/1.108, allocations: 407.1 kB / 1.178 GB, free: 8.875 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002545/1.108, allocations: 191.4 kB / 1.178 GB, free: 8.688 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004217/1.109, allocations: 314.2 kB / 1.178 GB, free: 8.379 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001181/1.11, allocations: 0.8776 MB / 1.179 GB, free: 7.504 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/1.11, allocations: 4 kB / 1.179 GB, free: 7.5 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.553e-06/1.11, allocations: 0 / 1.179 GB, free: 7.5 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.471e-05/1.11, allocations: 0 / 1.179 GB, free: 7.5 MB / 0.9044 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.001927/1.112, allocations: 0.9347 MB / 1.18 GB, free: 6.516 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.424e-05/1.112, allocations: 12.62 kB / 1.18 GB, free: 6.504 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001389/1.113, allocations: 199.8 kB / 1.18 GB, free: 6.309 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009255/1.114, allocations: 0.5335 MB / 1.181 GB, free: 5.734 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.169e-05/1.114, allocations: 29.38 kB / 1.181 GB, free: 5.703 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.139e-05/1.114, allocations: 56.2 kB / 1.181 GB, free: 5.648 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001389/1.116, allocations: 0.8486 MB / 1.182 GB, free: 4.672 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.619e-05/1.116, allocations: 11.88 kB / 1.182 GB, free: 4.66 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.139e-05/1.116, allocations: 23.98 kB / 1.182 GB, free: 4.637 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001078/1.116, allocations: 68.95 kB / 1.182 GB, free: 4.57 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009329/1.117, allocations: 0.5695 MB / 1.183 GB, free: 4 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005609/1.123, allocations: 5.639 MB / 1.188 GB, free: 13.96 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007766/1.123, allocations: 462.2 kB / 1.188 GB, free: 13.5 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003256/1.124, allocations: 224.7 kB / 1.189 GB, free: 13.28 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.793e-05/1.124, allocations: 8 kB / 1.189 GB, free: 13.27 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.33e-05/1.124, allocations: 34.56 kB / 1.189 GB, free: 13.23 MB / 0.92 GB Notification: Performance of pre-optimization done (n=32): time 2.325e-06/1.124, allocations: 0 / 1.189 GB, free: 13.23 MB / 0.92 GB Notification: Performance of matching and sorting (n=33): time 0.002807/1.127, allocations: 1.503 MB / 1.19 GB, free: 11.61 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.491e-05/1.127, allocations: 55.69 kB / 1.19 GB, free: 11.55 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005705/1.127, allocations: 498.9 kB / 1.191 GB, free: 11.05 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.005e-05/1.127, allocations: 29.7 kB / 1.191 GB, free: 11.02 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002953/1.128, allocations: 358.8 kB / 1.191 GB, free: 10.66 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/1.128, allocations: 122.3 kB / 1.191 GB, free: 10.54 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001644/1.128, allocations: 110.2 kB / 1.191 GB, free: 10.43 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001608/1.128, allocations: 366.7 kB / 1.192 GB, free: 10.06 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003091/1.128, allocations: 197.2 kB / 1.192 GB, free: 9.863 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004681/1.129, allocations: 444.9 kB / 1.192 GB, free: 9.316 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009547/1.13, allocations: 0.6998 MB / 1.193 GB, free: 8.5 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.149e-05/1.13, allocations: 4 kB / 1.193 GB, free: 8.496 MB / 0.92 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001557/1.131, allocations: 0.7978 MB / 1.194 GB, free: 7.676 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.498e-05/1.131, allocations: 8 kB / 1.194 GB, free: 7.668 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.312e-05/1.131, allocations: 12 kB / 1.194 GB, free: 7.656 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006317/1.132, allocations: 160.3 kB / 1.194 GB, free: 7.484 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005107/1.133, allocations: 123.7 kB / 1.194 GB, free: 7.363 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004356/1.137, allocations: 4.352 MB / 1.198 GB, free: 2.594 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005005/1.138, allocations: 35.97 kB / 1.198 GB, free: 2.559 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.199e-05/1.138, allocations: 27.98 kB / 1.198 GB, free: 2.531 MB / 0.92 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.0003652/1.138, allocations: 224.8 kB / 1.199 GB, free: 2.305 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001246/1.138, allocations: 59.25 kB / 1.199 GB, free: 2.246 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001135/1.139, allocations: 0.597 MB / 1.199 GB, free: 1.621 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/1.139, allocations: 7.969 kB / 1.199 GB, free: 1.613 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/1.139, allocations: 8 kB / 1.199 GB, free: 1.605 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002829/1.14, allocations: 160.4 kB / 1.199 GB, free: 1.43 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.616e-05/1.14, allocations: 12 kB / 1.199 GB, free: 1.418 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002637/1.14, allocations: 19.97 kB / 1.199 GB, free: 1.398 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.442e-05/1.14, allocations: 31.83 kB / 1.199 GB, free: 1.367 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001412/1.141, allocations: 0.6568 MB / 1.2 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001007/1.142, allocations: 0.8299 MB / 1.201 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002514/1.143, allocations: 183.8 kB / 1.201 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003715/1.143, allocations: 330.8 kB / 1.201 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of Backend: time 5.41e-07/1.143, allocations: 0 / 1.201 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002477/1.146, allocations: 1.156 MB / 1.202 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of SimCode: time 0.002309/1.148, allocations: 1.581 MB / 1.204 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of Templates: time 0.01829/1.166, allocations: 9.914 MB / 1.214 GB, free: 2.648 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches