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.0009853/0.0009853, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003321/0.004307, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001069/0.001069, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001335/0.002404, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.014/1.014, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0939/1.108, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.374/2.374, allocations: 446.7 MB / 0.6745 GB, free: 6.18 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2423/2.616, allocations: 145.9 MB / 0.817 GB, free: 4.184 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.[0-9,]+.|dynRL.i.[0-9,]+.|dynRC.v.[0-9,]+.",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.[0-9,]+.|dynRL.i.[0-9,]+.|dynRC.v.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 0.8183 GB, free: 2.887 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.849e-05/1.987e-05, allocations: 4.422 kB / 0.8183 GB, free: 2.883 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.002866/0.002886, allocations: 2.756 MB / 0.821 GB, free: 108 kB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001835/0.004721, allocations: 1.507 MB / 0.8224 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001156/0.004837, allocations: 7.938 kB / 0.8225 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0003382/0.005175, allocations: 115.3 kB / 0.8226 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0002855/0.00546, allocations: 214.7 kB / 0.8228 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.000435/0.005895, allocations: 259.2 kB / 0.823 GB, free: 14 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.000366/0.006261, allocations: 442.5 kB / 0.8234 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002437/0.006505, allocations: 174.2 kB / 0.8236 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002693/0.006774, allocations: 247.4 kB / 0.8238 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003288/0.007103, allocations: 195.5 kB / 0.824 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 5.06e-05/0.007154, allocations: 24 kB / 0.8241 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003586/0.007512, allocations: 183.5 kB / 0.8242 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001285/0.007641, allocations: 107.8 kB / 0.8243 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001105/0.007751, allocations: 87.81 kB / 0.8244 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0004829/0.008234, allocations: 319 kB / 0.8247 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.666e-05/0.008251, allocations: 0 / 0.8247 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.002e-06/0.008252, allocations: 4 kB / 0.8247 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.109e-05/0.008273, allocations: 0 / 0.8247 GB, free: 12.25 MB / 0.8073 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.0009223/0.009195, allocations: 0.5579 MB / 0.8253 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.009233, allocations: 8.031 kB / 0.8253 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008264/0.01006, allocations: 225.7 kB / 0.8255 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002998/0.01036, allocations: 206 kB / 0.8257 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/0.01038, allocations: 20.86 kB / 0.8257 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001058/0.01049, allocations: 32.73 kB / 0.8257 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004636/0.01095, allocations: 378.6 kB / 0.8261 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.01096, allocations: 192 / 0.8261 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.294e-05/0.011, allocations: 15.94 kB / 0.8261 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001076/0.0111, allocations: 40.47 kB / 0.8262 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002188/0.01132, allocations: 111.3 kB / 0.8263 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001505/0.01283, allocations: 1.303 MB / 0.8275 GB, free: 9.207 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000227/0.01306, allocations: 168 kB / 0.8277 GB, free: 9.031 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.76e-05/0.01313, allocations: 48.84 kB / 0.8277 GB, free: 8.98 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/0.01315, allocations: 4 kB / 0.8277 GB, free: 8.977 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.01318, allocations: 30.56 kB / 0.8278 GB, free: 8.938 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=22): time 2.345e-06/0.01318, allocations: 0 / 0.8278 GB, free: 8.938 MB / 0.8073 GB Notification: Performance of matching and sorting (n=23): time 0.001023/0.0142, allocations: 455.7 kB / 0.8282 GB, free: 8.461 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.241e-05/0.01423, allocations: 55.41 kB / 0.8283 GB, free: 8.395 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002065/0.01444, allocations: 212.2 kB / 0.8285 GB, free: 8.176 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/0.01446, allocations: 29.7 kB / 0.8285 GB, free: 8.141 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.01456, allocations: 188.2 kB / 0.8287 GB, free: 7.953 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 7.976e-05/0.01464, allocations: 87.2 kB / 0.8288 GB, free: 7.867 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/0.01477, allocations: 81.59 kB / 0.8288 GB, free: 7.781 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.832e-05/0.01487, allocations: 334.8 kB / 0.8291 GB, free: 7.445 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001086/0.01497, allocations: 43.91 kB / 0.8292 GB, free: 7.402 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001284/0.0151, allocations: 125.9 kB / 0.8293 GB, free: 7.242 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002499/0.01535, allocations: 206.7 kB / 0.8295 GB, free: 7.008 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.01535, allocations: 0 / 0.8295 GB, free: 7.008 MB / 0.8073 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005823/0.01594, allocations: 298.8 kB / 0.8298 GB, free: 6.707 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/0.01596, allocations: 10.19 kB / 0.8298 GB, free: 6.699 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.01597, allocations: 7.922 kB / 0.8298 GB, free: 6.691 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007223/0.01669, allocations: 179.5 kB / 0.83 GB, free: 6.512 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001807/0.01687, allocations: 67.89 kB / 0.83 GB, free: 6.445 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001387/0.01826, allocations: 1.559 MB / 0.8316 GB, free: 4.789 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001672/0.01843, allocations: 15.98 kB / 0.8316 GB, free: 4.773 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/0.01845, allocations: 12 kB / 0.8316 GB, free: 4.762 MB / 0.8073 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.0002078/0.01865, allocations: 128.6 kB / 0.8317 GB, free: 4.625 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.373e-05/0.0187, allocations: 35.84 kB / 0.8318 GB, free: 4.59 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001946/0.01889, allocations: 162.2 kB / 0.8319 GB, free: 4.426 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.0189, allocations: 4 kB / 0.8319 GB, free: 4.422 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-06/0.0189, allocations: 0 / 0.8319 GB, free: 4.422 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.0189, allocations: 0 / 0.8319 GB, free: 4.422 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004446/0.01934, allocations: 442.5 kB / 0.8323 GB, free: 3.961 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.01935, allocations: 8 kB / 0.8323 GB, free: 3.953 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000279/0.01963, allocations: 99.89 kB / 0.8324 GB, free: 3.855 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.562e-05/0.01969, allocations: 47.77 kB / 0.8325 GB, free: 3.809 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.0197, allocations: 0 / 0.8325 GB, free: 3.809 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.01971, allocations: 8 kB / 0.8325 GB, free: 3.801 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.01971, allocations: 0 / 0.8325 GB, free: 3.801 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.01972, allocations: 0 / 0.8325 GB, free: 3.801 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002637/0.01998, allocations: 348.8 kB / 0.8328 GB, free: 3.438 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.049e-05/0.02001, allocations: 11.98 kB / 0.8328 GB, free: 3.426 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.659e-05/0.02011, allocations: 16 kB / 0.8328 GB, free: 3.41 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.231e-05/0.02013, allocations: 11.97 kB / 0.8329 GB, free: 3.398 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.949e-06/0.02014, allocations: 4 kB / 0.8329 GB, free: 3.395 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 6.896e-05/0.02021, allocations: 69.67 kB / 0.8329 GB, free: 3.324 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2e-08/0.02021, allocations: 0 / 0.8329 GB, free: 3.324 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002763/0.02048, allocations: 88 kB / 0.833 GB, free: 3.238 MB / 0.8073 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.0001507/0.02064, allocations: 92.3 kB / 0.8331 GB, free: 3.137 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0004576/0.02109, allocations: 338.9 kB / 0.8334 GB, free: 2.789 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.52e-05/0.02111, allocations: 7.938 kB / 0.8334 GB, free: 2.781 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 8.367e-05/0.02119, allocations: 70.31 kB / 0.8335 GB, free: 2.711 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002757/0.02147, allocations: 85.45 kB / 0.8336 GB, free: 2.629 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002586/0.02405, allocations: 0.625 MB / 0.8342 GB, free: 1.969 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.561e-05/0.02413, allocations: 112.3 kB / 0.8343 GB, free: 1.84 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001184/0.02425, allocations: 34.31 kB / 0.8343 GB, free: 1.809 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001359/0.02438, allocations: 99.34 kB / 0.8344 GB, free: 1.711 MB / 0.8073 GB Notification: Performance of SimCode: time 1.312e-06/0.02439, allocations: 0 / 0.8344 GB, free: 1.711 MB / 0.8073 GB Notification: Performance of Templates: time 0.006523/0.03091, allocations: 4.517 MB / 0.8388 GB, free: 13.23 MB / 0.823 GB " [Timeout remaining time 300] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.ref.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.399983494542539]