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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 110 kB / 18.93 MB, free: 2.945 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.001399/0.001399, allocations: 185.2 kB / 22.23 MB, free: 5.16 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.448/1.448, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.862/2.862, allocations: 476.7 MB / 0.7646 GB, free: 9.883 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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=2500,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=2500,variableFilter="time|T|TExact",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002152/0.002152, allocations: 67.89 kB / 1.11 GB, free: 6.262 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7783/0.7804, allocations: 168.8 MB / 1.274 GB, free: 4.18 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001679/0.7821, allocations: 0.6001 MB / 1.275 GB, free: 3.59 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0003019/0.7824, allocations: 103.6 kB / 1.275 GB, free: 3.488 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.167e-05/0.7824, allocations: 0 / 1.275 GB, free: 3.488 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.119e-05/0.7824, allocations: 0 / 1.275 GB, free: 3.488 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.508e-05/0.7825, allocations: 0 / 1.275 GB, free: 3.488 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002091/0.7827, allocations: 19.98 kB / 1.275 GB, free: 3.469 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.471e-05/0.7828, allocations: 7.938 kB / 1.275 GB, free: 3.461 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.635e-05/0.7828, allocations: 0 / 1.275 GB, free: 3.461 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.501e-05/0.7828, allocations: 0 / 1.275 GB, free: 3.461 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.802e-05/0.7829, allocations: 15.97 kB / 1.275 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.049e-05/0.7829, allocations: 0 / 1.275 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 6.097e-05/0.783, allocations: 11.94 kB / 1.275 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.506e-05/0.783, allocations: 7.984 kB / 1.275 GB, free: 3.426 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.7e-05/0.783, allocations: 3.938 kB / 1.275 GB, free: 3.422 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 8.352e-05/0.7831, allocations: 11.98 kB / 1.275 GB, free: 3.41 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.7831, allocations: 4 kB / 1.275 GB, free: 3.406 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.062e-06/0.7831, allocations: 0 / 1.275 GB, free: 3.406 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5e-06/0.7831, allocations: 0 / 1.275 GB, free: 3.406 MB / 0.9669 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.0003542/0.7834, allocations: 250.1 kB / 1.275 GB, free: 3.133 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.7835, allocations: 8.031 kB / 1.275 GB, free: 3.125 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001517/0.7836, allocations: 8.922 kB / 1.275 GB, free: 3.117 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.532e-05/0.7837, allocations: 109.2 kB / 1.275 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.7837, allocations: 384 / 1.275 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.289e-05/0.7837, allocations: 4.375 kB / 1.275 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001349/0.7839, allocations: 38.25 kB / 1.276 GB, free: 2.941 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.7839, allocations: 4.125 kB / 1.276 GB, free: 2.938 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.7839, allocations: 11.88 kB / 1.276 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.7839, allocations: 0 / 1.276 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.442e-05/0.784, allocations: 11.98 kB / 1.276 GB, free: 2.914 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001712/0.7842, allocations: 124.8 kB / 1.276 GB, free: 2.75 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001915/0.7844, allocations: 42.61 kB / 1.276 GB, free: 2.699 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.287e-05/0.7844, allocations: 12.91 kB / 1.276 GB, free: 2.684 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.7844, allocations: 3.984 kB / 1.276 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/0.7845, allocations: 38.5 kB / 1.276 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.7845, allocations: 0 / 1.276 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0002375/0.7847, allocations: 65.59 kB / 1.276 GB, free: 2.562 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.599e-05/0.7848, allocations: 55.41 kB / 1.276 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.631e-05/0.7848, allocations: 89.86 kB / 1.276 GB, free: 2.398 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.7848, allocations: 25.7 kB / 1.276 GB, free: 2.367 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.785e-05/0.7849, allocations: 84.14 kB / 1.276 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.46e-05/0.7849, allocations: 3.953 kB / 1.276 GB, free: 2.277 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.783e-05/0.7849, allocations: 21.7 kB / 1.276 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001774/0.7851, allocations: 310.8 kB / 1.276 GB, free: 1.938 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.602e-05/0.7852, allocations: 8 kB / 1.276 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.734e-05/0.7852, allocations: 11.98 kB / 1.276 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.879e-05/0.7853, allocations: 24.78 kB / 1.276 GB, free: 1.891 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.7853, allocations: 0 / 1.276 GB, free: 1.891 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001215/0.7854, allocations: 49.64 kB / 1.276 GB, free: 1.836 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.7854, allocations: 4 kB / 1.276 GB, free: 1.832 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.7854, allocations: 4 kB / 1.276 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.7854, allocations: 3.938 kB / 1.277 GB, free: 1.824 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004293/0.7859, allocations: 47.92 kB / 1.277 GB, free: 1.777 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001453/0.7873, allocations: 1.301 MB / 1.278 GB, free: 372 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.193e-05/0.7874, allocations: 7.891 kB / 1.278 GB, free: 364 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.7874, allocations: 0 / 1.278 GB, free: 364 kB / 0.9669 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.779e-05/0.7875, allocations: 117.8 kB / 1.278 GB, free: 236 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.506e-06/0.7875, allocations: 0 / 1.278 GB, free: 236 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.73e-05/0.7875, allocations: 7.531 kB / 1.278 GB, free: 224 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.7875, allocations: 0 / 1.278 GB, free: 224 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.92e-07/0.7875, allocations: 0 / 1.278 GB, free: 224 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.7875, allocations: 0 / 1.278 GB, free: 224 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001141/0.7876, allocations: 136.7 kB / 1.278 GB, free: 44 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.7876, allocations: 3.938 kB / 1.278 GB, free: 40 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004331/0.788, allocations: 43.98 kB / 1.278 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.788, allocations: 0 / 1.278 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.467e-06/0.788, allocations: 11.88 kB / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001287/0.7893, allocations: 1.301 MB / 1.279 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.7893, allocations: 0 / 1.279 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001466/0.7895, allocations: 77.14 kB / 1.279 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.293e-06/0.7895, allocations: 4 kB / 1.279 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.19e-05/0.7895, allocations: 7.938 kB / 1.279 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.974e-05/0.7895, allocations: 0 / 1.279 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.94e-05/0.7896, allocations: 3.984 kB / 1.279 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.576e-06/0.7896, allocations: 0 / 1.279 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.204e-05/0.7896, allocations: 75.28 kB / 1.28 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.7896, allocations: 4 kB / 1.28 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002023/0.7898, allocations: 0 / 1.28 GB, free: 14.39 MB / 0.9825 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.0001338/0.7899, allocations: 99.25 kB / 1.28 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005613/0.7905, allocations: 67.84 kB / 1.28 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.7905, allocations: 0 / 1.28 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002707/0.7908, allocations: 43.95 kB / 1.28 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001669/0.7909, allocations: 0 / 1.28 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005156/0.7915, allocations: 100.8 kB / 1.28 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003719/0.7918, allocations: 0.6729 MB / 1.281 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.73e-05/0.7919, allocations: 8 kB / 1.281 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.461e-05/0.7919, allocations: 11.42 kB / 1.281 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of SimCode: time 6.81e-07/0.7919, allocations: 0 / 1.281 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of Templates: time 0.003487/0.7954, allocations: 444.5 kB / 1.281 GB, free: 12.89 MB / 0.9825 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/jenkins/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 [Calling sys.exit(0), Time elapsed: 8.704771531745791]