Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001226/0.001226, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001602/0.002829, 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.001109/0.001109, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001388/0.002497, 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 0.9774/0.9774, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09361/1.071, 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.434/2.434, allocations: 446.7 MB / 0.6745 GB, free: 6.172 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2433/2.678, allocations: 145.9 MB / 0.817 GB, free: 4.168 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.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.8183 GB, free: 2.832 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.08e-05/2.218e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.828 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002325/0.002347, allocations: 1.538 MB / 0.8198 GB, free: 1.277 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.000186/0.002533, allocations: 103.7 kB / 0.8199 GB, free: 1.176 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.441e-05/0.002557, allocations: 0 / 0.8199 GB, free: 1.176 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 1.912e-05/0.002576, allocations: 4 kB / 0.8199 GB, free: 1.172 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.559e-05/0.002602, allocations: 7.875 kB / 0.8199 GB, free: 1.164 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 8.516e-05/0.002687, allocations: 15.98 kB / 0.8199 GB, free: 1.148 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 5.935e-05/0.002747, allocations: 19.92 kB / 0.82 GB, free: 1.129 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 6.869e-05/0.002815, allocations: 8 kB / 0.82 GB, free: 1.121 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 6.958e-05/0.002885, allocations: 19.97 kB / 0.82 GB, free: 1.102 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 3.756e-05/0.002922, allocations: 11.92 kB / 0.82 GB, free: 1.09 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.002937, allocations: 0 / 0.82 GB, free: 1.09 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 7.678e-05/0.003014, allocations: 19.98 kB / 0.82 GB, free: 1.07 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.212e-05/0.003026, allocations: 4 kB / 0.82 GB, free: 1.066 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.457e-05/0.00304, allocations: 8 kB / 0.82 GB, free: 1.059 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001008/0.003141, allocations: 27.86 kB / 0.8201 GB, free: 1.031 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.466e-05/0.003156, allocations: 0 / 0.8201 GB, free: 1.031 MB / 0.7917 GB Notification: Performance of FrontEnd: time 7.21e-07/0.003156, allocations: 0 / 0.8201 GB, free: 1.031 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.649e-05/0.003173, allocations: 0 / 0.8201 GB, free: 1.031 MB / 0.7917 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.0003282/0.003501, allocations: 244.5 kB / 0.8203 GB, free: 0.7656 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 2.822e-05/0.003529, allocations: 8.625 kB / 0.8203 GB, free: 0.7578 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001578/0.003687, allocations: 98.02 kB / 0.8204 GB, free: 0.6445 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.592e-05/0.003763, allocations: 109.7 kB / 0.8205 GB, free: 0.5117 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.003775, allocations: 384 / 0.8205 GB, free: 0.5117 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.314e-06/0.003782, allocations: 4.375 kB / 0.8205 GB, free: 0.5078 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/0.00394, allocations: 58.94 kB / 0.8206 GB, free: 452 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.003947, allocations: 192 / 0.8206 GB, free: 452 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.081e-06/0.003953, allocations: 384 / 0.8206 GB, free: 452 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.003958, allocations: 384 / 0.8206 GB, free: 452 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.61e-05/0.003984, allocations: 7.938 kB / 0.8206 GB, free: 444 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001979/0.004182, allocations: 156.2 kB / 0.8207 GB, free: 272 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 5.158e-05/0.004233, allocations: 26.61 kB / 0.8207 GB, free: 236 kB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.543e-05/0.004249, allocations: 8.922 kB / 0.8207 GB, free: 224 kB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.03e-05/0.004259, allocations: 0 / 0.8207 GB, free: 224 kB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/0.004278, allocations: 38.5 kB / 0.8208 GB, free: 176 kB / 0.7917 GB Notification: Performance of pre-optimization done (n=2): time 1.466e-05/0.004293, allocations: 0 / 0.8208 GB, free: 176 kB / 0.7917 GB Notification: Performance of matching and sorting (n=2): time 0.0001074/0.0044, allocations: 41.64 kB / 0.8208 GB, free: 128 kB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.847e-05/0.004428, allocations: 59.33 kB / 0.8209 GB, free: 56 kB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.862e-05/0.004497, allocations: 110.7 kB / 0.821 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.167e-06/0.004506, allocations: 29.7 kB / 0.821 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.838e-05/0.004535, allocations: 84.09 kB / 0.8211 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.747e-05/0.004552, allocations: 11.88 kB / 0.8211 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.174e-05/0.004584, allocations: 13.72 kB / 0.8211 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.017e-05/0.004654, allocations: 314.8 kB / 0.8214 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.25e-05/0.004666, allocations: 8.125 kB / 0.8214 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.488e-06/0.004676, allocations: 0 / 0.8214 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.624e-05/0.004702, allocations: 16.84 kB / 0.8214 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.004704, allocations: 0 / 0.8214 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.437e-05/0.004758, allocations: 37.64 kB / 0.8215 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.004769, allocations: 4 kB / 0.8215 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.004774, allocations: 3.984 kB / 0.8215 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.875e-06/0.004782, allocations: 0 / 0.8215 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.371e-05/0.004855, allocations: 15.94 kB / 0.8215 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.515e-06/0.004858, allocations: 4.094 kB / 0.8215 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.439e-05/0.004882, allocations: 7.984 kB / 0.8215 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.687e-06/0.004886, allocations: 0 / 0.8215 GB, free: 15.36 MB / 0.8073 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.719e-05/0.004933, allocations: 105.8 kB / 0.8216 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.952e-05/0.004953, allocations: 4 kB / 0.8216 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.293e-05/0.004976, allocations: 3.625 kB / 0.8216 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.004977, allocations: 0 / 0.8216 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.004979, allocations: 3.938 kB / 0.8216 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.004982, allocations: 0 / 0.8216 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001029/0.005085, allocations: 69.89 kB / 0.8217 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.005087, allocations: 7.984 kB / 0.8217 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.229e-05/0.00512, allocations: 7.984 kB / 0.8217 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.124e-06/0.005127, allocations: 12 kB / 0.8217 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/0.005128, allocations: 0 / 0.8217 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.667e-06/0.005132, allocations: 0 / 0.8217 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.005132, allocations: 0 / 0.8217 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.005134, allocations: 3.938 kB / 0.8217 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.272e-05/0.005217, allocations: 143.4 kB / 0.8219 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.017e-06/0.005226, allocations: 0 / 0.8219 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.994e-05/0.005276, allocations: 4.25 kB / 0.8219 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.341e-05/0.0053, allocations: 8.016 kB / 0.8219 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-06/0.005303, allocations: 4 kB / 0.8219 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.36e-05/0.005317, allocations: 12.8 kB / 0.8219 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.005317, allocations: 0 / 0.8219 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001639/0.005481, allocations: 12 kB / 0.8219 GB, free: 14.92 MB / 0.8073 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 6.95e-05/0.005551, allocations: 72.42 kB / 0.822 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.106e-05/0.005612, allocations: 20.78 kB / 0.822 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.005615, allocations: 0 / 0.822 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.872e-05/0.005634, allocations: 12.92 kB / 0.822 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001571/0.005791, allocations: 10.03 kB / 0.822 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000354/0.006145, allocations: 120.6 kB / 0.8221 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000148/0.006293, allocations: 55.22 kB / 0.8222 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.391e-05/0.006317, allocations: 4 kB / 0.8222 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.663e-05/0.006364, allocations: 51.36 kB / 0.8222 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of SimCode: time 6.81e-07/0.006364, allocations: 4.062 kB / 0.8222 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of Templates: time 0.002212/0.008576, allocations: 0.6601 MB / 0.8229 GB, free: 13.87 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized/Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.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.1943215392529964]