Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.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.001341/0.001341, allocations: 102.1 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.001451/0.001451, allocations: 220.8 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.44/1.44, allocations: 230.6 MB / 256.8 MB, free: 8.047 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.208/3.208, allocations: 0.505 GB / 0.8108 GB, free: 22.04 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.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|TExact",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Math.Functions.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.002122/0.002122, allocations: 67.48 kB / 1.178 GB, free: 17.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3467/0.3488, allocations: 180.2 MB / 1.354 GB, free: 8.074 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001826/0.3506, allocations: 0.5836 MB / 1.355 GB, free: 7.492 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0003108/0.3509, allocations: 100 kB / 1.355 GB, free: 7.395 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.211e-05/0.351, allocations: 4 kB / 1.355 GB, free: 7.391 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.555e-05/0.351, allocations: 3.938 kB / 1.355 GB, free: 7.387 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 3.921e-05/0.351, allocations: 0 / 1.355 GB, free: 7.387 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002195/0.3512, allocations: 19.98 kB / 1.355 GB, free: 7.367 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 4.895e-05/0.3513, allocations: 4 kB / 1.355 GB, free: 7.363 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.056e-05/0.3513, allocations: 0 / 1.355 GB, free: 7.363 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 2.067e-05/0.3513, allocations: 8 kB / 1.355 GB, free: 7.355 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.411e-05/0.3514, allocations: 7.969 kB / 1.355 GB, free: 7.348 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.076e-05/0.3514, allocations: 3.938 kB / 1.355 GB, free: 7.344 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 6.033e-05/0.3515, allocations: 15.98 kB / 1.355 GB, free: 7.328 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.557e-05/0.3515, allocations: 7.938 kB / 1.355 GB, free: 7.32 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.033e-05/0.3515, allocations: 4 kB / 1.355 GB, free: 7.316 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 8.207e-05/0.3516, allocations: 7.984 kB / 1.355 GB, free: 7.309 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.832e-06/0.3516, allocations: 4 kB / 1.355 GB, free: 7.305 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3516, allocations: 0 / 1.355 GB, free: 7.305 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.98e-06/0.3516, allocations: 0 / 1.355 GB, free: 7.305 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.0003412/0.352, allocations: 242.4 kB / 1.355 GB, free: 7.035 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.352, allocations: 8.031 kB / 1.355 GB, free: 7.027 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001557/0.3522, allocations: 20.81 kB / 1.355 GB, free: 7.008 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.824e-05/0.3522, allocations: 106.5 kB / 1.355 GB, free: 6.879 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.3523, allocations: 8.359 kB / 1.355 GB, free: 6.871 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.039e-05/0.3523, allocations: 4.312 kB / 1.355 GB, free: 6.867 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.3524, allocations: 38.25 kB / 1.355 GB, free: 6.824 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.3524, allocations: 192 / 1.355 GB, free: 6.824 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.898e-06/0.3524, allocations: 3.938 kB / 1.355 GB, free: 6.82 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.309e-06/0.3524, allocations: 0 / 1.355 GB, free: 6.82 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.31e-05/0.3525, allocations: 19.92 kB / 1.355 GB, free: 6.801 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001623/0.3527, allocations: 132.7 kB / 1.355 GB, free: 6.629 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001614/0.3528, allocations: 38.59 kB / 1.355 GB, free: 6.582 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.5e-05/0.3529, allocations: 8.922 kB / 1.355 GB, free: 6.57 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.17e-05/0.3529, allocations: 0 / 1.355 GB, free: 6.57 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.3529, allocations: 34.56 kB / 1.356 GB, free: 6.527 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 7.61e-07/0.3529, allocations: 8 kB / 1.356 GB, free: 6.52 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0002182/0.3531, allocations: 57.55 kB / 1.356 GB, free: 6.457 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/0.3532, allocations: 55.41 kB / 1.356 GB, free: 6.391 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.134e-05/0.3532, allocations: 89.86 kB / 1.356 GB, free: 6.293 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.3532, allocations: 25.7 kB / 1.356 GB, free: 6.262 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.407e-05/0.3533, allocations: 84.12 kB / 1.356 GB, free: 6.176 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.428e-05/0.3534, allocations: 7.953 kB / 1.356 GB, free: 6.168 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.5e-05/0.3534, allocations: 17.7 kB / 1.356 GB, free: 6.145 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.3536, allocations: 314.8 kB / 1.356 GB, free: 5.828 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.255e-05/0.3536, allocations: 8 kB / 1.356 GB, free: 5.82 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.198e-05/0.3536, allocations: 7.984 kB / 1.356 GB, free: 5.812 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.617e-05/0.3537, allocations: 20.84 kB / 1.356 GB, free: 5.789 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3537, allocations: 0 / 1.356 GB, free: 5.789 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002055/0.3539, allocations: 49.62 kB / 1.356 GB, free: 5.734 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.3539, allocations: 8 kB / 1.356 GB, free: 5.727 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.3539, allocations: 4 kB / 1.356 GB, free: 5.723 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/0.354, allocations: 3.938 kB / 1.356 GB, free: 5.719 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003937/0.3544, allocations: 43.92 kB / 1.356 GB, free: 5.676 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001562/0.3559, allocations: 1.305 MB / 1.358 GB, free: 4.258 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.771e-05/0.3559, allocations: 0 / 1.358 GB, free: 4.258 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/0.356, allocations: 8.016 kB / 1.358 GB, free: 4.25 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 (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 0.0001078/0.3561, allocations: 121.7 kB / 1.358 GB, free: 4.121 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.049e-05/0.3561, allocations: 3.953 kB / 1.358 GB, free: 4.117 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.692e-05/0.3561, allocations: 7.594 kB / 1.358 GB, free: 4.105 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.3561, allocations: 0 / 1.358 GB, free: 4.105 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.3561, allocations: 7.938 kB / 1.358 GB, free: 4.098 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-06/0.3561, allocations: 4 kB / 1.358 GB, free: 4.094 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001237/0.3562, allocations: 128.7 kB / 1.358 GB, free: 3.926 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3562, allocations: 3.938 kB / 1.358 GB, free: 3.922 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003544/0.3566, allocations: 47.94 kB / 1.358 GB, free: 3.875 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.3566, allocations: 3.984 kB / 1.358 GB, free: 3.871 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.3566, allocations: 0 / 1.358 GB, free: 3.871 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001373/0.358, allocations: 1.297 MB / 1.359 GB, free: 2.465 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.358, allocations: 0 / 1.359 GB, free: 2.465 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001496/0.3581, allocations: 81.2 kB / 1.359 GB, free: 2.367 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.392e-06/0.3581, allocations: 4 kB / 1.359 GB, free: 2.363 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.031e-05/0.3581, allocations: 3.938 kB / 1.359 GB, free: 2.359 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.531e-05/0.3582, allocations: 0 / 1.359 GB, free: 2.359 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.542e-05/0.3582, allocations: 3.984 kB / 1.359 GB, free: 2.355 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.3582, allocations: 4 kB / 1.359 GB, free: 2.352 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.282e-05/0.3582, allocations: 79.28 kB / 1.359 GB, free: 2.273 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.3582, allocations: 0 / 1.359 GB, free: 2.273 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001945/0.3584, allocations: 4 kB / 1.359 GB, free: 2.27 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 (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.0001674/0.3586, allocations: 95.25 kB / 1.359 GB, free: 2.164 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004716/0.3591, allocations: 63.94 kB / 1.359 GB, free: 2.102 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.3591, allocations: 0 / 1.359 GB, free: 2.102 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003802/0.3594, allocations: 59.86 kB / 1.36 GB, free: 2.043 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001616/0.3596, allocations: 8 kB / 1.36 GB, free: 2.035 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005022/0.3601, allocations: 121.5 kB / 1.36 GB, free: 1.887 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004241/0.3605, allocations: 0.6768 MB / 1.36 GB, free: 1.184 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.411e-05/0.3606, allocations: 7.438 kB / 1.36 GB, free: 1.18 MB / 1.045 GB Notification: Performance of SimCode: time 3.3e-07/0.3606, allocations: 4 kB / 1.36 GB, free: 1.176 MB / 1.045 GB Notification: Performance of Templates: time 0.002882/0.3634, allocations: 0.5853 MB / 1.361 GB, free: 0.5898 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_PowerLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.133984878018964]