Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Za.i.1.|Za.i.2.|Zb.i.1.|Zb.i.2.|Zc.i.1.|Zc.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Za.i.1.|Za.i.2.|Zb.i.1.|Zb.i.2.|Zc.i.1.|Zc.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001876/0.001876, allocations: 109.1 kB / 16.41 MB, free: 6.488 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.002069/0.002069, allocations: 186.5 kB / 17.35 MB, free: 5.766 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.312/1.312, 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 11.0.0-master/package.mo): time 2.497/2.497, allocations: 461.7 MB / 0.7352 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001443, allocations: 63.89 kB / 1.055 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8938/0.8952, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.007322/0.9026, allocations: 4.284 MB / 1.212 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00447/0.9071, allocations: 2.377 MB / 1.215 GB, free: 6.945 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000645/0.9078, allocations: 15.88 kB / 1.215 GB, free: 6.93 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001391/0.9093, allocations: 369.8 kB / 1.215 GB, free: 6.57 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001206/0.9105, allocations: 378.1 kB / 1.215 GB, free: 6.199 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009832/0.9115, allocations: 311.2 kB / 1.216 GB, free: 5.895 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.00109/0.9126, allocations: 0.6867 MB / 1.216 GB, free: 5.203 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005251/0.9132, allocations: 258 kB / 1.217 GB, free: 4.949 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005094/0.9137, allocations: 258.9 kB / 1.217 GB, free: 4.695 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005485/0.9142, allocations: 262.8 kB / 1.217 GB, free: 4.438 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 8.476e-05/0.9143, allocations: 36 kB / 1.217 GB, free: 4.402 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009273/0.9153, allocations: 439 kB / 1.218 GB, free: 3.973 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002087/0.9155, allocations: 135.6 kB / 1.218 GB, free: 3.84 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003331/0.9158, allocations: 238.6 kB / 1.218 GB, free: 3.605 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001239/0.9171, allocations: 0.7298 MB / 1.219 GB, free: 2.879 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.9171, allocations: 0 / 1.219 GB, free: 2.879 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.984e-06/0.9171, allocations: 3.938 kB / 1.219 GB, free: 2.875 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.826e-05/0.9171, allocations: 0 / 1.219 GB, free: 2.875 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001339/0.9185, allocations: 0.7871 MB / 1.219 GB, free: 2.035 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.9185, allocations: 11.97 kB / 1.219 GB, free: 2.023 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001313/0.9198, allocations: 184.1 kB / 1.22 GB, free: 1.844 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006047/0.9204, allocations: 444.5 kB / 1.22 GB, free: 1.367 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/0.9205, allocations: 25.36 kB / 1.22 GB, free: 1.344 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.591e-05/0.9205, allocations: 32.38 kB / 1.22 GB, free: 1.312 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008196/0.9214, allocations: 0.6508 MB / 1.221 GB, free: 0.5664 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/0.9214, allocations: 7.938 kB / 1.221 GB, free: 0.5586 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.299e-05/0.9215, allocations: 19.98 kB / 1.221 GB, free: 0.5391 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-05/0.9215, allocations: 47.97 kB / 1.221 GB, free: 0.4922 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006808/0.9222, allocations: 0.4954 MB / 1.221 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00296/0.9252, allocations: 3.779 MB / 1.225 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001601/0.9268, allocations: 0.6244 MB / 1.226 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002205/0.927, allocations: 190.4 kB / 1.226 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.691e-05/0.9271, allocations: 4 kB / 1.226 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.9271, allocations: 30.56 kB / 1.226 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=30): time 2.665e-06/0.9271, allocations: 0 / 1.226 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of matching and sorting (n=33): time 0.002138/0.9293, allocations: 1.28 MB / 1.227 GB, free: 9.711 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.9293, allocations: 106.8 kB / 1.227 GB, free: 9.582 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003759/0.9297, allocations: 397.8 kB / 1.228 GB, free: 9.184 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.306e-05/0.9297, allocations: 29.7 kB / 1.228 GB, free: 9.148 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001703/0.9299, allocations: 295.4 kB / 1.228 GB, free: 8.855 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 8.237e-05/0.93, allocations: 118.3 kB / 1.228 GB, free: 8.738 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001273/0.9301, allocations: 99.83 kB / 1.228 GB, free: 8.637 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.9303, allocations: 350.8 kB / 1.228 GB, free: 8.285 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002441/0.9305, allocations: 177 kB / 1.229 GB, free: 8.109 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003941/0.9309, allocations: 383.2 kB / 1.229 GB, free: 7.648 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006609/0.9316, allocations: 0.5834 MB / 1.23 GB, free: 6.973 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.9316, allocations: 7.938 kB / 1.23 GB, free: 6.965 MB / 0.9512 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0009927/0.9326, allocations: 0.6753 MB / 1.23 GB, free: 6.273 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.9326, allocations: 10.03 kB / 1.23 GB, free: 6.266 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.9326, allocations: 8 kB / 1.23 GB, free: 6.258 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003431/0.933, allocations: 94.39 kB / 1.23 GB, free: 6.156 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003631/0.9334, allocations: 115.8 kB / 1.23 GB, free: 6.043 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003212/0.9366, allocations: 4.344 MB / 1.235 GB, free: 1.281 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000322/0.9369, allocations: 27.97 kB / 1.235 GB, free: 1.254 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.718e-05/0.937, allocations: 24 kB / 1.235 GB, free: 1.23 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 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.0002177/0.9372, allocations: 201.5 kB / 1.235 GB, free: 1.023 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/0.9373, allocations: 51.44 kB / 1.235 GB, free: 0.9727 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000831/0.9381, allocations: 0.515 MB / 1.235 GB, free: 448 kB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/0.9382, allocations: 3.984 kB / 1.235 GB, free: 444 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.9382, allocations: 3.938 kB / 1.235 GB, free: 440 kB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001754/0.9383, allocations: 152.5 kB / 1.236 GB, free: 268 kB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.32e-05/0.9384, allocations: 4 kB / 1.236 GB, free: 264 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002781/0.9387, allocations: 15.98 kB / 1.236 GB, free: 248 kB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.992e-05/0.9388, allocations: 31.89 kB / 1.236 GB, free: 216 kB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001024/0.9398, allocations: 0.724 MB / 1.236 GB, free: 15.47 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008642/0.9407, allocations: 0.8875 MB / 1.237 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002167/0.9409, allocations: 164.5 kB / 1.237 GB, free: 14.4 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002732/0.9412, allocations: 283.1 kB / 1.238 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of Backend: time 2.304e-06/0.9412, allocations: 0 / 1.238 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002051/0.9432, allocations: 0.96 MB / 1.239 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of SimCode: time 0.001813/0.9451, allocations: 1.314 MB / 1.24 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of Templates: time 0.01508/0.9602, allocations: 8.242 MB / 1.248 GB, free: 3.574 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches