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.000835/0.000835, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001194/0.002029, allocations: 440 kB / 10.41 MB, free: 284 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: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001512/0.00258, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9945/0.9945, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08523/1.08, allocations: 53.66 MB / 243.4 MB, free: 15.51 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.35/2.35, allocations: 447.1 MB / 0.675 GB, free: 5.887 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2386/2.588, allocations: 146 MB / 0.8176 GB, free: 3.812 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.603e-06/1.603e-06, allocations: 0 / 0.8189 GB, free: 2.469 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.286e-05/1.447e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.465 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.001971/0.001985, allocations: 1.544 MB / 0.8204 GB, free: 0.9062 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0001676/0.002153, allocations: 99.72 kB / 0.8205 GB, free: 0.8086 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.752e-05/0.00218, allocations: 4 kB / 0.8205 GB, free: 0.8047 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 1.938e-05/0.0022, allocations: 3.938 kB / 0.8205 GB, free: 0.8008 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.133e-05/0.002221, allocations: 3.938 kB / 0.8205 GB, free: 0.7969 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 7.639e-05/0.002298, allocations: 15.92 kB / 0.8206 GB, free: 0.7812 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 5.617e-05/0.002354, allocations: 23.92 kB / 0.8206 GB, free: 0.7578 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 6.927e-05/0.002423, allocations: 4 kB / 0.8206 GB, free: 0.7539 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 6.849e-05/0.002491, allocations: 23.91 kB / 0.8206 GB, free: 0.7305 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 3.735e-05/0.002529, allocations: 11.98 kB / 0.8206 GB, free: 0.7188 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.002543, allocations: 0 / 0.8206 GB, free: 0.7188 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 6.508e-05/0.002608, allocations: 19.98 kB / 0.8206 GB, free: 0.6992 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.272e-05/0.00262, allocations: 4 kB / 0.8206 GB, free: 0.6953 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.297e-05/0.002633, allocations: 7.938 kB / 0.8207 GB, free: 0.6875 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 8.97e-05/0.002723, allocations: 23.92 kB / 0.8207 GB, free: 0.6641 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 9.358e-06/0.002732, allocations: 0 / 0.8207 GB, free: 0.6641 MB / 0.7917 GB Notification: Performance of FrontEnd: time 8.21e-07/0.002733, allocations: 0 / 0.8207 GB, free: 0.6641 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 9.669e-06/0.002743, allocations: 0 / 0.8207 GB, free: 0.6641 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.0002956/0.003038, allocations: 252.5 kB / 0.8209 GB, free: 400 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 2.976e-05/0.003068, allocations: 8.031 kB / 0.8209 GB, free: 392 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001492/0.003217, allocations: 90.03 kB / 0.821 GB, free: 284 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.25e-05/0.00329, allocations: 113.7 kB / 0.8211 GB, free: 144 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.003301, allocations: 4.312 kB / 0.8211 GB, free: 140 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.925e-06/0.003309, allocations: 384 / 0.8211 GB, free: 140 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.041e-05/0.0034, allocations: 62.92 kB / 0.8212 GB, free: 68 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.849e-06/0.003404, allocations: 192 / 0.8212 GB, free: 68 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.073e-06/0.003411, allocations: 4.375 kB / 0.8212 GB, free: 64 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.003415, allocations: 384 / 0.8212 GB, free: 64 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.307e-05/0.003438, allocations: 7.938 kB / 0.8212 GB, free: 56 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002387/0.003677, allocations: 148.3 kB / 0.8213 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.731e-05/0.003724, allocations: 34.55 kB / 0.8214 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.33e-05/0.003738, allocations: 8.922 kB / 0.8214 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 9.508e-06/0.003747, allocations: 0 / 0.8214 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.696e-05/0.003764, allocations: 34.56 kB / 0.8214 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.003765, allocations: 0 / 0.8214 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 8.873e-05/0.003854, allocations: 37.69 kB / 0.8215 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.523e-05/0.003879, allocations: 63.28 kB / 0.8215 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.11e-05/0.00392, allocations: 98.72 kB / 0.8216 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.407e-06/0.003929, allocations: 25.7 kB / 0.8216 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.7e-05/0.003956, allocations: 96.06 kB / 0.8217 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.445e-05/0.003971, allocations: 12.02 kB / 0.8217 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.202e-05/0.003993, allocations: 13.72 kB / 0.8217 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.163e-05/0.004064, allocations: 318.8 kB / 0.822 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.112e-05/0.004076, allocations: 4 kB / 0.8221 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.945e-06/0.004084, allocations: 0 / 0.8221 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.109e-05/0.004105, allocations: 13.09 kB / 0.8221 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.004106, allocations: 4 kB / 0.8221 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.123e-05/0.004148, allocations: 41.64 kB / 0.8221 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.004159, allocations: 7.984 kB / 0.8221 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.004162, allocations: 96 / 0.8221 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.787e-06/0.004171, allocations: 4 kB / 0.8221 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.377e-05/0.004224, allocations: 11.94 kB / 0.8221 GB, free: 15 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.515e-06/0.004227, allocations: 0 / 0.8221 GB, free: 15 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.79e-05/0.004245, allocations: 3.984 kB / 0.8221 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.765e-06/0.004248, allocations: 4 kB / 0.8221 GB, free: 14.99 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 3.957e-05/0.004287, allocations: 109.8 kB / 0.8222 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.169e-05/0.004299, allocations: 0 / 0.8222 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.205e-05/0.004321, allocations: 15.56 kB / 0.8223 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.004322, allocations: 0 / 0.8223 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.983e-06/0.004324, allocations: 7.938 kB / 0.8223 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.004326, allocations: 0 / 0.8223 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.332e-05/0.0044, allocations: 73.89 kB / 0.8223 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.91e-07/0.0044, allocations: 0 / 0.8223 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.272e-05/0.004423, allocations: 7.984 kB / 0.8223 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.32e-06/0.004428, allocations: 4 kB / 0.8223 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.91e-07/0.004429, allocations: 0 / 0.8223 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.436e-06/0.004433, allocations: 0 / 0.8223 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.71e-07/0.004433, allocations: 0 / 0.8223 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.004435, allocations: 3.938 kB / 0.8224 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.305e-05/0.004498, allocations: 143.5 kB / 0.8225 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.204e-06/0.004506, allocations: 0 / 0.8225 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.187e-05/0.004538, allocations: 4 kB / 0.8225 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.374e-05/0.004561, allocations: 3.984 kB / 0.8225 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-06/0.004564, allocations: 4 kB / 0.8225 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.072e-05/0.004574, allocations: 12.8 kB / 0.8225 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.004574, allocations: 0 / 0.8225 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001075/0.004682, allocations: 4 kB / 0.8225 GB, free: 14.55 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 5.982e-05/0.004742, allocations: 76.42 kB / 0.8226 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.642e-05/0.004798, allocations: 20.88 kB / 0.8226 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.004802, allocations: 0 / 0.8226 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.889e-05/0.00482, allocations: 8.859 kB / 0.8226 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001382/0.004959, allocations: 45.58 kB / 0.8227 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002898/0.005249, allocations: 116.5 kB / 0.8228 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.746e-05/0.005276, allocations: 63.39 kB / 0.8228 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.786e-05/0.005294, allocations: 4.188 kB / 0.8228 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.066e-05/0.005334, allocations: 51.38 kB / 0.8229 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of SimCode: time 4.11e-07/0.005335, allocations: 0 / 0.8229 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of Templates: time 0.001892/0.007227, allocations: 0.5789 MB / 0.8235 GB, free: 13.54 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.08302194904536]