Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 113.2 kB / 17.08 MB, free: 5.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001551/0.001551, allocations: 193.2 kB / 20.03 MB, free: 3.004 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 222.9 MB / 245.7 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.623/2.623, allocations: 437.1 MB / 0.7178 GB, free: 4.707 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|TExact",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|TExact",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 71.88 kB / 1.028 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3486/0.3505, allocations: 151.6 MB / 1.176 GB, free: 5.812 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001671/0.3522, allocations: 0.5872 MB / 1.176 GB, free: 5.223 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0002936/0.3526, allocations: 91.72 kB / 1.177 GB, free: 5.133 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.78e-05/0.3526, allocations: 0 / 1.177 GB, free: 5.133 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.701e-05/0.3526, allocations: 0 / 1.177 GB, free: 5.133 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.419e-05/0.3527, allocations: 0 / 1.177 GB, free: 5.133 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002369/0.3529, allocations: 23.91 kB / 1.177 GB, free: 5.109 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 5.819e-05/0.353, allocations: 11.92 kB / 1.177 GB, free: 5.098 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.724e-05/0.353, allocations: 416 / 1.177 GB, free: 5.098 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.027e-05/0.353, allocations: 4 kB / 1.177 GB, free: 5.094 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.208e-05/0.3531, allocations: 8 kB / 1.177 GB, free: 5.086 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.216e-05/0.3531, allocations: 0 / 1.177 GB, free: 5.086 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 5.852e-05/0.3532, allocations: 11.98 kB / 1.177 GB, free: 5.074 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.634e-05/0.3532, allocations: 7.984 kB / 1.177 GB, free: 5.066 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.103e-05/0.3532, allocations: 7.938 kB / 1.177 GB, free: 5.059 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 8.329e-05/0.3533, allocations: 11.97 kB / 1.177 GB, free: 5.047 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3533, allocations: 3.938 kB / 1.177 GB, free: 5.043 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.853e-06/0.3534, allocations: 0 / 1.177 GB, free: 5.043 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.307e-06/0.3534, allocations: 0 / 1.177 GB, free: 5.043 MB / 0.92 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.0004315/0.3538, allocations: 319.5 kB / 1.177 GB, free: 4.68 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.3539, allocations: 16.02 kB / 1.177 GB, free: 4.664 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001506/0.354, allocations: 16.81 kB / 1.177 GB, free: 4.648 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/0.3541, allocations: 164.4 kB / 1.177 GB, free: 4.449 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.3542, allocations: 384 / 1.177 GB, free: 4.449 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.694e-06/0.3542, allocations: 384 / 1.177 GB, free: 4.449 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.3543, allocations: 38.25 kB / 1.177 GB, free: 4.406 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.3543, allocations: 192 / 1.177 GB, free: 4.406 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.3543, allocations: 7.938 kB / 1.177 GB, free: 4.398 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.3544, allocations: 4 kB / 1.177 GB, free: 4.395 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.384e-05/0.3545, allocations: 11.98 kB / 1.177 GB, free: 4.383 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001645/0.3546, allocations: 153.6 kB / 1.177 GB, free: 4.184 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001777/0.3548, allocations: 46.55 kB / 1.177 GB, free: 4.129 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.044e-05/0.3549, allocations: 16.91 kB / 1.177 GB, free: 4.109 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.3549, allocations: 4 kB / 1.177 GB, free: 4.105 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.3549, allocations: 30.56 kB / 1.177 GB, free: 4.066 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.3549, allocations: 0 / 1.177 GB, free: 4.066 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0002254/0.3552, allocations: 65.55 kB / 1.177 GB, free: 3.996 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.3552, allocations: 59.34 kB / 1.178 GB, free: 3.926 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.078e-05/0.3553, allocations: 89.86 kB / 1.178 GB, free: 3.828 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.3553, allocations: 25.7 kB / 1.178 GB, free: 3.797 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.974e-05/0.3554, allocations: 84.14 kB / 1.178 GB, free: 3.711 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.043e-05/0.3554, allocations: 3.953 kB / 1.178 GB, free: 3.707 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.466e-05/0.3554, allocations: 21.7 kB / 1.178 GB, free: 3.68 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.3556, allocations: 310.8 kB / 1.178 GB, free: 3.367 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.887e-05/0.3556, allocations: 4 kB / 1.178 GB, free: 3.363 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.39e-05/0.3557, allocations: 11.98 kB / 1.178 GB, free: 3.352 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.942e-05/0.3558, allocations: 20.84 kB / 1.178 GB, free: 3.328 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3558, allocations: 0 / 1.178 GB, free: 3.328 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001136/0.3559, allocations: 53.62 kB / 1.178 GB, free: 3.27 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.3559, allocations: 8 kB / 1.178 GB, free: 3.262 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.3559, allocations: 0 / 1.178 GB, free: 3.262 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.3559, allocations: 3.938 kB / 1.178 GB, free: 3.258 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003828/0.3563, allocations: 40.27 kB / 1.178 GB, free: 3.219 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001508/0.3578, allocations: 1.416 MB / 1.18 GB, free: 1.664 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.99e-05/0.3579, allocations: 3.953 kB / 1.18 GB, free: 1.66 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.3579, allocations: 0 / 1.18 GB, free: 1.66 MB / 0.92 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.931e-05/0.358, allocations: 121.9 kB / 1.18 GB, free: 1.531 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.096e-06/0.358, allocations: 0 / 1.18 GB, free: 1.531 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.619e-05/0.358, allocations: 11.44 kB / 1.18 GB, free: 1.516 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.358, allocations: 0 / 1.18 GB, free: 1.516 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-06/0.3581, allocations: 0 / 1.18 GB, free: 1.516 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.903e-06/0.3581, allocations: 0 / 1.18 GB, free: 1.516 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000125/0.3582, allocations: 157.6 kB / 1.18 GB, free: 1.312 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3582, allocations: 0 / 1.18 GB, free: 1.312 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003788/0.3586, allocations: 47.94 kB / 1.18 GB, free: 1.266 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3586, allocations: 0 / 1.18 GB, free: 1.266 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.3586, allocations: 7.984 kB / 1.18 GB, free: 1.258 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001352/0.36, allocations: 1.404 MB / 1.181 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.36, allocations: 0 / 1.181 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001421/0.3601, allocations: 73.14 kB / 1.181 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.096e-05/0.3602, allocations: 77.11 kB / 1.181 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.708e-06/0.3602, allocations: 7.938 kB / 1.181 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.735e-05/0.3602, allocations: 0 / 1.181 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.191e-05/0.3603, allocations: 27.95 kB / 1.181 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.3603, allocations: 0 / 1.181 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.522e-05/0.3603, allocations: 75.28 kB / 1.182 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.3603, allocations: 0 / 1.182 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001919/0.3605, allocations: 4 kB / 1.182 GB, free: 15.42 MB / 0.9356 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001845/0.3607, allocations: 100.7 kB / 1.182 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005036/0.3612, allocations: 63.91 kB / 1.182 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.3612, allocations: 0 / 1.182 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003952/0.3616, allocations: 55.92 kB / 1.182 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001792/0.3618, allocations: 6.234 kB / 1.182 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004323/0.3622, allocations: 118.5 kB / 1.182 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004101/0.3627, allocations: 0.6729 MB / 1.183 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3e-05/0.3627, allocations: 11.42 kB / 1.183 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of SimCode: time 2.9e-07/0.3627, allocations: 0 / 1.183 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of Templates: time 0.002505/0.3652, allocations: 0.5893 MB / 1.183 GB, free: 13.74 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_PowerLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.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.445432686945423]