Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized.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.001132/0.001132, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00164/0.002772, allocations: 449.8 kB / 10.44 MB, free: 252 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.001086/0.001086, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00143/0.002516, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9824/0.9824, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1139/1.096, allocations: 53.66 MB / 243.4 MB, free: 15.52 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.864/1.864, allocations: 378.4 MB / 0.6079 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4804/2.345, allocations: 123.3 MB / 0.7283 GB, free: 5.73 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.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 0.7297 GB, free: 4.41 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.871e-05/2.012e-05, allocations: 4.562 kB / 0.7297 GB, free: 4.406 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.001815/0.001835, allocations: 1.563 MB / 0.7312 GB, free: 2.863 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0001354/0.001971, allocations: 91.73 kB / 0.7313 GB, free: 2.773 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.349e-05/0.001994, allocations: 0.9844 kB / 0.7313 GB, free: 2.773 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.97e-05/0.002014, allocations: 7.938 kB / 0.7313 GB, free: 2.766 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.423e-05/0.002038, allocations: 6.062 kB / 0.7313 GB, free: 2.762 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 7.509e-05/0.002113, allocations: 16.92 kB / 0.7313 GB, free: 2.746 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 6.626e-05/0.00218, allocations: 20.7 kB / 0.7313 GB, free: 2.73 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.556e-05/0.002265, allocations: 13.36 kB / 0.7313 GB, free: 2.719 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.338e-05/0.002349, allocations: 26.25 kB / 0.7314 GB, free: 2.695 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.479e-05/0.002393, allocations: 5.969 kB / 0.7314 GB, free: 2.691 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.627e-05/0.00241, allocations: 0 / 0.7314 GB, free: 2.691 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 8.05e-05/0.00249, allocations: 19.98 kB / 0.7314 GB, free: 2.672 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.561e-05/0.002506, allocations: 1.375 kB / 0.7314 GB, free: 2.672 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.779e-05/0.002524, allocations: 10.2 kB / 0.7314 GB, free: 2.664 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000115/0.002639, allocations: 26.09 kB / 0.7314 GB, free: 2.641 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.446e-05/0.002653, allocations: 4.625 kB / 0.7314 GB, free: 2.637 MB / 0.698 GB Notification: Performance of FrontEnd: time 9.51e-07/0.002654, allocations: 0 / 0.7314 GB, free: 2.637 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.136e-05/0.002665, allocations: 0.9062 kB / 0.7314 GB, free: 2.637 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003535/0.003019, allocations: 237.3 kB / 0.7317 GB, free: 2.379 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.063e-05/0.003049, allocations: 12.84 kB / 0.7317 GB, free: 2.367 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001658/0.003215, allocations: 90.03 kB / 0.7318 GB, free: 2.262 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.515e-05/0.00329, allocations: 111.2 kB / 0.7319 GB, free: 2.129 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.003301, allocations: 384 / 0.7319 GB, free: 2.129 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.088e-06/0.00331, allocations: 4.375 kB / 0.7319 GB, free: 2.125 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.174e-05/0.003402, allocations: 63.41 kB / 0.7319 GB, free: 2.055 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.831e-06/0.003408, allocations: 6.297 kB / 0.7319 GB, free: 2.051 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.611e-06/0.003414, allocations: 384 / 0.7319 GB, free: 2.051 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.003417, allocations: 384 / 0.7319 GB, free: 2.051 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.124e-05/0.003439, allocations: 7.938 kB / 0.7319 GB, free: 2.043 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001835/0.003622, allocations: 157.5 kB / 0.7321 GB, free: 1.875 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.877e-05/0.003671, allocations: 26.52 kB / 0.7321 GB, free: 1.84 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.172e-05/0.003683, allocations: 6.609 kB / 0.7321 GB, free: 1.832 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.347e-05/0.003696, allocations: 8.094 kB / 0.7321 GB, free: 1.824 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.818e-05/0.003714, allocations: 32.09 kB / 0.7322 GB, free: 1.785 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 6.22e-07/0.003715, allocations: 0 / 0.7322 GB, free: 1.785 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 9.054e-05/0.003805, allocations: 35.3 kB / 0.7322 GB, free: 1.746 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.515e-05/0.003831, allocations: 55.34 kB / 0.7322 GB, free: 1.68 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.07e-05/0.003881, allocations: 110.9 kB / 0.7323 GB, free: 1.559 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.386e-06/0.00389, allocations: 25.7 kB / 0.7324 GB, free: 1.527 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.626e-05/0.003916, allocations: 88.8 kB / 0.7325 GB, free: 1.438 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.503e-05/0.003931, allocations: 7.891 kB / 0.7325 GB, free: 1.43 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.457e-05/0.003956, allocations: 22.95 kB / 0.7325 GB, free: 1.402 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.111e-05/0.004027, allocations: 314.8 kB / 0.7328 GB, free: 1.086 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.047e-05/0.004037, allocations: 4 kB / 0.7328 GB, free: 1.082 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.718e-06/0.004047, allocations: 5.469 kB / 0.7328 GB, free: 1.078 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.376e-05/0.004071, allocations: 12.84 kB / 0.7328 GB, free: 1.062 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.004072, allocations: 0 / 0.7328 GB, free: 1.062 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.679e-05/0.004119, allocations: 35.28 kB / 0.7328 GB, free: 1.023 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.004131, allocations: 9.344 kB / 0.7329 GB, free: 1.016 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.004135, allocations: 0 / 0.7329 GB, free: 1.016 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.107e-06/0.004144, allocations: 0 / 0.7329 GB, free: 1.016 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.236e-05/0.004206, allocations: 16.52 kB / 0.7329 GB, free: 1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.535e-06/0.004209, allocations: 4 kB / 0.7329 GB, free: 0.9961 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.734e-05/0.004226, allocations: 1.125 kB / 0.7329 GB, free: 0.9961 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.411e-06/0.004232, allocations: 4 kB / 0.7329 GB, free: 0.9922 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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 prepare postOptimizeDAE: time 4.702e-05/0.004279, allocations: 114.8 kB / 0.733 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.114e-05/0.00429, allocations: 0.7656 kB / 0.733 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.427e-05/0.004314, allocations: 7.625 kB / 0.733 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.004315, allocations: 1.25 kB / 0.733 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.004318, allocations: 3.938 kB / 0.733 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.00432, allocations: 0 / 0.733 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.226e-05/0.004403, allocations: 75.14 kB / 0.7331 GB, free: 0.7656 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.004403, allocations: 0 / 0.7331 GB, free: 0.7656 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.25e-05/0.004426, allocations: 4.984 kB / 0.7331 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.002e-06/0.004432, allocations: 4.75 kB / 0.7331 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.004434, allocations: 3.984 kB / 0.7331 GB, free: 0.7539 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.296e-06/0.004437, allocations: 0.5312 kB / 0.7331 GB, free: 0.7539 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.004438, allocations: 0 / 0.7331 GB, free: 0.7539 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.00444, allocations: 4.781 kB / 0.7331 GB, free: 0.75 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.263e-05/0.004522, allocations: 144.6 kB / 0.7332 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.715e-06/0.00453, allocations: 0 / 0.7332 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.131e-05/0.004561, allocations: 0 / 0.7332 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.239e-05/0.004594, allocations: 5.766 kB / 0.7332 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.004596, allocations: 0 / 0.7332 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.057e-05/0.004617, allocations: 20.78 kB / 0.7333 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.004617, allocations: 0.6875 kB / 0.7333 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001115/0.004728, allocations: 4 kB / 0.7333 GB, free: 0.5625 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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 7.679e-05/0.004805, allocations: 77.94 kB / 0.7333 GB, free: 492 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 6.952e-05/0.004875, allocations: 17.61 kB / 0.7333 GB, free: 472 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.004879, allocations: 2.891 kB / 0.7334 GB, free: 472 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.439e-05/0.004903, allocations: 12.84 kB / 0.7334 GB, free: 456 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001652/0.005068, allocations: 36.09 kB / 0.7334 GB, free: 416 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003457/0.005414, allocations: 121.9 kB / 0.7335 GB, free: 268 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.298e-05/0.005447, allocations: 55.36 kB / 0.7336 GB, free: 192 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.804e-05/0.005465, allocations: 1.594 kB / 0.7336 GB, free: 192 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.178e-05/0.005517, allocations: 55.36 kB / 0.7336 GB, free: 136 kB / 0.698 GB Notification: Performance of SimCode: time 6.22e-07/0.005517, allocations: 0 / 0.7336 GB, free: 136 kB / 0.698 GB Notification: Performance of Templates: time 0.001926/0.007443, allocations: 0.5647 MB / 0.7342 GB, free: 15.59 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized/Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.838119819760323]