Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001799/0.001799, allocations: 77.55 kB / 19.76 MB, free: 2.027 MB / 14.72 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.00221/0.00221, allocations: 160.6 kB / 23.01 MB, free: 4.949 MB / 14.72 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 1.411/1.411, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.873/2.873, allocations: 394.2 MB / 0.6386 GB, free: 11.9 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.1.|dynRC.i.2.|dynRL.i.1.|dynRL.i.2.|dynRC.v.1.|dynRC.v.2.",fileNamePrefix="Buildings_latest_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.1.|dynRC.i.2.|dynRL.i.1.|dynRL.i.2.|dynRC.v.1.|dynRC.v.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002087/0.002087, allocations: 71.88 kB / 1.009 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7446/0.7467, allocations: 181.8 MB / 1.187 GB, free: 16.19 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004002/0.7507, allocations: 3.251 MB / 1.19 GB, free: 14.09 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.002682/0.7533, allocations: 1.978 MB / 1.192 GB, free: 12.84 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001157/0.7535, allocations: 12.97 kB / 1.192 GB, free: 12.84 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0008461/0.7543, allocations: 286.7 kB / 1.192 GB, free: 12.68 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0004226/0.7547, allocations: 248.3 kB / 1.192 GB, free: 12.54 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005413/0.7553, allocations: 287 kB / 1.192 GB, free: 12.41 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0004062/0.7557, allocations: 413.8 kB / 1.193 GB, free: 12.23 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002864/0.756, allocations: 170.2 kB / 1.193 GB, free: 12.15 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002292/0.7562, allocations: 173.7 kB / 1.193 GB, free: 12.08 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000334/0.7565, allocations: 196.6 kB / 1.193 GB, free: 12.02 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.767e-05/0.7566, allocations: 24.12 kB / 1.193 GB, free: 12.02 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003664/0.7569, allocations: 248.9 kB / 1.194 GB, free: 11.94 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001247/0.7571, allocations: 121.1 kB / 1.194 GB, free: 11.89 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001317/0.7572, allocations: 123.6 kB / 1.194 GB, free: 11.83 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0005782/0.7578, allocations: 498.9 kB / 1.194 GB, free: 11.67 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.7578, allocations: 0 / 1.194 GB, free: 11.67 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.223e-06/0.7578, allocations: 4 kB / 1.194 GB, free: 11.67 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.286e-05/0.7578, allocations: 0 / 1.194 GB, free: 11.67 MB / 1.076 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.000907/0.7587, allocations: 0.5235 MB / 1.195 GB, free: 11.26 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 2.972e-05/0.7587, allocations: 9.781 kB / 1.195 GB, free: 11.26 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009979/0.7597, allocations: 120.3 kB / 1.195 GB, free: 11.24 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003227/0.76, allocations: 227.1 kB / 1.195 GB, free: 11.05 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.7601, allocations: 14.69 kB / 1.195 GB, free: 11.05 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001235/0.7602, allocations: 39.08 kB / 1.195 GB, free: 11.03 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006856/0.7609, allocations: 0.5214 MB / 1.196 GB, free: 10.71 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.7609, allocations: 1.375 kB / 1.196 GB, free: 10.71 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.779e-05/0.7609, allocations: 10.98 kB / 1.196 GB, free: 10.7 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001449/0.7611, allocations: 44.64 kB / 1.196 GB, free: 10.7 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006204/0.7617, allocations: 368.2 kB / 1.196 GB, free: 10.57 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002001/0.7637, allocations: 1.591 MB / 1.198 GB, free: 9.41 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000397/0.7641, allocations: 244.4 kB / 1.198 GB, free: 9.309 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001966/0.7643, allocations: 146 kB / 1.198 GB, free: 9.254 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.7643, allocations: 1.875 kB / 1.198 GB, free: 9.254 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.378e-05/0.7643, allocations: 36.81 kB / 1.198 GB, free: 9.211 MB / 1.076 GB Notification: Performance of pre-optimization done (n=22): time 1.373e-06/0.7643, allocations: 0 / 1.198 GB, free: 9.211 MB / 1.076 GB Notification: Performance of matching and sorting (n=23): time 0.001616/0.7659, allocations: 0.9121 MB / 1.199 GB, free: 8.754 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.798e-05/0.7659, allocations: 53.98 kB / 1.199 GB, free: 8.691 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002655/0.7662, allocations: 254.7 kB / 1.199 GB, free: 8.531 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.7662, allocations: 27.38 kB / 1.199 GB, free: 8.5 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 7.757e-05/0.7663, allocations: 203.7 kB / 1.2 GB, free: 8.32 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.926e-05/0.7664, allocations: 82.75 kB / 1.2 GB, free: 8.258 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001202/0.7665, allocations: 78.03 kB / 1.2 GB, free: 8.215 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.902e-05/0.7665, allocations: 335.6 kB / 1.2 GB, free: 7.891 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002844/0.7668, allocations: 160.6 kB / 1.2 GB, free: 7.836 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003126/0.7671, allocations: 238.2 kB / 1.2 GB, free: 7.688 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005268/0.7677, allocations: 410.8 kB / 1.201 GB, free: 7.457 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.7677, allocations: 1.188 kB / 1.201 GB, free: 7.457 MB / 1.076 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001148/0.7688, allocations: 0.5922 MB / 1.201 GB, free: 7.219 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.7688, allocations: 9.375 kB / 1.201 GB, free: 7.219 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.7688, allocations: 1.594 kB / 1.201 GB, free: 7.219 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006903/0.7695, allocations: 192.8 kB / 1.202 GB, free: 7.172 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003271/0.7698, allocations: 63.12 kB / 1.202 GB, free: 7.168 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002426/0.7723, allocations: 2.351 MB / 1.204 GB, free: 5.516 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004039/0.7727, allocations: 31.05 kB / 1.204 GB, free: 5.504 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.291e-05/0.7727, allocations: 16.02 kB / 1.204 GB, free: 5.5 MB / 1.076 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.0001283/0.7728, allocations: 163.4 kB / 1.204 GB, free: 5.359 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.865e-05/0.7729, allocations: 27.66 kB / 1.204 GB, free: 5.344 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005267/0.7734, allocations: 354.6 kB / 1.205 GB, free: 5.188 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.7734, allocations: 2.375 kB / 1.205 GB, free: 5.188 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.7734, allocations: 0 / 1.205 GB, free: 5.188 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.7734, allocations: 3.172 kB / 1.205 GB, free: 5.188 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009205/0.7743, allocations: 0.7068 MB / 1.205 GB, free: 4.77 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.7744, allocations: 4.547 kB / 1.205 GB, free: 4.766 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004148/0.7748, allocations: 74.38 kB / 1.205 GB, free: 4.762 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.165e-06/0.7748, allocations: 1.375 kB / 1.205 GB, free: 4.762 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.256e-05/0.7748, allocations: 7.828 kB / 1.205 GB, free: 4.758 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.7748, allocations: 2.422 kB / 1.205 GB, free: 4.758 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.7748, allocations: 1.031 kB / 1.205 GB, free: 4.758 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006737/0.7755, allocations: 0.6215 MB / 1.206 GB, free: 4.422 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/0.7756, allocations: 51.36 kB / 1.206 GB, free: 4.398 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.258e-05/0.7756, allocations: 9.328 kB / 1.206 GB, free: 4.395 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002557/0.7759, allocations: 14.36 kB / 1.206 GB, free: 4.391 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.528e-05/0.7759, allocations: 17.34 kB / 1.206 GB, free: 4.387 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.821e-05/0.776, allocations: 5.891 kB / 1.206 GB, free: 4.387 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001883/0.7761, allocations: 181.3 kB / 1.206 GB, free: 4.277 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.7761, allocations: 0 / 1.206 GB, free: 4.277 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000422/0.7766, allocations: 84.94 kB / 1.206 GB, free: 4.27 MB / 1.076 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.000115/0.7767, allocations: 112.2 kB / 1.206 GB, free: 4.172 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0008629/0.7775, allocations: 0.517 MB / 1.207 GB, free: 3.914 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.7775, allocations: 1.281 kB / 1.207 GB, free: 3.914 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.00019/0.7777, allocations: 142.9 kB / 1.207 GB, free: 3.867 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004442/0.7782, allocations: 61.95 kB / 1.207 GB, free: 3.84 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001246/0.7794, allocations: 0.8376 MB / 1.208 GB, free: 3.324 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000169/0.7796, allocations: 185.7 kB / 1.208 GB, free: 3.238 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.000211/0.7798, allocations: 76.81 kB / 1.208 GB, free: 3.223 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.133e-05/0.7799, allocations: 22.72 kB / 1.208 GB, free: 3.215 MB / 1.076 GB Notification: Performance of SimCode: time 3.4e-07/0.7799, allocations: 0 / 1.208 GB, free: 3.215 MB / 1.076 GB Notification: Performance of Templates: time 0.008177/0.7881, allocations: 4.161 MB / 1.212 GB, free: 2.77 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.542889309930615]