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.001071/0.001071, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.001198/0.001198, allocations: 169 kB / 23.82 MB, free: 0.7422 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.9426/0.9426, allocations: 177.1 MB / 204.2 MB, free: 5.25 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.747/1.747, allocations: 377.8 MB / 0.6236 GB, free: 8.555 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.522e-06/1.522e-06, allocations: 0 / 0.8115 GB, free: 1.734 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.578e-05/2.73e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.003347/0.003375, allocations: 2.688 MB / 0.8141 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001969/0.005344, allocations: 1.47 MB / 0.8156 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001473/0.005491, allocations: 7.938 kB / 0.8156 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0004892/0.005981, allocations: 111.8 kB / 0.8157 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0004056/0.006386, allocations: 196.2 kB / 0.8159 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005185/0.006905, allocations: 258 kB / 0.8161 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0004336/0.007338, allocations: 424.5 kB / 0.8165 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003149/0.007653, allocations: 168.2 kB / 0.8167 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003098/0.007963, allocations: 227.5 kB / 0.8169 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003072/0.00827, allocations: 188.9 kB / 0.8171 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.662e-05/0.008307, allocations: 24 kB / 0.8171 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002691/0.008576, allocations: 171.6 kB / 0.8173 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.008689, allocations: 127.6 kB / 0.8174 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 9.045e-05/0.00878, allocations: 108.9 kB / 0.8175 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004201/0.0092, allocations: 350.9 kB / 0.8178 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.009203, allocations: 0 / 0.8178 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.202e-06/0.009204, allocations: 0.5312 kB / 0.8178 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.795e-06/0.009212, allocations: 0.5312 kB / 0.8178 GB, free: 11.27 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.0007345/0.009947, allocations: 0.626 MB / 0.8185 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.009984, allocations: 8.031 kB / 0.8185 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000603/0.01059, allocations: 158.4 kB / 0.8186 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002872/0.01087, allocations: 231.1 kB / 0.8188 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.01089, allocations: 16.88 kB / 0.8188 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.805e-05/0.01098, allocations: 45.44 kB / 0.8189 GB, free: 10.13 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004647/0.01145, allocations: 414.2 kB / 0.8193 GB, free: 9.664 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.01146, allocations: 8.078 kB / 0.8193 GB, free: 9.656 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.869e-05/0.01149, allocations: 20.77 kB / 0.8193 GB, free: 9.637 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.218e-05/0.01157, allocations: 40.47 kB / 0.8194 GB, free: 9.598 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002381/0.01181, allocations: 156 kB / 0.8195 GB, free: 9.449 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001564/0.01337, allocations: 1.825 MB / 0.8213 GB, free: 7.551 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002349/0.01361, allocations: 165.6 kB / 0.8214 GB, free: 7.379 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.638e-05/0.01369, allocations: 64.69 kB / 0.8215 GB, free: 7.312 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.01371, allocations: 4 kB / 0.8215 GB, free: 7.309 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.01374, allocations: 44.7 kB / 0.8216 GB, free: 7.258 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=22): time 2.866e-06/0.01374, allocations: 0 / 0.8216 GB, free: 7.258 MB / 0.7761 GB Notification: Performance of matching and sorting (n=23): time 0.001009/0.01475, allocations: 0.5548 MB / 0.8221 GB, free: 6.672 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/0.01479, allocations: 59.84 kB / 0.8221 GB, free: 6.602 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003445/0.01513, allocations: 291.6 kB / 0.8224 GB, free: 6.301 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.01515, allocations: 25.7 kB / 0.8225 GB, free: 6.27 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.783e-05/0.01525, allocations: 243 kB / 0.8227 GB, free: 6.027 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.176e-05/0.0153, allocations: 92.34 kB / 0.8228 GB, free: 5.938 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.587e-05/0.0154, allocations: 83.3 kB / 0.8229 GB, free: 5.848 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.01551, allocations: 0.5046 MB / 0.8233 GB, free: 5.332 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.01562, allocations: 59.97 kB / 0.8234 GB, free: 5.273 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001501/0.01577, allocations: 184.5 kB / 0.8236 GB, free: 5.047 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002589/0.01603, allocations: 262.2 kB / 0.8238 GB, free: 4.75 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.01603, allocations: 4 kB / 0.8238 GB, free: 4.746 MB / 0.7761 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005876/0.01662, allocations: 385.7 kB / 0.8242 GB, free: 4.363 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.01664, allocations: 8 kB / 0.8242 GB, free: 4.355 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.01664, allocations: 1.031 kB / 0.8242 GB, free: 4.355 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005973/0.01724, allocations: 199.2 kB / 0.8244 GB, free: 4.164 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001859/0.01743, allocations: 60.39 kB / 0.8245 GB, free: 4.105 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001892/0.01932, allocations: 2.196 MB / 0.8266 GB, free: 1.789 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001767/0.0195, allocations: 27.97 kB / 0.8266 GB, free: 1.762 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.389e-05/0.01952, allocations: 8 kB / 0.8266 GB, free: 1.754 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.000116/0.01964, allocations: 176.5 kB / 0.8268 GB, free: 1.57 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.43e-05/0.01968, allocations: 27.89 kB / 0.8268 GB, free: 1.543 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002758/0.01996, allocations: 211.4 kB / 0.827 GB, free: 1.328 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.01996, allocations: 4 kB / 0.827 GB, free: 1.324 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.01996, allocations: 3.938 kB / 0.827 GB, free: 1.32 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.01997, allocations: 3.984 kB / 0.827 GB, free: 1.316 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005686/0.02054, allocations: 0.5708 MB / 0.8276 GB, free: 0.6953 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.02054, allocations: 0 / 0.8276 GB, free: 0.6953 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002068/0.02075, allocations: 75.88 kB / 0.8277 GB, free: 0.6211 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.02075, allocations: 0 / 0.8277 GB, free: 0.6211 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.883e-05/0.02077, allocations: 11.94 kB / 0.8277 GB, free: 0.6094 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.02077, allocations: 8.047 kB / 0.8277 GB, free: 0.6016 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.02078, allocations: 4 kB / 0.8277 GB, free: 0.5977 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003665/0.02114, allocations: 418.2 kB / 0.8281 GB, free: 168 kB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.96e-05/0.02121, allocations: 51.81 kB / 0.8281 GB, free: 116 kB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.515e-05/0.02124, allocations: 7.938 kB / 0.8281 GB, free: 108 kB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.02134, allocations: 15.98 kB / 0.8282 GB, free: 92 kB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.24e-05/0.02137, allocations: 15.97 kB / 0.8282 GB, free: 76 kB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.02138, allocations: 8 kB / 0.8282 GB, free: 68 kB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001427/0.02153, allocations: 195.9 kB / 0.8284 GB, free: 15.88 MB / 0.7917 GB Notification: Performance of sort global known variables: time 9.1e-08/0.02153, allocations: 8 kB / 0.8284 GB, free: 15.87 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0003062/0.02183, allocations: 91.94 kB / 0.8285 GB, free: 15.78 MB / 0.7917 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.0001564/0.02199, allocations: 107.2 kB / 0.8286 GB, free: 15.66 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0005715/0.02256, allocations: 439.7 kB / 0.829 GB, free: 15.21 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.02256, allocations: 0 / 0.829 GB, free: 15.21 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 8.828e-05/0.02265, allocations: 83.52 kB / 0.8291 GB, free: 15.13 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002962/0.02295, allocations: 52.11 kB / 0.8291 GB, free: 15.08 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/0.02417, allocations: 0.713 MB / 0.8298 GB, free: 14.33 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.262e-05/0.02425, allocations: 108.3 kB / 0.8299 GB, free: 14.2 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001357/0.02439, allocations: 58.23 kB / 0.83 GB, free: 14.15 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.726e-05/0.02445, allocations: 24.48 kB / 0.83 GB, free: 14.12 MB / 0.7917 GB Notification: Performance of SimCode: time 1.563e-06/0.02446, allocations: 0 / 0.83 GB, free: 14.12 MB / 0.7917 GB Notification: Performance of Templates: time 0.007323/0.03178, allocations: 4.374 MB / 0.8343 GB, free: 9.809 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: 4.944565425626934]