Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.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.001117/0.001117, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001542/0.002659, allocations: 449.7 kB / 10.37 MB, free: 328 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.001118/0.001118, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001421/0.00254, allocations: 459.6 kB / 11.71 MB, free: 2.457 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 0.9422/0.9422, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08559/1.028, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.794/1.794, allocations: 378.2 MB / 0.6076 GB, free: 7.812 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4709/2.265, allocations: 123.3 MB / 0.728 GB, free: 5.832 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.Examples.GridDCLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|grid.P.real|grid.P.apparent|resistor.S.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|grid.P.real|grid.P.apparent|resistor.S.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 0.7293 GB, free: 4.559 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.945e-05/2.085e-05, allocations: 2.312 kB / 0.7293 GB, free: 4.555 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.003/0.003021, allocations: 2.695 MB / 0.7319 GB, free: 1.883 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002066/0.005087, allocations: 1.589 MB / 0.7335 GB, free: 312 kB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001657/0.005252, allocations: 12.81 kB / 0.7335 GB, free: 300 kB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005667/0.005819, allocations: 172.6 kB / 0.7337 GB, free: 128 kB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0004558/0.006275, allocations: 187.7 kB / 0.7339 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004598/0.006735, allocations: 229.4 kB / 0.7341 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002942/0.007029, allocations: 362.7 kB / 0.7344 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002337/0.007263, allocations: 151.1 kB / 0.7346 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002396/0.007502, allocations: 207.5 kB / 0.7348 GB, free: 15 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002284/0.007731, allocations: 164.3 kB / 0.7349 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.823e-05/0.007759, allocations: 20.5 kB / 0.7349 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004095/0.008168, allocations: 316 kB / 0.7352 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 7.551e-05/0.008244, allocations: 83.78 kB / 0.7353 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.471e-05/0.008309, allocations: 72.97 kB / 0.7354 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003951/0.008704, allocations: 354.8 kB / 0.7357 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.632e-05/0.00872, allocations: 0 / 0.7357 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.142e-06/0.008721, allocations: 0.875 kB / 0.7357 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.331e-05/0.008734, allocations: 0 / 0.7357 GB, free: 14.02 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0005852/0.00932, allocations: 0.5157 MB / 0.7362 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.009352, allocations: 12.7 kB / 0.7362 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004932/0.009845, allocations: 223.5 kB / 0.7365 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002087/0.01005, allocations: 186.8 kB / 0.7366 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.01007, allocations: 16.88 kB / 0.7366 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.221e-05/0.01009, allocations: 21.38 kB / 0.7367 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002582/0.01035, allocations: 263.9 kB / 0.7369 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.01036, allocations: 4.656 kB / 0.7369 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/0.01037, allocations: 12.36 kB / 0.7369 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.181e-05/0.01041, allocations: 33.53 kB / 0.737 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000115/0.01052, allocations: 80.09 kB / 0.737 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000944/0.01147, allocations: 1.038 MB / 0.7381 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001928/0.01166, allocations: 174.7 kB / 0.7382 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.394e-05/0.0117, allocations: 37.7 kB / 0.7383 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.975e-05/0.01175, allocations: 13.2 kB / 0.7383 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.01177, allocations: 34.5 kB / 0.7383 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 2.074e-06/0.01177, allocations: 1.625 kB / 0.7383 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0005642/0.01234, allocations: 248.9 kB / 0.7385 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.155e-05/0.01237, allocations: 77.86 kB / 0.7386 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.01248, allocations: 194.5 kB / 0.7388 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.01249, allocations: 30.8 kB / 0.7388 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.182e-05/0.01255, allocations: 168.1 kB / 0.739 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.618e-05/0.01258, allocations: 52.61 kB / 0.739 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.381e-05/0.01263, allocations: 61.56 kB / 0.7391 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.728e-05/0.01271, allocations: 330.8 kB / 0.7394 GB, free: 9.996 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.22e-05/0.01274, allocations: 28.61 kB / 0.7394 GB, free: 9.969 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.448e-05/0.01281, allocations: 93.41 kB / 0.7395 GB, free: 9.844 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001267/0.01293, allocations: 154.5 kB / 0.7397 GB, free: 9.664 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.01294, allocations: 0 / 0.7397 GB, free: 9.664 MB / 0.7136 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002597/0.0132, allocations: 205.2 kB / 0.7399 GB, free: 9.453 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.01321, allocations: 8 kB / 0.7399 GB, free: 9.445 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.01322, allocations: 0 / 0.7399 GB, free: 9.445 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002313/0.01345, allocations: 88.06 kB / 0.74 GB, free: 9.355 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.01358, allocations: 47.92 kB / 0.74 GB, free: 9.309 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009548/0.01453, allocations: 1.741 MB / 0.7417 GB, free: 7.441 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.267e-05/0.01461, allocations: 23.84 kB / 0.7417 GB, free: 7.418 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/0.01463, allocations: 12 kB / 0.7417 GB, free: 7.406 MB / 0.7136 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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 8.052e-05/0.01471, allocations: 126.4 kB / 0.7419 GB, free: 7.273 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.71e-05/0.01474, allocations: 23.92 kB / 0.7419 GB, free: 7.25 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002487/0.01499, allocations: 169.8 kB / 0.7421 GB, free: 7.074 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.015, allocations: 4.938 kB / 0.7421 GB, free: 7.07 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.015, allocations: 3.938 kB / 0.7421 GB, free: 7.066 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.015, allocations: 0 / 0.7421 GB, free: 7.066 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004888/0.01549, allocations: 0.522 MB / 0.7426 GB, free: 6.492 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.01549, allocations: 0 / 0.7426 GB, free: 6.492 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.764e-05/0.01555, allocations: 20 kB / 0.7426 GB, free: 6.473 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.391e-05/0.0156, allocations: 31.83 kB / 0.7426 GB, free: 6.441 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001695/0.01577, allocations: 69.75 kB / 0.7427 GB, free: 6.367 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.01578, allocations: 8 kB / 0.7427 GB, free: 6.359 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007362/0.01651, allocations: 1.743 MB / 0.7444 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.01651, allocations: 0 / 0.7444 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000256/0.01677, allocations: 452 kB / 0.7448 GB, free: 4.008 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.01679, allocations: 4 kB / 0.7448 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.035e-05/0.01688, allocations: 8.625 kB / 0.7448 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.683e-05/0.0169, allocations: 28.53 kB / 0.7449 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.757e-06/0.01691, allocations: 4.781 kB / 0.7449 GB, free: 3.965 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.602e-05/0.01696, allocations: 56.22 kB / 0.7449 GB, free: 3.91 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.01696, allocations: 0 / 0.7449 GB, free: 3.91 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002879/0.01725, allocations: 80.42 kB / 0.745 GB, free: 3.832 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001463/0.01739, allocations: 109.8 kB / 0.7451 GB, free: 3.719 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002893/0.01768, allocations: 245.1 kB / 0.7453 GB, free: 3.465 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.085e-05/0.01769, allocations: 4.656 kB / 0.7453 GB, free: 3.461 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001262/0.01782, allocations: 177.5 kB / 0.7455 GB, free: 3.273 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002914/0.01811, allocations: 55.38 kB / 0.7456 GB, free: 3.223 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002203/0.02031, allocations: 0.4981 MB / 0.7461 GB, free: 2.672 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.807e-05/0.02038, allocations: 99.05 kB / 0.7461 GB, free: 2.559 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 8.207e-05/0.02046, allocations: 24.27 kB / 0.7462 GB, free: 2.531 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.189e-05/0.02056, allocations: 79.36 kB / 0.7462 GB, free: 2.453 MB / 0.7136 GB Notification: Performance of SimCode: time 1.102e-06/0.02056, allocations: 0 / 0.7462 GB, free: 2.453 MB / 0.7136 GB Notification: Performance of Templates: time 0.005653/0.02621, allocations: 3.223 MB / 0.7494 GB, free: 15.38 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad/Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.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: 4.817114680074155]