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.001759/0.00176, allocations: 108.3 kB / 16.41 MB, free: 6.434 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.001653/0.001653, allocations: 187.9 kB / 17.35 MB, free: 5.688 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.515/1.515, allocations: 222.9 MB / 241.1 MB, free: 15.05 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.53/2.53, allocations: 437.1 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 67.91 kB / 1.019 GB, free: 9.43 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.052/1.053, allocations: 151.6 MB / 1.167 GB, free: 3.891 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.007893/1.061, allocations: 4.859 MB / 1.172 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.004785/1.066, allocations: 2.455 MB / 1.174 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007801/1.067, allocations: 27.81 kB / 1.174 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001185/1.068, allocations: 405.8 kB / 1.175 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001163/1.069, allocations: 461.7 kB / 1.175 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00095/1.07, allocations: 378.3 kB / 1.176 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001154/1.072, allocations: 0.9173 MB / 1.177 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006508/1.072, allocations: 350.5 kB / 1.177 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005702/1.073, allocations: 342.7 kB / 1.177 GB, free: 9.691 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004483/1.073, allocations: 350.5 kB / 1.178 GB, free: 9.348 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 6.592e-05/1.073, allocations: 36 kB / 1.178 GB, free: 9.312 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007619/1.074, allocations: 399.1 kB / 1.178 GB, free: 8.922 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001834/1.074, allocations: 187.4 kB / 1.178 GB, free: 8.738 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002942/1.075, allocations: 314.3 kB / 1.178 GB, free: 8.43 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0009913/1.076, allocations: 0.8992 MB / 1.179 GB, free: 7.531 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/1.076, allocations: 0 / 1.179 GB, free: 7.531 MB / 0.9044 GB Notification: Performance of FrontEnd: time 8.82e-07/1.076, allocations: 0 / 1.179 GB, free: 7.531 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.446e-05/1.076, allocations: 0 / 1.179 GB, free: 7.531 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.001302/1.077, allocations: 0.9533 MB / 1.18 GB, free: 6.527 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/1.077, allocations: 8.922 kB / 1.18 GB, free: 6.52 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001177/1.078, allocations: 208.2 kB / 1.18 GB, free: 6.316 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000731/1.079, allocations: 0.5494 MB / 1.181 GB, free: 5.727 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.96e-05/1.079, allocations: 33.31 kB / 1.181 GB, free: 5.691 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.926e-05/1.079, allocations: 44.36 kB / 1.181 GB, free: 5.648 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001008/1.08, allocations: 0.8448 MB / 1.182 GB, free: 4.676 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.115e-05/1.08, allocations: 11.94 kB / 1.182 GB, free: 4.664 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.66e-05/1.08, allocations: 23.98 kB / 1.182 GB, free: 4.641 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.027e-05/1.08, allocations: 64.95 kB / 1.182 GB, free: 4.578 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000785/1.081, allocations: 0.5656 MB / 1.183 GB, free: 4.012 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004138/1.085, allocations: 5.651 MB / 1.188 GB, free: 13.96 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000603/1.086, allocations: 466.1 kB / 1.189 GB, free: 13.5 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000293/1.086, allocations: 224.7 kB / 1.189 GB, free: 13.28 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.353e-05/1.086, allocations: 4 kB / 1.189 GB, free: 13.27 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/1.086, allocations: 34.56 kB / 1.189 GB, free: 13.23 MB / 0.92 GB Notification: Performance of pre-optimization done (n=32): time 1.593e-06/1.086, allocations: 4 kB / 1.189 GB, free: 13.23 MB / 0.92 GB Notification: Performance of matching and sorting (n=33): time 0.00257/1.089, allocations: 1.508 MB / 1.19 GB, free: 11.61 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.603e-05/1.089, allocations: 55.69 kB / 1.19 GB, free: 11.54 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005687/1.089, allocations: 498.9 kB / 1.191 GB, free: 11.04 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.216e-05/1.089, allocations: 41.64 kB / 1.191 GB, free: 11 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002617/1.09, allocations: 359.8 kB / 1.191 GB, free: 10.64 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001081/1.09, allocations: 123 kB / 1.191 GB, free: 10.52 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001509/1.09, allocations: 110.2 kB / 1.191 GB, free: 10.41 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001711/1.09, allocations: 370.8 kB / 1.192 GB, free: 10.04 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00028/1.09, allocations: 193.2 kB / 1.192 GB, free: 9.844 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004464/1.091, allocations: 448.8 kB / 1.192 GB, free: 9.293 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000863/1.092, allocations: 0.6882 MB / 1.193 GB, free: 8.488 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/1.092, allocations: 3.984 kB / 1.193 GB, free: 8.484 MB / 0.92 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001356/1.093, allocations: 0.8139 MB / 1.194 GB, free: 7.648 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/1.093, allocations: 8 kB / 1.194 GB, free: 7.641 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/1.093, allocations: 8 kB / 1.194 GB, free: 7.633 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005021/1.094, allocations: 152.2 kB / 1.194 GB, free: 7.469 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004317/1.094, allocations: 127.7 kB / 1.194 GB, free: 7.344 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003938/1.098, allocations: 4.356 MB / 1.198 GB, free: 2.57 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000374/1.098, allocations: 31.97 kB / 1.198 GB, free: 2.539 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.812e-05/1.099, allocations: 28 kB / 1.198 GB, free: 2.512 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.0002956/1.099, allocations: 216.6 kB / 1.199 GB, free: 2.293 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/1.099, allocations: 75.56 kB / 1.199 GB, free: 2.219 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001022/1.1, allocations: 0.601 MB / 1.199 GB, free: 1.59 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/1.1, allocations: 0 / 1.199 GB, free: 1.59 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/1.1, allocations: 0 / 1.199 GB, free: 1.59 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002196/1.1, allocations: 164.7 kB / 1.199 GB, free: 1.41 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.023e-05/1.1, allocations: 4 kB / 1.199 GB, free: 1.406 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002257/1.101, allocations: 23.97 kB / 1.199 GB, free: 1.383 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.2e-05/1.101, allocations: 39.83 kB / 1.199 GB, free: 1.344 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001284/1.102, allocations: 0.6646 MB / 1.2 GB, free: 0.6562 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009743/1.103, allocations: 0.8304 MB / 1.201 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002457/1.103, allocations: 179.8 kB / 1.201 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003548/1.104, allocations: 330.9 kB / 1.201 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of Backend: time 8.82e-07/1.104, allocations: 4 kB / 1.201 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002164/1.106, allocations: 1.163 MB / 1.203 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of SimCode: time 0.002379/1.108, allocations: 1.584 MB / 1.204 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of Templates: time 0.01928/1.127, allocations: 9.92 MB / 1.214 GB, free: 2.598 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