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: 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_latest_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_latest_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.001295/0.001295, allocations: 113.3 kB / 16.42 MB, free: 6.504 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.001401/0.001401, allocations: 190.6 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.385/1.385, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.625/2.625, allocations: 461.9 MB / 0.7355 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 64.12 kB / 1.055 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9237/0.9252, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.007592/0.9328, allocations: 4.845 MB / 1.213 GB, free: 8.738 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004747/0.9376, allocations: 2.463 MB / 1.216 GB, free: 6.266 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00064/0.9383, allocations: 19.81 kB / 1.216 GB, free: 6.246 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001449/0.9398, allocations: 398 kB / 1.216 GB, free: 5.855 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001461/0.9413, allocations: 445.6 kB / 1.216 GB, free: 5.418 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00108/0.9424, allocations: 378.9 kB / 1.217 GB, free: 5.051 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001428/0.9439, allocations: 0.9135 MB / 1.218 GB, free: 4.133 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006577/0.9445, allocations: 354.5 kB / 1.218 GB, free: 3.785 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007115/0.9452, allocations: 334.7 kB / 1.218 GB, free: 3.457 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006746/0.9459, allocations: 358.4 kB / 1.219 GB, free: 3.105 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001072/0.946, allocations: 36 kB / 1.219 GB, free: 3.07 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008965/0.947, allocations: 403.1 kB / 1.219 GB, free: 2.676 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002374/0.9472, allocations: 187.4 kB / 1.219 GB, free: 2.492 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0004068/0.9476, allocations: 314.2 kB / 1.22 GB, free: 2.184 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001478/0.9491, allocations: 0.8776 MB / 1.22 GB, free: 1.309 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.9491, allocations: 4 kB / 1.22 GB, free: 1.305 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.685e-06/0.9491, allocations: 0 / 1.22 GB, free: 1.305 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.523e-05/0.9492, allocations: 0 / 1.22 GB, free: 1.305 MB / 0.9356 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.002114/0.9513, allocations: 0.9386 MB / 1.221 GB, free: 320 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.667e-05/0.9514, allocations: 12.03 kB / 1.221 GB, free: 308 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001442/0.9528, allocations: 203.8 kB / 1.222 GB, free: 104 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001131/0.954, allocations: 0.5334 MB / 1.222 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.905e-05/0.954, allocations: 33.36 kB / 1.222 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.9541, allocations: 52.27 kB / 1.222 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001345/0.9555, allocations: 0.8447 MB / 1.223 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.443e-05/0.9555, allocations: 7.938 kB / 1.223 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.536e-05/0.9556, allocations: 20 kB / 1.223 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000127/0.9557, allocations: 68.95 kB / 1.223 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001011/0.9568, allocations: 0.5695 MB / 1.224 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005109/0.9619, allocations: 5.643 MB / 1.229 GB, free: 7.77 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006434/0.9625, allocations: 456.8 kB / 1.23 GB, free: 7.316 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003051/0.9629, allocations: 232.7 kB / 1.23 GB, free: 7.086 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.285e-05/0.9629, allocations: 4.531 kB / 1.23 GB, free: 7.082 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.9629, allocations: 38.56 kB / 1.23 GB, free: 7.035 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=32): time 3.506e-06/0.9629, allocations: 0 / 1.23 GB, free: 7.035 MB / 0.9512 GB Notification: Performance of matching and sorting (n=33): time 0.002604/0.9656, allocations: 1.508 MB / 1.231 GB, free: 5.41 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/0.9656, allocations: 55.69 kB / 1.231 GB, free: 5.344 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005417/0.9662, allocations: 498.9 kB / 1.232 GB, free: 4.844 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.863e-05/0.9662, allocations: 33.7 kB / 1.232 GB, free: 4.805 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002222/0.9664, allocations: 346.8 kB / 1.232 GB, free: 4.461 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.000102/0.9665, allocations: 122.3 kB / 1.232 GB, free: 4.34 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001541/0.9667, allocations: 118.1 kB / 1.232 GB, free: 4.219 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.9668, allocations: 362.8 kB / 1.233 GB, free: 3.855 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002869/0.9671, allocations: 201.1 kB / 1.233 GB, free: 3.66 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004504/0.9676, allocations: 447.3 kB / 1.233 GB, free: 3.105 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008273/0.9684, allocations: 0.6916 MB / 1.234 GB, free: 2.297 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.663e-06/0.9684, allocations: 4 kB / 1.234 GB, free: 2.293 MB / 0.9512 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001332/0.9698, allocations: 0.8055 MB / 1.235 GB, free: 1.465 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/0.9698, allocations: 8 kB / 1.235 GB, free: 1.457 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/0.9698, allocations: 8 kB / 1.235 GB, free: 1.449 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000524/0.9704, allocations: 152.5 kB / 1.235 GB, free: 1.285 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004568/0.9708, allocations: 123.7 kB / 1.235 GB, free: 1.164 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003572/0.9744, allocations: 4.344 MB / 1.239 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004305/0.9749, allocations: 35.97 kB / 1.239 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.807e-05/0.9749, allocations: 24 kB / 1.239 GB, free: 12.34 MB / 0.9669 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.0002881/0.9752, allocations: 221.6 kB / 1.24 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.9753, allocations: 59.25 kB / 1.24 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001045/0.9764, allocations: 0.6009 MB / 1.24 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.9764, allocations: 0 / 1.24 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.9764, allocations: 4 kB / 1.24 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002194/0.9767, allocations: 164.4 kB / 1.24 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.677e-05/0.9767, allocations: 8 kB / 1.24 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002399/0.977, allocations: 19.97 kB / 1.24 GB, free: 11.22 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.35e-05/0.9771, allocations: 31.83 kB / 1.24 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001306/0.9784, allocations: 0.6645 MB / 1.241 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009189/0.9793, allocations: 0.8223 MB / 1.242 GB, free: 9.66 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002507/0.9796, allocations: 188.1 kB / 1.242 GB, free: 9.477 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003432/0.9799, allocations: 326.9 kB / 1.242 GB, free: 9.16 MB / 0.9669 GB Notification: Performance of Backend: time 5.21e-07/0.9799, allocations: 0 / 1.242 GB, free: 9.16 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002292/0.9822, allocations: 1.17 MB / 1.244 GB, free: 7.902 MB / 0.9669 GB Notification: Performance of SimCode: time 0.002429/0.9847, allocations: 1.578 MB / 1.245 GB, free: 6.277 MB / 0.9669 GB Notification: Performance of Templates: time 0.01932/1.004, allocations: 10.1 MB / 1.255 GB, free: 12.27 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile (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 & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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