Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002207/0.002207, allocations: 87.69 kB / 20.24 MB, free: 4.184 MB / 18.57 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.002239/0.002239, allocations: 157.7 kB / 23.55 MB, free: 0.875 MB / 18.57 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.589/1.589, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.015/3.015, allocations: 377.8 MB / 0.6232 GB, free: 8.512 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.8109 GB, free: 2.055 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.807e-05/2.955e-05, allocations: 4.125 kB / 0.8109 GB, free: 2.051 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001938/0.001968, allocations: 0.6064 MB / 0.8115 GB, free: 1.469 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0003055/0.002273, allocations: 85.31 kB / 0.8115 GB, free: 1.387 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.228e-05/0.002296, allocations: 4 kB / 0.8115 GB, free: 1.383 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.192e-05/0.002307, allocations: 0.6562 kB / 0.8115 GB, free: 1.383 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.536e-05/0.002363, allocations: 3.984 kB / 0.8115 GB, free: 1.379 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002073/0.00257, allocations: 12.52 kB / 0.8116 GB, free: 1.367 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 4.496e-05/0.002615, allocations: 6.141 kB / 0.8116 GB, free: 1.363 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.551e-05/0.002651, allocations: 0.5469 kB / 0.8116 GB, free: 1.363 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 4.601e-05/0.002697, allocations: 7.984 kB / 0.8116 GB, free: 1.355 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 7.934e-05/0.002776, allocations: 17.23 kB / 0.8116 GB, free: 1.34 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.47e-05/0.002791, allocations: 0 / 0.8116 GB, free: 1.34 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 6.807e-05/0.002859, allocations: 15.98 kB / 0.8116 GB, free: 1.324 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.243e-05/0.002871, allocations: 1.375 kB / 0.8116 GB, free: 1.324 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.624e-05/0.002887, allocations: 0 / 0.8116 GB, free: 1.324 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001036/0.002991, allocations: 23.91 kB / 0.8116 GB, free: 1.301 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.002994, allocations: 0 / 0.8116 GB, free: 1.301 MB / 0.7605 GB Notification: Performance of FrontEnd: time 7.31e-07/0.002994, allocations: 1.375 kB / 0.8116 GB, free: 1.301 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.002998, allocations: 0 / 0.8116 GB, free: 1.301 MB / 0.7605 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.0004775/0.003476, allocations: 348.4 kB / 0.812 GB, free: 0.9219 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.003516, allocations: 8.594 kB / 0.812 GB, free: 0.9141 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001678/0.003684, allocations: 10.27 kB / 0.812 GB, free: 0.9062 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.003793, allocations: 108.6 kB / 0.8121 GB, free: 0.7734 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.312e-05/0.003816, allocations: 384 / 0.8121 GB, free: 0.7734 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.005e-06/0.003824, allocations: 384 / 0.8121 GB, free: 0.7734 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.003954, allocations: 38.78 kB / 0.8121 GB, free: 0.7305 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.003964, allocations: 2.125 kB / 0.8121 GB, free: 0.7305 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.003976, allocations: 4.375 kB / 0.8121 GB, free: 0.7266 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.003981, allocations: 384 / 0.8121 GB, free: 0.7266 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.337e-05/0.004054, allocations: 15.86 kB / 0.8121 GB, free: 0.7109 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001713/0.004226, allocations: 112.6 kB / 0.8122 GB, free: 0.5664 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001638/0.004389, allocations: 45.06 kB / 0.8123 GB, free: 0.5117 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.036e-05/0.00443, allocations: 15.75 kB / 0.8123 GB, free: 0.4922 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/0.004448, allocations: 3.938 kB / 0.8123 GB, free: 500 kB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/0.004482, allocations: 37.39 kB / 0.8123 GB, free: 452 kB / 0.7605 GB Notification: Performance of pre-optimization done (n=3): time 9.41e-07/0.004483, allocations: 0.625 kB / 0.8123 GB, free: 452 kB / 0.7605 GB Notification: Performance of matching and sorting (n=3): time 0.0002216/0.004704, allocations: 54.3 kB / 0.8124 GB, free: 392 kB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.677e-05/0.004751, allocations: 56.11 kB / 0.8124 GB, free: 324 kB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.247e-05/0.004834, allocations: 142.2 kB / 0.8126 GB, free: 168 kB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.004853, allocations: 30.23 kB / 0.8126 GB, free: 132 kB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 6.603e-05/0.004919, allocations: 126.9 kB / 0.8127 GB, free: 0 / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 6.063e-05/0.00498, allocations: 9.531 kB / 0.8127 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/0.005094, allocations: 23.38 kB / 0.8128 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002421/0.005336, allocations: 495.9 kB / 0.8132 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.762e-05/0.005374, allocations: 8.891 kB / 0.8132 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.821e-05/0.005402, allocations: 12.03 kB / 0.8133 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.589e-05/0.005468, allocations: 24.41 kB / 0.8133 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.005469, allocations: 0 / 0.8133 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001168/0.005586, allocations: 46.91 kB / 0.8133 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.005602, allocations: 8 kB / 0.8133 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.005606, allocations: 0 / 0.8133 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.005619, allocations: 0.8438 kB / 0.8133 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002694/0.005889, allocations: 25.31 kB / 0.8134 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001879/0.007767, allocations: 1.816 MB / 0.8151 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.72e-05/0.007795, allocations: 0 / 0.8151 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.007805, allocations: 4 kB / 0.8151 GB, free: 13.4 MB / 0.7761 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.0001443/0.007949, allocations: 159 kB / 0.8153 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.644e-05/0.007966, allocations: 7.938 kB / 0.8153 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.281e-05/0.007989, allocations: 3.531 kB / 0.8153 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.00799, allocations: 0 / 0.8153 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.007994, allocations: 4 kB / 0.8153 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/0.007999, allocations: 0 / 0.8153 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001392/0.008138, allocations: 113.1 kB / 0.8154 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.00814, allocations: 1.125 kB / 0.8154 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002808/0.00842, allocations: 32.94 kB / 0.8154 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.008423, allocations: 4.438 kB / 0.8154 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.008436, allocations: 3.938 kB / 0.8155 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001896/0.01033, allocations: 1.809 MB / 0.8172 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.01033, allocations: 0 / 0.8172 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001783/0.01051, allocations: 97.02 kB / 0.8173 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.949e-06/0.01052, allocations: 0 / 0.8173 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.895e-06/0.01053, allocations: 4.656 kB / 0.8173 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.143e-05/0.01055, allocations: 0 / 0.8173 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.533e-05/0.01058, allocations: 4.656 kB / 0.8173 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.01059, allocations: 7.156 kB / 0.8173 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.693e-05/0.01067, allocations: 119.2 kB / 0.8174 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01067, allocations: 0 / 0.8174 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002104/0.01088, allocations: 4 kB / 0.8174 GB, free: 10.86 MB / 0.7761 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.0002149/0.01109, allocations: 95.23 kB / 0.8175 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004082/0.0115, allocations: 54 kB / 0.8176 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.0115, allocations: 0 / 0.8176 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002169/0.01172, allocations: 35.94 kB / 0.8176 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001698/0.01189, allocations: 12.88 kB / 0.8176 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000462/0.01235, allocations: 102.1 kB / 0.8177 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.967e-05/0.01243, allocations: 56.42 kB / 0.8178 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.534e-05/0.01248, allocations: 5.094 kB / 0.8178 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.266e-05/0.01252, allocations: 12.48 kB / 0.8178 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of SimCode: time 1.032e-06/0.01252, allocations: 1.875 kB / 0.8178 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of Templates: time 0.003761/0.01628, allocations: 492.8 kB / 0.8183 GB, free: 9.973 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_PowerLinearized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 7.956304082996212]