Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 106.6 kB / 18.19 MB, free: 4.141 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001614/0.001614, allocations: 188.4 kB / 21.34 MB, free: 1 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.546/1.546, allocations: 225.6 MB / 249.9 MB, free: 3.211 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.978/2.978, allocations: 476.7 MB / 0.7634 GB, free: 15.31 MB / 0.6075 GB [Timeout remaining time 86] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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=501,variableFilter="time|T|TExact",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=501,variableFilter="time|T|TExact",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 71.89 kB / 1.108 GB, free: 4.723 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.241/1.243, allocations: 168.7 MB / 1.272 GB, free: 7.945 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.003334/1.246, allocations: 0.5908 MB / 1.273 GB, free: 7.59 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0004922/1.246, allocations: 101.6 kB / 1.273 GB, free: 7.523 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.702e-05/1.246, allocations: 0.875 kB / 1.273 GB, free: 7.523 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.305e-05/1.246, allocations: 0 / 1.273 GB, free: 7.523 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.505e-05/1.246, allocations: 3.938 kB / 1.273 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003629/1.247, allocations: 14.78 kB / 1.273 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.198e-05/1.247, allocations: 8.938 kB / 1.273 GB, free: 7.512 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.004e-05/1.247, allocations: 2.094 kB / 1.273 GB, free: 7.512 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.785e-05/1.247, allocations: 6 kB / 1.273 GB, free: 7.508 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.667e-05/1.247, allocations: 7.25 kB / 1.273 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.651e-05/1.247, allocations: 0.75 kB / 1.273 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/1.247, allocations: 15.14 kB / 1.273 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.702e-05/1.247, allocations: 1 kB / 1.273 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.266e-05/1.247, allocations: 10.03 kB / 1.273 GB, free: 7.492 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001279/1.247, allocations: 13.56 kB / 1.273 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/1.247, allocations: 0.6562 kB / 1.273 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.184e-06/1.247, allocations: 0 / 1.273 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.337e-06/1.247, allocations: 1.406 kB / 1.273 GB, free: 7.488 MB / 0.9981 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.0004291/1.248, allocations: 323.8 kB / 1.273 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.979e-05/1.248, allocations: 9.812 kB / 1.274 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002445/1.248, allocations: 10.25 kB / 1.274 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.151e-05/1.248, allocations: 163.7 kB / 1.274 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.473e-05/1.248, allocations: 2.141 kB / 1.274 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.961e-05/1.248, allocations: 5.859 kB / 1.274 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001801/1.248, allocations: 39.69 kB / 1.274 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/1.248, allocations: 192 / 1.274 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/1.248, allocations: 8.562 kB / 1.274 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/1.248, allocations: 0.6875 kB / 1.274 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001436/1.249, allocations: 15.28 kB / 1.274 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001653/1.249, allocations: 151.3 kB / 1.274 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002908/1.249, allocations: 37.86 kB / 1.274 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.76e-05/1.249, allocations: 19.92 kB / 1.274 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/1.249, allocations: 4.703 kB / 1.274 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/1.249, allocations: 31.98 kB / 1.274 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.753e-06/1.249, allocations: 3.938 kB / 1.274 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0003858/1.25, allocations: 60.41 kB / 1.274 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.45e-05/1.25, allocations: 56.16 kB / 1.274 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.744e-05/1.25, allocations: 94.52 kB / 1.274 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.08e-05/1.25, allocations: 30.45 kB / 1.274 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.369e-05/1.25, allocations: 80.14 kB / 1.274 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.028e-05/1.25, allocations: 10.59 kB / 1.274 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.014e-05/1.25, allocations: 17.53 kB / 1.274 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.784e-05/1.25, allocations: 313 kB / 1.275 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.124e-05/1.25, allocations: 5.219 kB / 1.275 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.327e-05/1.25, allocations: 6.359 kB / 1.275 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/1.25, allocations: 24.95 kB / 1.275 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/1.25, allocations: 0 / 1.275 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002061/1.25, allocations: 51.22 kB / 1.275 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.618e-05/1.25, allocations: 6.703 kB / 1.275 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/1.25, allocations: 0 / 1.275 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.208e-05/1.25, allocations: 4.625 kB / 1.275 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006373/1.251, allocations: 45.11 kB / 1.275 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001632/1.253, allocations: 1.41 MB / 1.276 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.16e-05/1.253, allocations: 5.031 kB / 1.276 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/1.253, allocations: 0.9062 kB / 1.276 GB, free: 4.426 MB / 0.9981 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 7.76e-05/1.253, allocations: 120.2 kB / 1.276 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.672e-05/1.253, allocations: 0.75 kB / 1.276 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.942e-05/1.253, allocations: 4.562 kB / 1.276 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/1.253, allocations: 0 / 1.276 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/1.253, allocations: 0.8438 kB / 1.276 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/1.253, allocations: 1.688 kB / 1.276 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.478e-05/1.253, allocations: 160.4 kB / 1.276 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/1.253, allocations: 0 / 1.276 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000607/1.254, allocations: 49.8 kB / 1.276 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.708e-06/1.254, allocations: 0.8125 kB / 1.276 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.689e-06/1.254, allocations: 0.875 kB / 1.276 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001444/1.255, allocations: 1.409 MB / 1.278 GB, free: 2.645 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/1.255, allocations: 0.8438 kB / 1.278 GB, free: 2.645 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002981/1.255, allocations: 73.2 kB / 1.278 GB, free: 18.57 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 7.888e-05/1.255, allocations: 81.05 kB / 1.278 GB, free: 18.48 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/1.255, allocations: 9.672 kB / 1.278 GB, free: 18.47 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.965e-05/1.255, allocations: 8.828 kB / 1.278 GB, free: 18.46 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.428e-05/1.255, allocations: 1.688 kB / 1.278 GB, free: 18.46 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.535e-06/1.255, allocations: 0.8438 kB / 1.278 GB, free: 18.46 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.614e-05/1.256, allocations: 76.03 kB / 1.278 GB, free: 18.39 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/1.256, allocations: 0 / 1.278 GB, free: 18.39 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003584/1.256, allocations: 7.875 kB / 1.278 GB, free: 18.39 MB / 1.014 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.0002099/1.256, allocations: 98.25 kB / 1.278 GB, free: 18.3 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0007325/1.257, allocations: 69.73 kB / 1.278 GB, free: 18.28 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/1.257, allocations: 0 / 1.278 GB, free: 18.28 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006107/1.257, allocations: 60.66 kB / 1.278 GB, free: 18.27 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002263/1.258, allocations: 3.844 kB / 1.278 GB, free: 18.27 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005851/1.258, allocations: 126.3 kB / 1.278 GB, free: 18.14 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004752/1.259, allocations: 0.6739 MB / 1.279 GB, free: 17.44 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.303e-05/1.259, allocations: 12.56 kB / 1.279 GB, free: 17.43 MB / 1.014 GB Notification: Performance of SimCode: time 6.72e-07/1.259, allocations: 0 / 1.279 GB, free: 17.43 MB / 1.014 GB Notification: Performance of Templates: time 0.003792/1.263, allocations: 0.5872 MB / 1.28 GB, free: 17.41 MB / 1.014 GB [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_PowerLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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