Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008974/0.0008974, allocations: 80.39 kB / 21.47 MB, free: 3.031 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009556/0.0009556, allocations: 171.1 kB / 24.87 MB, free: 9.258 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9357/0.9357, allocations: 177.1 MB / 205.3 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.785/1.785, allocations: 377.9 MB / 0.6247 GB, free: 8.441 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dynRC.i.[0-9,]+.|dynRL.i.[0-9,]+.|dynRC.v.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dynRC.i.[0-9,]+.|dynRL.i.[0-9,]+.|dynRC.v.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 0.8128 GB, free: 1.484 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.22e-05/1.341e-05, allocations: 3.625 kB / 0.8128 GB, free: 1.48 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.002965/0.002979, allocations: 2.657 MB / 0.8154 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001816/0.004794, allocations: 1.459 MB / 0.8168 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001421/0.004937, allocations: 7.938 kB / 0.8168 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0003909/0.005328, allocations: 103.4 kB / 0.8169 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003495/0.005677, allocations: 200.5 kB / 0.8171 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004768/0.006154, allocations: 261.7 kB / 0.8173 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003652/0.006519, allocations: 422.6 kB / 0.8177 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002455/0.006765, allocations: 166 kB / 0.8179 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002639/0.007028, allocations: 223.5 kB / 0.8181 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002655/0.007294, allocations: 191.5 kB / 0.8183 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.331e-05/0.007327, allocations: 25.19 kB / 0.8183 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002383/0.007565, allocations: 171.6 kB / 0.8185 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 9.827e-05/0.007664, allocations: 123.7 kB / 0.8186 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 8.097e-05/0.007745, allocations: 109.5 kB / 0.8187 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000355/0.0081, allocations: 358.8 kB / 0.8191 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.008103, allocations: 7.938 kB / 0.8191 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.81e-07/0.008103, allocations: 0 / 0.8191 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.008108, allocations: 0 / 0.8191 GB, free: 11.04 MB / 0.7761 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.0006191/0.008727, allocations: 0.6116 MB / 0.8197 GB, free: 10.4 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 2.818e-05/0.008755, allocations: 12.03 kB / 0.8197 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005506/0.009306, allocations: 151 kB / 0.8198 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002482/0.009554, allocations: 216.8 kB / 0.82 GB, free: 10 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.00957, allocations: 20.84 kB / 0.82 GB, free: 9.98 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.428e-05/0.009645, allocations: 28.75 kB / 0.8201 GB, free: 9.953 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003618/0.01001, allocations: 406.5 kB / 0.8205 GB, free: 9.488 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.01002, allocations: 8.078 kB / 0.8205 GB, free: 9.48 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.27e-05/0.01005, allocations: 13.06 kB / 0.8205 GB, free: 9.469 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.827e-05/0.01012, allocations: 40.45 kB / 0.8205 GB, free: 9.43 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001712/0.0103, allocations: 128.6 kB / 0.8206 GB, free: 9.309 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001446/0.01174, allocations: 1.767 MB / 0.8224 GB, free: 7.477 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001761/0.01192, allocations: 131.6 kB / 0.8225 GB, free: 7.336 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.255e-05/0.01198, allocations: 62.11 kB / 0.8225 GB, free: 7.273 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/0.012, allocations: 4 kB / 0.8226 GB, free: 7.27 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.01201, allocations: 37.39 kB / 0.8226 GB, free: 7.223 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=22): time 1.433e-06/0.01202, allocations: 0 / 0.8226 GB, free: 7.223 MB / 0.7761 GB Notification: Performance of matching and sorting (n=23): time 0.0007262/0.01274, allocations: 492.2 kB / 0.8231 GB, free: 6.711 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.664e-05/0.01277, allocations: 59.34 kB / 0.8231 GB, free: 6.641 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001749/0.01294, allocations: 291.3 kB / 0.8234 GB, free: 6.34 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.01296, allocations: 29.7 kB / 0.8234 GB, free: 6.305 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.677e-05/0.01305, allocations: 239 kB / 0.8236 GB, free: 6.066 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.852e-05/0.0131, allocations: 91.98 kB / 0.8237 GB, free: 5.977 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.807e-05/0.01319, allocations: 83.27 kB / 0.8238 GB, free: 5.887 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.0133, allocations: 0.5136 MB / 0.8243 GB, free: 5.363 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.032e-05/0.01337, allocations: 51.89 kB / 0.8244 GB, free: 5.312 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001214/0.01349, allocations: 162.2 kB / 0.8245 GB, free: 5.105 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002028/0.0137, allocations: 233 kB / 0.8247 GB, free: 4.84 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.0137, allocations: 3.938 kB / 0.8247 GB, free: 4.836 MB / 0.7761 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004877/0.01419, allocations: 360.9 kB / 0.8251 GB, free: 4.477 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.0142, allocations: 4 kB / 0.8251 GB, free: 4.473 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.0142, allocations: 4 kB / 0.8251 GB, free: 4.469 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005501/0.01475, allocations: 186.9 kB / 0.8253 GB, free: 4.289 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001519/0.01491, allocations: 55.91 kB / 0.8253 GB, free: 4.234 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001373/0.01628, allocations: 2.135 MB / 0.8274 GB, free: 1.984 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001584/0.01644, allocations: 23.94 kB / 0.8274 GB, free: 1.961 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.91e-05/0.01646, allocations: 11.98 kB / 0.8275 GB, free: 1.949 MB / 0.7761 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.0001043/0.01656, allocations: 172.6 kB / 0.8276 GB, free: 1.77 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.561e-05/0.01661, allocations: 31.8 kB / 0.8276 GB, free: 1.738 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002273/0.01683, allocations: 194.3 kB / 0.8278 GB, free: 1.543 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.01684, allocations: 4 kB / 0.8278 GB, free: 1.539 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.01684, allocations: 0 / 0.8278 GB, free: 1.539 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.01684, allocations: 0 / 0.8278 GB, free: 1.539 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004844/0.01733, allocations: 0.5165 MB / 0.8283 GB, free: 0.9805 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.01733, allocations: 3.984 kB / 0.8283 GB, free: 0.9766 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001948/0.01752, allocations: 63.95 kB / 0.8284 GB, free: 0.9141 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.01753, allocations: 4 kB / 0.8284 GB, free: 0.9102 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.01754, allocations: 4 kB / 0.8284 GB, free: 0.9062 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.01754, allocations: 4 kB / 0.8284 GB, free: 0.9023 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.01755, allocations: 4.062 kB / 0.8284 GB, free: 0.8984 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002957/0.01784, allocations: 392.2 kB / 0.8288 GB, free: 500 kB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.042e-05/0.0179, allocations: 39.83 kB / 0.8288 GB, free: 460 kB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001713/0.01807, allocations: 11.98 kB / 0.8288 GB, free: 448 kB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.874e-05/0.01817, allocations: 4 kB / 0.8288 GB, free: 444 kB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.565e-05/0.0182, allocations: 19.91 kB / 0.8289 GB, free: 424 kB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.01821, allocations: 8 kB / 0.8289 GB, free: 416 kB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.676e-05/0.01829, allocations: 188 kB / 0.8291 GB, free: 228 kB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01829, allocations: 0 / 0.8291 GB, free: 228 kB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002671/0.01856, allocations: 92 kB / 0.8291 GB, free: 136 kB / 0.7761 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.0001154/0.01868, allocations: 107.2 kB / 0.8292 GB, free: 20 kB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004377/0.01911, allocations: 413.5 kB / 0.8296 GB, free: 15.59 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01912, allocations: 4.062 kB / 0.8296 GB, free: 15.59 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 7.376e-05/0.01919, allocations: 75.52 kB / 0.8297 GB, free: 15.51 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002755/0.01947, allocations: 64.89 kB / 0.8298 GB, free: 15.45 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009889/0.02045, allocations: 0.701 MB / 0.8305 GB, free: 14.71 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.366e-05/0.02053, allocations: 124.2 kB / 0.8306 GB, free: 14.57 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001036/0.02063, allocations: 30.28 kB / 0.8306 GB, free: 14.54 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001346/0.02077, allocations: 114.2 kB / 0.8307 GB, free: 14.43 MB / 0.7917 GB Notification: Performance of SimCode: time 1.072e-06/0.02077, allocations: 0 / 0.8307 GB, free: 14.43 MB / 0.7917 GB Notification: Performance of Templates: time 0.00597/0.02674, allocations: 4.538 MB / 0.8351 GB, free: 9.949 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.005160287953913]