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.001766/0.001766, allocations: 102.3 kB / 19.7 MB, free: 2.254 MB / 14.72 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.00216/0.00216, allocations: 217.9 kB / 23.01 MB, free: 4.609 MB / 14.72 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.459/1.459, allocations: 230.6 MB / 256.8 MB, free: 8.055 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.285/3.285, allocations: 0.505 GB / 0.8108 GB, free: 22.05 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 65.39 kB / 1.178 GB, free: 16.87 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3418/0.3438, allocations: 180.2 MB / 1.354 GB, free: 7.965 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002626/0.3465, allocations: 1.473 MB / 1.356 GB, free: 6.484 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0002632/0.3467, allocations: 83.81 kB / 1.356 GB, free: 6.402 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.823e-05/0.3468, allocations: 3.938 kB / 1.356 GB, free: 6.398 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.506e-05/0.3468, allocations: 4 kB / 1.356 GB, free: 6.395 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.044e-05/0.3468, allocations: 3.938 kB / 1.356 GB, free: 6.391 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001792/0.347, allocations: 19.97 kB / 1.356 GB, free: 6.371 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 7.402e-05/0.3471, allocations: 23.92 kB / 1.356 GB, free: 6.348 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.244e-05/0.3472, allocations: 7.984 kB / 1.356 GB, free: 6.34 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.181e-05/0.3472, allocations: 11.94 kB / 1.356 GB, free: 6.328 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 4.263e-05/0.3473, allocations: 15.92 kB / 1.356 GB, free: 6.312 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.236e-05/0.3473, allocations: 0 / 1.356 GB, free: 6.312 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 6.77e-05/0.3473, allocations: 23.98 kB / 1.356 GB, free: 6.289 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.154e-05/0.3473, allocations: 0 / 1.356 GB, free: 6.289 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.384e-05/0.3474, allocations: 7.938 kB / 1.356 GB, free: 6.281 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001099/0.3475, allocations: 43.81 kB / 1.356 GB, free: 6.238 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.3475, allocations: 0 / 1.356 GB, free: 6.238 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3475, allocations: 4 kB / 1.356 GB, free: 6.234 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.3475, allocations: 0 / 1.356 GB, free: 6.234 MB / 1.045 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.0004298/0.3479, allocations: 272.5 kB / 1.356 GB, free: 5.938 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.3479, allocations: 8.031 kB / 1.356 GB, free: 5.93 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001617/0.3481, allocations: 20.88 kB / 1.356 GB, free: 5.91 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.3482, allocations: 110.5 kB / 1.356 GB, free: 5.777 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.3482, allocations: 384 / 1.356 GB, free: 5.777 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.623e-05/0.3483, allocations: 8.359 kB / 1.356 GB, free: 5.77 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001962/0.3485, allocations: 58.23 kB / 1.356 GB, free: 5.707 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.3485, allocations: 192 / 1.356 GB, free: 5.707 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.3485, allocations: 3.938 kB / 1.356 GB, free: 5.703 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.3485, allocations: 0 / 1.356 GB, free: 5.703 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000212/0.3487, allocations: 51.94 kB / 1.356 GB, free: 5.652 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004042/0.3491, allocations: 235.9 kB / 1.357 GB, free: 5.379 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001691/0.3493, allocations: 50.48 kB / 1.357 GB, free: 5.32 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.3494, allocations: 36.83 kB / 1.357 GB, free: 5.281 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.539e-05/0.3494, allocations: 4 kB / 1.357 GB, free: 5.277 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.3494, allocations: 34.56 kB / 1.357 GB, free: 5.234 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.3494, allocations: 0 / 1.357 GB, free: 5.234 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0004114/0.3498, allocations: 105.5 kB / 1.357 GB, free: 5.125 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.79e-05/0.3499, allocations: 51.41 kB / 1.357 GB, free: 5.062 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.672e-05/0.3499, allocations: 105.8 kB / 1.357 GB, free: 4.949 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.618e-05/0.35, allocations: 29.7 kB / 1.357 GB, free: 4.914 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.637e-05/0.35, allocations: 84.27 kB / 1.357 GB, free: 4.828 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.343e-05/0.35, allocations: 11.89 kB / 1.357 GB, free: 4.816 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.535e-05/0.3501, allocations: 17.7 kB / 1.357 GB, free: 4.793 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.3502, allocations: 314.8 kB / 1.357 GB, free: 4.477 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.3503, allocations: 23.97 kB / 1.357 GB, free: 4.453 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.799e-05/0.3504, allocations: 19.98 kB / 1.357 GB, free: 4.434 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001875/0.3506, allocations: 56.88 kB / 1.357 GB, free: 4.375 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3506, allocations: 0 / 1.357 GB, free: 4.375 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002354/0.3508, allocations: 81.52 kB / 1.357 GB, free: 4.289 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.3509, allocations: 8 kB / 1.357 GB, free: 4.281 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.3509, allocations: 4.031 kB / 1.357 GB, free: 4.277 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.3509, allocations: 0 / 1.357 GB, free: 4.277 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.351, allocations: 11.98 kB / 1.358 GB, free: 4.266 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.351, allocations: 0 / 1.358 GB, free: 4.266 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.488e-05/0.3511, allocations: 11.98 kB / 1.358 GB, free: 4.254 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.3511, allocations: 0 / 1.358 GB, free: 4.254 MB / 1.045 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 9.054e-05/0.3512, allocations: 118.4 kB / 1.358 GB, free: 4.129 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.537e-05/0.3512, allocations: 3.953 kB / 1.358 GB, free: 4.125 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.614e-05/0.3512, allocations: 11.62 kB / 1.358 GB, free: 4.113 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.3512, allocations: 4 kB / 1.358 GB, free: 4.109 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.3512, allocations: 0 / 1.358 GB, free: 4.109 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.3512, allocations: 0 / 1.358 GB, free: 4.109 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001754/0.3514, allocations: 140.7 kB / 1.358 GB, free: 3.93 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3514, allocations: 256 / 1.358 GB, free: 3.93 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.012e-05/0.3515, allocations: 8 kB / 1.358 GB, free: 3.922 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.471e-06/0.3515, allocations: 7.984 kB / 1.358 GB, free: 3.914 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.3515, allocations: 0 / 1.358 GB, free: 3.914 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.3515, allocations: 3.984 kB / 1.358 GB, free: 3.91 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.3515, allocations: 3.938 kB / 1.358 GB, free: 3.906 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000291/0.3518, allocations: 179.5 kB / 1.358 GB, free: 3.715 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.141e-05/0.3518, allocations: 7.938 kB / 1.358 GB, free: 3.707 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.288e-05/0.3518, allocations: 0 / 1.358 GB, free: 3.707 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.186e-05/0.3519, allocations: 11.94 kB / 1.358 GB, free: 3.695 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.502e-05/0.3519, allocations: 8.016 kB / 1.358 GB, free: 3.688 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/0.3519, allocations: 3.938 kB / 1.358 GB, free: 3.684 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.574e-05/0.352, allocations: 83.28 kB / 1.358 GB, free: 3.602 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.352, allocations: 0 / 1.358 GB, free: 3.602 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002193/0.3522, allocations: 8 kB / 1.358 GB, free: 3.594 MB / 1.045 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 0.0001196/0.3523, allocations: 95.23 kB / 1.358 GB, free: 3.492 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000255/0.3526, allocations: 55.89 kB / 1.358 GB, free: 3.438 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.3526, allocations: 0 / 1.358 GB, free: 3.438 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001059/0.3527, allocations: 27.97 kB / 1.358 GB, free: 3.41 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002601/0.3529, allocations: 3.938 kB / 1.358 GB, free: 3.406 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003608/0.3533, allocations: 143.2 kB / 1.358 GB, free: 3.234 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003206/0.3536, allocations: 0.6808 MB / 1.359 GB, free: 2.527 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.777e-05/0.3537, allocations: 11.44 kB / 1.359 GB, free: 2.516 MB / 1.045 GB Notification: Performance of SimCode: time 2.8e-07/0.3537, allocations: 0 / 1.359 GB, free: 2.516 MB / 1.045 GB Notification: Performance of Templates: time 0.002155/0.3558, allocations: 0.63 MB / 1.36 GB, free: 1.887 MB / 1.045 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_PowerLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.942732249997789]