Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.01134/0.01134, allocations: 101 kB / 15.73 MB, free: 6.035 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.002676/0.002676, allocations: 193.5 kB / 16.67 MB, free: 5.973 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.643/1.643, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.628/2.628, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 62.81 kB / 0.9508 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4306/0.4318, allocations: 140.4 MB / 1.088 GB, free: 1.504 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.009523/0.4414, allocations: 3.256 MB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005787/0.4473, allocations: 2.019 MB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002549/0.4476, allocations: 7.938 kB / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001405/0.449, allocations: 294.8 kB / 1.093 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0009822/0.45, allocations: 238.9 kB / 1.094 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001299/0.4514, allocations: 280 kB / 1.094 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0007506/0.4521, allocations: 414.7 kB / 1.094 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005254/0.4527, allocations: 200 kB / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003342/0.453, allocations: 163.4 kB / 1.095 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005348/0.4536, allocations: 199.3 kB / 1.095 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.182e-05/0.4536, allocations: 24 kB / 1.095 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006747/0.4543, allocations: 267.5 kB / 1.095 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002293/0.4546, allocations: 119.7 kB / 1.095 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002285/0.4548, allocations: 147.3 kB / 1.095 GB, free: 9.887 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0009352/0.4558, allocations: 0.4906 MB / 1.096 GB, free: 9.395 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.4558, allocations: 4 kB / 1.096 GB, free: 9.391 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.565e-06/0.4558, allocations: 0 / 1.096 GB, free: 9.391 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.137e-06/0.4558, allocations: 0 / 1.096 GB, free: 9.391 MB / 0.8575 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.001599/0.4574, allocations: 0.5888 MB / 1.096 GB, free: 8.754 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/0.4575, allocations: 8.031 kB / 1.096 GB, free: 8.746 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001624/0.4591, allocations: 120.4 kB / 1.097 GB, free: 8.629 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004369/0.4596, allocations: 284.4 kB / 1.097 GB, free: 8.309 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/0.4596, allocations: 16.92 kB / 1.097 GB, free: 8.293 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001327/0.4598, allocations: 36.73 kB / 1.097 GB, free: 8.258 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007387/0.4605, allocations: 457 kB / 1.097 GB, free: 7.773 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.4605, allocations: 0 / 1.097 GB, free: 7.773 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.785e-05/0.4606, allocations: 15.98 kB / 1.097 GB, free: 7.758 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000141/0.4607, allocations: 36.53 kB / 1.097 GB, free: 7.723 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006015/0.4613, allocations: 369.8 kB / 1.098 GB, free: 7.359 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002622/0.464, allocations: 2.218 MB / 1.1 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004429/0.4644, allocations: 266.4 kB / 1.1 GB, free: 4.676 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002122/0.4647, allocations: 164.8 kB / 1.1 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.814e-05/0.4647, allocations: 4 kB / 1.1 GB, free: 4.508 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.018e-05/0.4647, allocations: 38.5 kB / 1.1 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=22): time 1.953e-06/0.4647, allocations: 4 kB / 1.1 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of matching and sorting (n=23): time 0.001826/0.4666, allocations: 1.05 MB / 1.101 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.717e-05/0.4666, allocations: 51.41 kB / 1.101 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003129/0.467, allocations: 272.8 kB / 1.102 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/0.467, allocations: 25.7 kB / 1.102 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001269/0.4671, allocations: 192 kB / 1.102 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.112e-05/0.4672, allocations: 78.84 kB / 1.102 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001403/0.4673, allocations: 77.59 kB / 1.102 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.4675, allocations: 334.8 kB / 1.102 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002785/0.4678, allocations: 151.9 kB / 1.102 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003359/0.4681, allocations: 253.5 kB / 1.103 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005656/0.4687, allocations: 406.9 kB / 1.103 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.4687, allocations: 0 / 1.103 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00114/0.4698, allocations: 0.608 MB / 1.104 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.4699, allocations: 4 kB / 1.104 GB, free: 0.8047 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.4699, allocations: 4 kB / 1.104 GB, free: 0.8008 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006747/0.4706, allocations: 188.7 kB / 1.104 GB, free: 0.6133 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003214/0.4709, allocations: 71.83 kB / 1.104 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002909/0.4738, allocations: 2.488 MB / 1.106 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003729/0.4742, allocations: 19.97 kB / 1.106 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.932e-05/0.4743, allocations: 16 kB / 1.106 GB, free: 13.88 MB / 0.8731 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.000189/0.4744, allocations: 161.8 kB / 1.107 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.007e-05/0.4745, allocations: 31.72 kB / 1.107 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005498/0.4751, allocations: 353.7 kB / 1.107 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.4751, allocations: 4 kB / 1.107 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.4751, allocations: 0 / 1.107 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.4751, allocations: 3.984 kB / 1.107 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001086/0.4762, allocations: 0.816 MB / 1.108 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.4762, allocations: 4 kB / 1.108 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000383/0.4766, allocations: 79.94 kB / 1.108 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.4766, allocations: 4 kB / 1.108 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.287e-05/0.4766, allocations: 7.984 kB / 1.108 GB, free: 12.35 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.4766, allocations: 4 kB / 1.108 GB, free: 12.35 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.4767, allocations: 0 / 1.108 GB, free: 12.35 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007232/0.4774, allocations: 0.6141 MB / 1.108 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001346/0.4775, allocations: 132.8 kB / 1.109 GB, free: 11.56 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.058e-05/0.4776, allocations: 11.98 kB / 1.109 GB, free: 11.55 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002236/0.4778, allocations: 15.98 kB / 1.109 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.862e-05/0.4779, allocations: 15.92 kB / 1.109 GB, free: 11.52 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.4779, allocations: 8 kB / 1.109 GB, free: 11.51 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002214/0.4781, allocations: 184.5 kB / 1.109 GB, free: 11.34 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4781, allocations: 0 / 1.109 GB, free: 11.34 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004177/0.4785, allocations: 88 kB / 1.109 GB, free: 11.25 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001831/0.4787, allocations: 123.2 kB / 1.109 GB, free: 11.12 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0009594/0.4797, allocations: 0.5361 MB / 1.109 GB, free: 10.57 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.4797, allocations: 3.938 kB / 1.109 GB, free: 10.57 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002084/0.4799, allocations: 154 kB / 1.11 GB, free: 10.42 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004294/0.4804, allocations: 61.08 kB / 1.11 GB, free: 10.36 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001431/0.4818, allocations: 0.8215 MB / 1.11 GB, free: 9.508 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000387/0.4822, allocations: 0.7912 MB / 1.111 GB, free: 8.691 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002166/0.4824, allocations: 74.91 kB / 1.111 GB, free: 8.621 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.212e-05/0.4825, allocations: 31.42 kB / 1.111 GB, free: 8.59 MB / 0.8731 GB Notification: Performance of SimCode: time 4.41e-07/0.4825, allocations: 4 kB / 1.111 GB, free: 8.586 MB / 0.8731 GB Notification: Performance of Templates: time 0.00803/0.4906, allocations: 4.201 MB / 1.115 GB, free: 4.406 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches