Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001528/0.001528, allocations: 114.8 kB / 16.42 MB, free: 6.496 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.001727/0.001727, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.557/1.557, allocations: 222.9 MB / 241.1 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 3.005/3.005, allocations: 437 MB / 0.7112 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001579/0.00158, allocations: 59.91 kB / 1.019 GB, free: 9.512 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.98/0.9816, allocations: 151.6 MB / 1.167 GB, free: 3.934 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.005289/0.9869, allocations: 3.274 MB / 1.17 GB, free: 0.6445 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00349/0.9904, allocations: 2.007 MB / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002148/0.9907, allocations: 11.88 kB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0009983/0.9917, allocations: 288 kB / 1.173 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0006285/0.9924, allocations: 235 kB / 1.173 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007399/0.9931, allocations: 299.2 kB / 1.173 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0005547/0.9937, allocations: 410.7 kB / 1.174 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003906/0.9941, allocations: 196.2 kB / 1.174 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002967/0.9944, allocations: 159.5 kB / 1.174 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004311/0.9948, allocations: 199.3 kB / 1.174 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 6.038e-05/0.9949, allocations: 24 kB / 1.174 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005198/0.9954, allocations: 259.5 kB / 1.174 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001573/0.9956, allocations: 123.6 kB / 1.175 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.000218/0.9958, allocations: 155.2 kB / 1.175 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0006957/0.9965, allocations: 488.3 kB / 1.175 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.9965, allocations: 3.938 kB / 1.175 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.413e-06/0.9965, allocations: 0 / 1.175 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.283e-05/0.9966, allocations: 0 / 1.175 GB, free: 11.83 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001234/0.9978, allocations: 0.6004 MB / 1.176 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.9979, allocations: 8.031 kB / 1.176 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001057/0.9989, allocations: 120.4 kB / 1.176 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004561/0.9994, allocations: 280.4 kB / 1.176 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/0.9994, allocations: 20.92 kB / 1.176 GB, free: 10.72 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001288/0.9996, allocations: 28.75 kB / 1.176 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008165/1, allocations: 465 kB / 1.177 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/1, allocations: 0 / 1.177 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.537e-05/1, allocations: 12 kB / 1.177 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001533/1.001, allocations: 40.53 kB / 1.177 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000656/1.001, allocations: 361.9 kB / 1.177 GB, free: 9.801 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002677/1.004, allocations: 2.222 MB / 1.179 GB, free: 7.383 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004229/1.004, allocations: 270.3 kB / 1.179 GB, free: 7.109 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002158/1.005, allocations: 164.7 kB / 1.18 GB, free: 6.945 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/1.005, allocations: 4 kB / 1.18 GB, free: 6.941 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/1.005, allocations: 34.56 kB / 1.18 GB, free: 6.898 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=22): time 3.697e-06/1.005, allocations: 4 kB / 1.18 GB, free: 6.895 MB / 0.9044 GB Notification: Performance of matching and sorting (n=23): time 0.001808/1.007, allocations: 1.053 MB / 1.181 GB, free: 5.773 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.936e-05/1.007, allocations: 55.41 kB / 1.181 GB, free: 5.707 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003169/1.007, allocations: 256.9 kB / 1.181 GB, free: 5.453 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.941e-05/1.007, allocations: 29.7 kB / 1.181 GB, free: 5.418 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/1.007, allocations: 191.8 kB / 1.181 GB, free: 5.223 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.59e-05/1.007, allocations: 82.81 kB / 1.181 GB, free: 5.141 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/1.007, allocations: 77.62 kB / 1.181 GB, free: 5.059 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000136/1.007, allocations: 334.8 kB / 1.182 GB, free: 4.723 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003038/1.008, allocations: 159.9 kB / 1.182 GB, free: 4.566 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000354/1.008, allocations: 241.5 kB / 1.182 GB, free: 4.297 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005962/1.009, allocations: 423.4 kB / 1.182 GB, free: 3.852 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/1.009, allocations: 0 / 1.182 GB, free: 3.852 MB / 0.9044 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001236/1.01, allocations: 0.5964 MB / 1.183 GB, free: 3.246 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/1.01, allocations: 6.5 kB / 1.183 GB, free: 3.242 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/1.01, allocations: 4 kB / 1.183 GB, free: 3.238 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007234/1.011, allocations: 192.8 kB / 1.183 GB, free: 3.047 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003426/1.011, allocations: 63.89 kB / 1.183 GB, free: 2.984 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00308/1.014, allocations: 2.498 MB / 1.186 GB, free: 352 kB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004135/1.015, allocations: 23.98 kB / 1.186 GB, free: 328 kB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.884e-05/1.015, allocations: 12.09 kB / 1.186 GB, free: 316 kB / 0.9044 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.0002074/1.015, allocations: 173.6 kB / 1.186 GB, free: 132 kB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.444e-05/1.015, allocations: 35.7 kB / 1.186 GB, free: 96 kB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006217/1.016, allocations: 349.8 kB / 1.186 GB, free: 15.75 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/1.016, allocations: 4 kB / 1.186 GB, free: 15.75 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/1.016, allocations: 3.938 kB / 1.186 GB, free: 15.74 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001922/1.016, allocations: 128.8 kB / 1.186 GB, free: 15.6 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.925e-05/1.016, allocations: 4 kB / 1.186 GB, free: 15.59 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000245/1.016, allocations: 15.98 kB / 1.186 GB, free: 15.58 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.041e-05/1.016, allocations: 15.97 kB / 1.186 GB, free: 15.56 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001037/1.017, allocations: 496.4 kB / 1.187 GB, free: 15.07 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008175/1.018, allocations: 0.7047 MB / 1.188 GB, free: 14.35 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002217/1.018, allocations: 151.9 kB / 1.188 GB, free: 14.2 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0002428/1.019, allocations: 188.5 kB / 1.188 GB, free: 14.02 MB / 0.92 GB Notification: Performance of Backend: time 9.32e-07/1.019, allocations: 0 / 1.188 GB, free: 14.02 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001498/1.02, allocations: 0.6142 MB / 1.189 GB, free: 13.38 MB / 0.92 GB Notification: Performance of SimCode: time 0.001569/1.022, allocations: 1.194 MB / 1.19 GB, free: 12.14 MB / 0.92 GB Notification: Performance of Templates: time 0.01325/1.035, allocations: 6.289 MB / 1.196 GB, free: 5.875 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches