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.0009564/0.0009564, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.0009911/0.0009911, allocations: 181.3 kB / 24.09 MB, free: 416 kB / 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.934/0.934, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.8/1.8, allocations: 377.9 MB / 0.624 GB, free: 8.414 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.603e-06/1.603e-06, allocations: 3.938 kB / 0.812 GB, free: 1.449 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.091e-05/2.251e-05, allocations: 3.375 kB / 0.812 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.003377/0.003399, allocations: 2.655 MB / 0.8146 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002329/0.005729, allocations: 1.458 MB / 0.816 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001407/0.005869, allocations: 13.34 kB / 0.816 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0005032/0.006372, allocations: 103.4 kB / 0.8161 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003374/0.00671, allocations: 195.9 kB / 0.8163 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004183/0.007128, allocations: 267.3 kB / 0.8166 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003702/0.007498, allocations: 418.6 kB / 0.817 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002866/0.007785, allocations: 164.2 kB / 0.8171 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002895/0.008074, allocations: 227.5 kB / 0.8174 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002811/0.008355, allocations: 188.6 kB / 0.8175 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.435e-05/0.00839, allocations: 24 kB / 0.8176 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002239/0.008614, allocations: 176.5 kB / 0.8177 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001084/0.008722, allocations: 127.7 kB / 0.8178 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 8.802e-05/0.00881, allocations: 104.5 kB / 0.8179 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005805/0.009391, allocations: 354.8 kB / 0.8183 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.009394, allocations: 4.812 kB / 0.8183 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.533e-06/0.009395, allocations: 3.938 kB / 0.8183 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.009401, allocations: 0 / 0.8183 GB, free: 11.01 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.0006791/0.01008, allocations: 0.6184 MB / 0.8189 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.01012, allocations: 13.23 kB / 0.8189 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005238/0.01065, allocations: 145.5 kB / 0.8191 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002257/0.01087, allocations: 217.8 kB / 0.8193 GB, free: 9.961 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/0.01089, allocations: 22.69 kB / 0.8193 GB, free: 9.941 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.783e-05/0.01097, allocations: 32.73 kB / 0.8193 GB, free: 9.91 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003343/0.0113, allocations: 393.2 kB / 0.8197 GB, free: 9.457 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.01131, allocations: 4.141 kB / 0.8197 GB, free: 9.453 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.247e-05/0.01134, allocations: 17.47 kB / 0.8197 GB, free: 9.438 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.327e-05/0.01141, allocations: 40.47 kB / 0.8197 GB, free: 9.398 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001581/0.01157, allocations: 123.8 kB / 0.8199 GB, free: 9.281 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001197/0.01276, allocations: 1.776 MB / 0.8216 GB, free: 7.441 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001566/0.01292, allocations: 138.8 kB / 0.8217 GB, free: 7.293 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.808e-05/0.01298, allocations: 51.67 kB / 0.8218 GB, free: 7.238 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/0.013, allocations: 7.984 kB / 0.8218 GB, free: 7.23 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.01302, allocations: 42.02 kB / 0.8218 GB, free: 7.18 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=22): time 1.332e-06/0.01302, allocations: 0 / 0.8218 GB, free: 7.18 MB / 0.7761 GB Notification: Performance of matching and sorting (n=23): time 0.0006976/0.01372, allocations: 484.4 kB / 0.8223 GB, free: 6.676 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.384e-05/0.01374, allocations: 60.2 kB / 0.8223 GB, free: 6.605 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001615/0.0139, allocations: 287.1 kB / 0.8226 GB, free: 6.309 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.01392, allocations: 33.7 kB / 0.8227 GB, free: 6.27 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.601e-05/0.01401, allocations: 240.4 kB / 0.8229 GB, free: 6.031 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.383e-05/0.01405, allocations: 91.19 kB / 0.823 GB, free: 5.941 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.344e-05/0.01413, allocations: 87.27 kB / 0.8231 GB, free: 5.848 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.01425, allocations: 0.504 MB / 0.8235 GB, free: 5.332 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.434e-05/0.01431, allocations: 56.7 kB / 0.8236 GB, free: 5.277 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/0.01443, allocations: 164.2 kB / 0.8238 GB, free: 5.07 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000188/0.01462, allocations: 238.8 kB / 0.824 GB, free: 4.797 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.01462, allocations: 0 / 0.824 GB, free: 4.797 MB / 0.7761 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004615/0.01508, allocations: 360.6 kB / 0.8243 GB, free: 4.438 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.0151, allocations: 8.5 kB / 0.8243 GB, free: 4.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.0151, allocations: 0.625 kB / 0.8243 GB, free: 4.43 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005136/0.01562, allocations: 185.1 kB / 0.8245 GB, free: 4.254 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001401/0.01576, allocations: 55.91 kB / 0.8246 GB, free: 4.199 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001676/0.01743, allocations: 2.131 MB / 0.8266 GB, free: 1.957 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001582/0.01759, allocations: 20.98 kB / 0.8267 GB, free: 1.938 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.594e-05/0.01761, allocations: 12 kB / 0.8267 GB, free: 1.926 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.0001026/0.01771, allocations: 172.1 kB / 0.8268 GB, free: 1.75 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.153e-05/0.01775, allocations: 39.73 kB / 0.8269 GB, free: 1.711 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002101/0.01796, allocations: 190.3 kB / 0.8271 GB, free: 1.52 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.01796, allocations: 0 / 0.8271 GB, free: 1.52 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-06/0.01796, allocations: 0 / 0.8271 GB, free: 1.52 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.01797, allocations: 7.984 kB / 0.8271 GB, free: 1.512 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004574/0.01843, allocations: 0.5127 MB / 0.8276 GB, free: 0.957 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.01843, allocations: 0.7188 kB / 0.8276 GB, free: 0.957 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001854/0.01861, allocations: 69.55 kB / 0.8276 GB, free: 0.8906 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.01862, allocations: 0 / 0.8276 GB, free: 0.8906 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.01863, allocations: 8 kB / 0.8276 GB, free: 0.8828 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.01863, allocations: 0 / 0.8276 GB, free: 0.8828 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.01863, allocations: 4.406 kB / 0.8276 GB, free: 0.8789 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002771/0.01891, allocations: 392.2 kB / 0.828 GB, free: 480 kB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.001e-05/0.01897, allocations: 55.8 kB / 0.8281 GB, free: 424 kB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.24e-05/0.01899, allocations: 4 kB / 0.8281 GB, free: 420 kB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.03e-05/0.01908, allocations: 8 kB / 0.8281 GB, free: 412 kB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.624e-05/0.01911, allocations: 19.91 kB / 0.8281 GB, free: 392 kB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.01912, allocations: 8 kB / 0.8281 GB, free: 384 kB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.415e-05/0.0192, allocations: 180 kB / 0.8283 GB, free: 204 kB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.0192, allocations: 0 / 0.8283 GB, free: 204 kB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002558/0.01946, allocations: 92 kB / 0.8284 GB, free: 112 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.0001315/0.01959, allocations: 113.8 kB / 0.8285 GB, free: 15.99 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0004056/0.02, allocations: 405 kB / 0.8289 GB, free: 15.57 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.02, allocations: 4.625 kB / 0.8289 GB, free: 15.57 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 7.289e-05/0.02007, allocations: 83.45 kB / 0.829 GB, free: 15.48 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002834/0.02036, allocations: 68.7 kB / 0.829 GB, free: 15.42 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009932/0.02135, allocations: 0.6932 MB / 0.8297 GB, free: 14.69 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.575e-05/0.02141, allocations: 120.2 kB / 0.8298 GB, free: 14.55 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 9.05e-05/0.02151, allocations: 30.28 kB / 0.8298 GB, free: 14.52 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001283/0.02163, allocations: 118.2 kB / 0.83 GB, free: 14.41 MB / 0.7917 GB Notification: Performance of SimCode: time 8.92e-07/0.02163, allocations: 0 / 0.83 GB, free: 14.41 MB / 0.7917 GB Notification: Performance of Templates: time 0.006031/0.02767, allocations: 4.449 MB / 0.8343 GB, free: 10.01 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.033061932772398]