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.001992/0.001992, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.002127/0.002127, allocations: 157.3 kB / 23.55 MB, free: 0.8711 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 1.561/1.561, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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 3.061/3.061, allocations: 377.8 MB / 0.6232 GB, free: 8.516 MB / 0.5886 GB " [Timeout remaining time 176] 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.1.|dynRC.i.2.|dynRL.i.1.|dynRL.i.2.|dynRC.v.1.|dynRC.v.2.",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.1.|dynRC.i.2.|dynRL.i.1.|dynRL.i.2.|dynRC.v.1.|dynRC.v.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.674e-06/1.674e-06, allocations: 0 / 0.8108 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.188e-05/3.355e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.074 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.005868/0.005902, allocations: 3.324 MB / 0.8141 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.004063/0.009965, allocations: 2.037 MB / 0.816 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002128/0.01018, allocations: 7.938 kB / 0.816 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001129/0.01131, allocations: 300 kB / 0.8163 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0007719/0.01208, allocations: 248.5 kB / 0.8166 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009201/0.013, allocations: 285.3 kB / 0.8168 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0006895/0.01369, allocations: 418.5 kB / 0.8172 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003954/0.01408, allocations: 169 kB / 0.8174 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004216/0.01451, allocations: 227.9 kB / 0.8176 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004208/0.01493, allocations: 197.1 kB / 0.8178 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.415e-05/0.01498, allocations: 20 kB / 0.8178 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005442/0.01552, allocations: 247.4 kB / 0.8181 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001717/0.0157, allocations: 119.7 kB / 0.8182 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001579/0.01585, allocations: 108.3 kB / 0.8183 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0007909/0.01665, allocations: 0.5113 MB / 0.8188 GB, free: 9.91 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.01665, allocations: 0 / 0.8188 GB, free: 9.91 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.623e-06/0.01665, allocations: 0 / 0.8188 GB, free: 9.91 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.01666, allocations: 0 / 0.8188 GB, free: 9.91 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.00132/0.01798, allocations: 0.6536 MB / 0.8194 GB, free: 9.223 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.01802, allocations: 8.031 kB / 0.8194 GB, free: 9.215 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001101/0.01912, allocations: 161.9 kB / 0.8196 GB, free: 9.059 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000461/0.01959, allocations: 221.6 kB / 0.8198 GB, free: 8.812 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.657e-05/0.01961, allocations: 22.48 kB / 0.8198 GB, free: 8.793 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001322/0.01974, allocations: 36.73 kB / 0.8199 GB, free: 8.758 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007221/0.02047, allocations: 428.6 kB / 0.8203 GB, free: 8.277 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/0.02049, allocations: 4.188 kB / 0.8203 GB, free: 8.273 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.216e-05/0.02053, allocations: 16.83 kB / 0.8203 GB, free: 8.258 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001456/0.02067, allocations: 44.41 kB / 0.8203 GB, free: 8.215 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004713/0.02115, allocations: 199.9 kB / 0.8205 GB, free: 8.023 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002765/0.02391, allocations: 1.914 MB / 0.8224 GB, free: 6.035 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003534/0.02426, allocations: 139.5 kB / 0.8225 GB, free: 5.887 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001561/0.02442, allocations: 72.19 kB / 0.8226 GB, free: 5.812 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.726e-05/0.02445, allocations: 4 kB / 0.8226 GB, free: 5.809 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.683e-05/0.02448, allocations: 39.08 kB / 0.8226 GB, free: 5.762 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=22): time 1.412e-06/0.02449, allocations: 0 / 0.8226 GB, free: 5.762 MB / 0.7761 GB Notification: Performance of matching and sorting (n=23): time 0.001622/0.02611, allocations: 0.5827 MB / 0.8232 GB, free: 5.148 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.827e-05/0.02617, allocations: 59.91 kB / 0.8233 GB, free: 5.078 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004301/0.0266, allocations: 318.9 kB / 0.8236 GB, free: 4.75 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.216e-05/0.02664, allocations: 41.62 kB / 0.8236 GB, free: 4.703 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003145/0.02695, allocations: 247.7 kB / 0.8238 GB, free: 4.457 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 9.795e-05/0.02705, allocations: 87.91 kB / 0.8239 GB, free: 4.371 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001925/0.02724, allocations: 91.28 kB / 0.824 GB, free: 4.273 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002929/0.02754, allocations: 0.5152 MB / 0.8245 GB, free: 3.75 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002173/0.02775, allocations: 79.95 kB / 0.8246 GB, free: 3.672 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003363/0.02809, allocations: 198.2 kB / 0.8248 GB, free: 3.43 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005835/0.02867, allocations: 297.3 kB / 0.8251 GB, free: 3.098 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.02867, allocations: 0 / 0.8251 GB, free: 3.098 MB / 0.7761 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001186/0.02986, allocations: 430.7 kB / 0.8255 GB, free: 2.672 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.02988, allocations: 14.64 kB / 0.8255 GB, free: 2.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.02989, allocations: 0.9062 kB / 0.8255 GB, free: 2.66 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001228/0.03112, allocations: 201.5 kB / 0.8257 GB, free: 2.465 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003418/0.03146, allocations: 63.89 kB / 0.8257 GB, free: 2.402 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002977/0.03444, allocations: 2.272 MB / 0.828 GB, free: 8 kB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003974/0.03484, allocations: 23.98 kB / 0.828 GB, free: 15.98 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.598e-05/0.03487, allocations: 11.98 kB / 0.828 GB, free: 15.97 MB / 0.7917 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.0002173/0.03509, allocations: 188.5 kB / 0.8282 GB, free: 15.78 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.432e-05/0.03517, allocations: 23.86 kB / 0.8282 GB, free: 15.75 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004963/0.03567, allocations: 230 kB / 0.8284 GB, free: 15.52 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.03568, allocations: 4 kB / 0.8284 GB, free: 15.52 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.03568, allocations: 3.938 kB / 0.8284 GB, free: 15.52 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.03568, allocations: 0 / 0.8284 GB, free: 15.52 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001057/0.03674, allocations: 0.6021 MB / 0.829 GB, free: 14.86 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.03674, allocations: 0 / 0.829 GB, free: 14.86 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004311/0.03717, allocations: 79.88 kB / 0.8291 GB, free: 14.79 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.03718, allocations: 4.062 kB / 0.8291 GB, free: 14.78 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.656e-05/0.0372, allocations: 7.938 kB / 0.8291 GB, free: 14.77 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.03721, allocations: 0 / 0.8291 GB, free: 14.77 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.03721, allocations: 7.984 kB / 0.8291 GB, free: 14.77 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006342/0.03784, allocations: 443.3 kB / 0.8295 GB, free: 14.3 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001467/0.03799, allocations: 47.77 kB / 0.8296 GB, free: 14.26 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.965e-05/0.03804, allocations: 8 kB / 0.8296 GB, free: 14.25 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002299/0.03827, allocations: 15.98 kB / 0.8296 GB, free: 14.23 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.9e-05/0.03832, allocations: 11.97 kB / 0.8296 GB, free: 14.22 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.257e-05/0.03834, allocations: 16 kB / 0.8296 GB, free: 14.21 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0002485/0.03859, allocations: 216 kB / 0.8298 GB, free: 14 MB / 0.7917 GB Notification: Performance of sort global known variables: time 7e-08/0.03859, allocations: 0 / 0.8298 GB, free: 14 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0004504/0.03904, allocations: 92 kB / 0.8299 GB, free: 13.91 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.000198/0.03924, allocations: 107.2 kB / 0.83 GB, free: 13.79 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0009622/0.0402, allocations: 469.3 kB / 0.8305 GB, free: 13.31 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.04021, allocations: 4 kB / 0.8305 GB, free: 13.31 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0001655/0.04037, allocations: 89.78 kB / 0.8305 GB, free: 13.22 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004702/0.04084, allocations: 54.58 kB / 0.8306 GB, free: 13.17 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001567/0.04241, allocations: 0.7013 MB / 0.8313 GB, free: 12.43 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002137/0.04262, allocations: 181.8 kB / 0.8315 GB, free: 12.23 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0002087/0.04283, allocations: 62.22 kB / 0.8315 GB, free: 12.17 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.04e-05/0.04292, allocations: 24.5 kB / 0.8315 GB, free: 12.14 MB / 0.7917 GB Notification: Performance of SimCode: time 8.656e-06/0.04293, allocations: 0 / 0.8315 GB, free: 12.14 MB / 0.7917 GB Notification: Performance of Templates: time 0.01133/0.05426, allocations: 4.229 MB / 0.8357 GB, free: 7.977 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.40472731902264]