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.001571/0.001571, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.001685/0.001685, allocations: 191.2 kB / 22.23 MB, free: 5.137 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.413/1.413, allocations: 225.6 MB / 251 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.535/2.535, allocations: 443.5 MB / 0.7321 GB, free: 12.27 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.001985/0.001985, allocations: 64.08 kB / 1.061 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7526/0.7546, allocations: 160.8 MB / 1.219 GB, free: 3.676 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001929/0.7565, allocations: 0.5874 MB / 1.219 GB, free: 3.242 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0003571/0.7569, allocations: 97.72 kB / 1.219 GB, free: 3.168 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.109e-05/0.7569, allocations: 0 / 1.219 GB, free: 3.168 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.91e-05/0.7569, allocations: 1.125 kB / 1.219 GB, free: 3.168 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.248e-05/0.757, allocations: 3.938 kB / 1.219 GB, free: 3.164 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002417/0.7572, allocations: 17.86 kB / 1.219 GB, free: 3.152 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 5.954e-05/0.7573, allocations: 8.031 kB / 1.219 GB, free: 3.148 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.484e-05/0.7573, allocations: 5.359 kB / 1.219 GB, free: 3.145 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.996e-05/0.7573, allocations: 2.812 kB / 1.219 GB, free: 3.145 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.114e-05/0.7574, allocations: 5.312 kB / 1.219 GB, free: 3.141 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.7575, allocations: 1.312 kB / 1.219 GB, free: 3.141 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 6.793e-05/0.7575, allocations: 14.64 kB / 1.219 GB, free: 3.133 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.733e-05/0.7575, allocations: 7.984 kB / 1.219 GB, free: 3.125 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.462e-05/0.7576, allocations: 6.031 kB / 1.219 GB, free: 3.121 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 9.967e-05/0.7577, allocations: 9.453 kB / 1.219 GB, free: 3.117 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.7577, allocations: 0 / 1.219 GB, free: 3.117 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.336e-06/0.7577, allocations: 0 / 1.219 GB, free: 3.117 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.905e-06/0.7577, allocations: 5.094 kB / 1.219 GB, free: 3.113 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.0004704/0.7581, allocations: 323.7 kB / 1.22 GB, free: 2.758 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.7582, allocations: 9.281 kB / 1.22 GB, free: 2.758 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001718/0.7584, allocations: 17.75 kB / 1.22 GB, free: 2.746 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.7585, allocations: 164.4 kB / 1.22 GB, free: 2.547 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.7585, allocations: 5.656 kB / 1.22 GB, free: 2.543 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.7585, allocations: 1.469 kB / 1.22 GB, free: 2.543 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.7587, allocations: 47.08 kB / 1.22 GB, free: 2.496 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.7587, allocations: 1.375 kB / 1.22 GB, free: 2.496 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.7587, allocations: 3.938 kB / 1.22 GB, free: 2.492 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.7587, allocations: 0 / 1.22 GB, free: 2.492 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.819e-05/0.7588, allocations: 19.17 kB / 1.22 GB, free: 2.48 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001898/0.759, allocations: 149.4 kB / 1.22 GB, free: 2.289 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001862/0.7592, allocations: 44.38 kB / 1.22 GB, free: 2.25 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.039e-05/0.7592, allocations: 12.16 kB / 1.22 GB, free: 2.238 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.7593, allocations: 1.094 kB / 1.22 GB, free: 2.238 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/0.7593, allocations: 35.69 kB / 1.22 GB, free: 2.195 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.133e-06/0.7593, allocations: 0 / 1.22 GB, free: 2.195 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0002299/0.7595, allocations: 69.33 kB / 1.22 GB, free: 2.137 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.195e-05/0.7596, allocations: 51.41 kB / 1.22 GB, free: 2.074 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.43e-05/0.7596, allocations: 91.02 kB / 1.22 GB, free: 1.977 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.7597, allocations: 25.7 kB / 1.22 GB, free: 1.945 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.415e-05/0.7597, allocations: 80.14 kB / 1.22 GB, free: 1.863 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.997e-05/0.7597, allocations: 6.141 kB / 1.22 GB, free: 1.859 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.257e-05/0.7598, allocations: 19.88 kB / 1.22 GB, free: 1.836 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.7599, allocations: 316 kB / 1.221 GB, free: 1.52 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.381e-05/0.76, allocations: 7.844 kB / 1.221 GB, free: 1.516 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.427e-05/0.76, allocations: 11.55 kB / 1.221 GB, free: 1.508 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.381e-05/0.7601, allocations: 18.27 kB / 1.221 GB, free: 1.496 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.7601, allocations: 0 / 1.221 GB, free: 1.496 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001176/0.7602, allocations: 54.58 kB / 1.221 GB, free: 1.449 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.7602, allocations: 8.531 kB / 1.221 GB, free: 1.445 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.7602, allocations: 1.25 kB / 1.221 GB, free: 1.445 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.7602, allocations: 3.938 kB / 1.221 GB, free: 1.441 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003798/0.7606, allocations: 40.28 kB / 1.221 GB, free: 1.426 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001528/0.7621, allocations: 1.415 MB / 1.222 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.875e-05/0.7622, allocations: 1.062 kB / 1.222 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.7622, allocations: 1.219 kB / 1.222 GB, free: 15.94 MB / 0.9356 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.716e-05/0.7623, allocations: 119.1 kB / 1.222 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.074e-05/0.7623, allocations: 9.328 kB / 1.222 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.009e-05/0.7623, allocations: 11.52 kB / 1.222 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.7623, allocations: 1.25 kB / 1.222 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-06/0.7623, allocations: 0 / 1.222 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.7623, allocations: 0 / 1.222 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000136/0.7624, allocations: 153.5 kB / 1.222 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.7624, allocations: 3.984 kB / 1.222 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003632/0.7628, allocations: 51.53 kB / 1.223 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.7628, allocations: 0 / 1.223 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.7628, allocations: 5.094 kB / 1.223 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00136/0.7642, allocations: 1.407 MB / 1.224 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.7642, allocations: 4.062 kB / 1.224 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001387/0.7643, allocations: 70.61 kB / 1.224 GB, free: 14 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.706e-05/0.7644, allocations: 78.55 kB / 1.224 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.205e-06/0.7644, allocations: 5.094 kB / 1.224 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.683e-05/0.7644, allocations: 3.938 kB / 1.224 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.392e-05/0.7644, allocations: 14.14 kB / 1.224 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.7644, allocations: 4.969 kB / 1.224 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.354e-05/0.7645, allocations: 75.28 kB / 1.224 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.7645, allocations: 0 / 1.224 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001923/0.7647, allocations: 4 kB / 1.224 GB, free: 13.81 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.0001176/0.7648, allocations: 93.47 kB / 1.224 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004593/0.7652, allocations: 65.09 kB / 1.224 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.7652, allocations: 0 / 1.224 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002281/0.7655, allocations: 35.06 kB / 1.224 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001351/0.7656, allocations: 5.562 kB / 1.224 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003476/0.766, allocations: 104.8 kB / 1.224 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003216/0.7663, allocations: 0.6752 MB / 1.225 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.903e-05/0.7663, allocations: 2.156 kB / 1.225 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.274e-05/0.7663, allocations: 9.812 kB / 1.225 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of SimCode: time 3e-07/0.7663, allocations: 0 / 1.225 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of Templates: time 0.002869/0.7692, allocations: 440.1 kB / 1.226 GB, free: 12.63 MB / 0.9356 GB " [Timeout remaining time 299] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 8.316246061585844]