Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.DynamicLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dynRC.i.1.|dynRC.i.2.|dynRL.i.1.|dynRL.i.2.|dynRC.v.1.|dynRC.v.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dynRC.i.1.|dynRC.i.2.|dynRL.i.1.|dynRL.i.2.|dynRC.v.1.|dynRC.v.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 114 kB / 16.42 MB, free: 6.449 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.001388/0.001388, allocations: 188.3 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.404/1.404, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.59/2.59, allocations: 469.4 MB / 0.7428 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 64.12 kB / 1.065 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9227/0.924, allocations: 159.1 MB / 1.221 GB, free: 2.352 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.008093/0.9322, allocations: 3.265 MB / 1.224 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.00482/0.937, allocations: 2.018 MB / 1.226 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003416/0.9374, allocations: 4 kB / 1.226 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001332/0.9388, allocations: 290.8 kB / 1.226 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0009341/0.9398, allocations: 242.9 kB / 1.227 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009961/0.9408, allocations: 286.8 kB / 1.227 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0006631/0.9415, allocations: 418.6 kB / 1.227 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004555/0.9419, allocations: 200.2 kB / 1.227 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003331/0.9423, allocations: 159.5 kB / 1.228 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004884/0.9428, allocations: 195.3 kB / 1.228 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 6.891e-05/0.9428, allocations: 24 kB / 1.228 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005805/0.9434, allocations: 267.5 kB / 1.228 GB, free: 11 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001543/0.9436, allocations: 119.7 kB / 1.228 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002067/0.9438, allocations: 151.2 kB / 1.228 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0007608/0.9446, allocations: 492.2 kB / 1.229 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/0.9446, allocations: 4 kB / 1.229 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.663e-06/0.9446, allocations: 4 kB / 1.229 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.648e-05/0.9446, allocations: 0 / 1.229 GB, free: 10.25 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001198/0.9458, allocations: 0.5964 MB / 1.229 GB, free: 9.602 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.9459, allocations: 12.62 kB / 1.229 GB, free: 9.59 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001059/0.947, allocations: 116.5 kB / 1.229 GB, free: 9.477 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004201/0.9474, allocations: 276.4 kB / 1.23 GB, free: 9.164 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/0.9474, allocations: 24.92 kB / 1.23 GB, free: 9.141 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001284/0.9476, allocations: 32.73 kB / 1.23 GB, free: 9.109 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006913/0.9483, allocations: 457 kB / 1.23 GB, free: 8.629 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.9483, allocations: 3.938 kB / 1.23 GB, free: 8.625 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.822e-05/0.9483, allocations: 12 kB / 1.23 GB, free: 8.613 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000142/0.9485, allocations: 40.53 kB / 1.23 GB, free: 8.574 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006177/0.9491, allocations: 369.9 kB / 1.231 GB, free: 8.211 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002576/0.9517, allocations: 2.218 MB / 1.233 GB, free: 5.797 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004071/0.9521, allocations: 262.4 kB / 1.233 GB, free: 5.531 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000207/0.9523, allocations: 164.8 kB / 1.233 GB, free: 5.367 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.9524, allocations: 4 kB / 1.233 GB, free: 5.363 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.9524, allocations: 30.56 kB / 1.233 GB, free: 5.324 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=22): time 1.823e-06/0.9524, allocations: 3.938 kB / 1.233 GB, free: 5.32 MB / 0.9512 GB Notification: Performance of matching and sorting (n=23): time 0.00174/0.9541, allocations: 1.052 MB / 1.234 GB, free: 4.199 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.752e-05/0.9542, allocations: 55.41 kB / 1.234 GB, free: 4.133 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003148/0.9545, allocations: 256.9 kB / 1.235 GB, free: 3.867 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.193e-05/0.9545, allocations: 33.7 kB / 1.235 GB, free: 3.828 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.9547, allocations: 187.9 kB / 1.235 GB, free: 3.641 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 8.1e-05/0.9547, allocations: 82.81 kB / 1.235 GB, free: 3.559 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001287/0.9549, allocations: 77.58 kB / 1.235 GB, free: 3.477 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.955, allocations: 334.8 kB / 1.235 GB, free: 3.141 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002825/0.9553, allocations: 155.9 kB / 1.235 GB, free: 2.988 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000326/0.9556, allocations: 249.5 kB / 1.236 GB, free: 2.707 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005573/0.9562, allocations: 414.8 kB / 1.236 GB, free: 2.27 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.9562, allocations: 4 kB / 1.236 GB, free: 2.266 MB / 0.9512 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001141/0.9573, allocations: 0.6012 MB / 1.237 GB, free: 1.656 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.9574, allocations: 8 kB / 1.237 GB, free: 1.648 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.9574, allocations: 7.984 kB / 1.237 GB, free: 1.641 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006702/0.9581, allocations: 184.7 kB / 1.237 GB, free: 1.457 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003111/0.9584, allocations: 63.89 kB / 1.237 GB, free: 1.395 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002766/0.9612, allocations: 2.496 MB / 1.239 GB, free: 14.76 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000394/0.9616, allocations: 27.91 kB / 1.239 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.212e-05/0.9616, allocations: 16 kB / 1.239 GB, free: 14.71 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000174/0.9618, allocations: 165.5 kB / 1.24 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.802e-05/0.9619, allocations: 35.58 kB / 1.24 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005264/0.9624, allocations: 357.2 kB / 1.24 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.9624, allocations: 3.984 kB / 1.24 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.9624, allocations: 0 / 1.24 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001455/0.9626, allocations: 128.9 kB / 1.24 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.624e-05/0.9626, allocations: 7.938 kB / 1.24 GB, free: 14 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002512/0.9629, allocations: 15.98 kB / 1.24 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.168e-05/0.9629, allocations: 11.97 kB / 1.24 GB, free: 13.97 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009431/0.9639, allocations: 496.4 kB / 1.241 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007267/0.9646, allocations: 0.6957 MB / 1.241 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001928/0.9648, allocations: 153 kB / 1.241 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002096/0.965, allocations: 192.5 kB / 1.242 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of Backend: time 4.11e-07/0.965, allocations: 0 / 1.242 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00136/0.9664, allocations: 0.6217 MB / 1.242 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of SimCode: time 0.00134/0.9678, allocations: 1.189 MB / 1.243 GB, free: 10.56 MB / 0.9669 GB Notification: Performance of Templates: time 0.01156/0.9793, allocations: 6.28 MB / 1.249 GB, free: 4.305 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches