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.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.001389/0.001389, allocations: 110.2 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.001436/0.001436, allocations: 192 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.423/1.423, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.191/3.191, allocations: 496 MB / 0.7835 GB, free: 33.55 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_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 0.002013/0.002013, allocations: 65.55 kB / 1.138 GB, free: 33.8 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3512/0.3532, allocations: 173.6 MB / 1.307 GB, free: 1.754 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001691/0.3549, allocations: 0.5984 MB / 1.308 GB, free: 1.156 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.000283/0.3552, allocations: 96.14 kB / 1.308 GB, free: 1.062 MB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 1.517e-05/0.3552, allocations: 4 kB / 1.308 GB, free: 1.059 MB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 1.077e-05/0.3552, allocations: 0 / 1.308 GB, free: 1.059 MB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 3.986e-05/0.3553, allocations: 0 / 1.308 GB, free: 1.059 MB / 0.9981 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001898/0.3554, allocations: 23.84 kB / 1.308 GB, free: 1.035 MB / 0.9981 GB
Notification: Performance of NFFlatten.flatten: time 4.549e-05/0.3555, allocations: 11.92 kB / 1.308 GB, free: 1.023 MB / 0.9981 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.241e-05/0.3555, allocations: 4 kB / 1.308 GB, free: 1.02 MB / 0.9981 GB
Notification: Performance of NFEvalConstants.evaluate: time 1.418e-05/0.3555, allocations: 0 / 1.308 GB, free: 1.02 MB / 0.9981 GB
Notification: Performance of NFSimplifyModel.simplify: time 6.533e-05/0.3556, allocations: 4 kB / 1.308 GB, free: 1.016 MB / 0.9981 GB
Notification: Performance of NFPackage.collectConstants: time 9.498e-06/0.3556, allocations: 0 / 1.308 GB, free: 1.016 MB / 0.9981 GB
Notification: Performance of NFFlatten.collectFunctions: time 5.551e-05/0.3557, allocations: 15.98 kB / 1.308 GB, free: 1 MB / 0.9981 GB
Notification: Performance of NFScalarize.scalarize: time 1.317e-05/0.3557, allocations: 7.984 kB / 1.308 GB, free: 0.9922 MB / 0.9981 GB
Notification: Performance of NFVerifyModel.verify: time 2.584e-05/0.3557, allocations: 11.92 kB / 1.308 GB, free: 0.9805 MB / 0.9981 GB
Notification: Performance of NFConvertDAE.convert: time 8.065e-05/0.3558, allocations: 19.92 kB / 1.308 GB, free: 0.9609 MB / 0.9981 GB
Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3558, allocations: 0 / 1.308 GB, free: 0.9609 MB / 0.9981 GB
Notification: Performance of FrontEnd: time 1.102e-06/0.3558, allocations: 0 / 1.308 GB, free: 0.9609 MB / 0.9981 GB
Notification: Performance of Transformations before backend: time 4.238e-06/0.3558, allocations: 0 / 1.308 GB, free: 0.9609 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.0003235/0.3561, allocations: 242.5 kB / 1.308 GB, free: 0.6914 MB / 0.9981 GB
Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.3562, allocations: 8.922 kB / 1.308 GB, free: 0.6836 MB / 0.9981 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001493/0.3563, allocations: 12.92 kB / 1.308 GB, free: 0.6719 MB / 0.9981 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 8.41e-05/0.3564, allocations: 110.4 kB / 1.308 GB, free: 0.5391 MB / 0.9981 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.3564, allocations: 4.375 kB / 1.308 GB, free: 0.5352 MB / 0.9981 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 6.743e-06/0.3564, allocations: 384 / 1.308 GB, free: 0.5352 MB / 0.9981 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001157/0.3565, allocations: 42.19 kB / 1.308 GB, free: 500 kB / 0.9981 GB
Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.3565, allocations: 192 / 1.308 GB, free: 500 kB / 0.9981 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.3565, allocations: 3.938 kB / 1.308 GB, free: 496 kB / 0.9981 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.3566, allocations: 4 kB / 1.308 GB, free: 492 kB / 0.9981 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 7.499e-05/0.3566, allocations: 11.97 kB / 1.309 GB, free: 480 kB / 0.9981 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001433/0.3568, allocations: 128.8 kB / 1.309 GB, free: 308 kB / 0.9981 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.000163/0.3569, allocations: 42.5 kB / 1.309 GB, free: 256 kB / 0.9981 GB
Notification: Performance of preOpt resolveLoops (simulation): time 5.55e-05/0.357, allocations: 16.91 kB / 1.309 GB, free: 236 kB / 0.9981 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.357, allocations: 0 / 1.309 GB, free: 236 kB / 0.9981 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.357, allocations: 30.56 kB / 1.309 GB, free: 196 kB / 0.9981 GB
Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.357, allocations: 4 kB / 1.309 GB, free: 192 kB / 0.9981 GB
Notification: Performance of matching and sorting (n=3): time 0.0002088/0.3572, allocations: 57.61 kB / 1.309 GB, free: 128 kB / 0.9981 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.3573, allocations: 55.34 kB / 1.309 GB, free: 60 kB / 0.9981 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.653e-05/0.3574, allocations: 89.86 kB / 1.309 GB, free: 15.96 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.3574, allocations: 25.7 kB / 1.309 GB, free: 15.93 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 3.265e-05/0.3574, allocations: 88.08 kB / 1.309 GB, free: 15.84 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 3.019e-05/0.3574, allocations: 7.953 kB / 1.309 GB, free: 15.83 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.032e-05/0.3575, allocations: 13.72 kB / 1.309 GB, free: 15.81 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001516/0.3576, allocations: 322.8 kB / 1.309 GB, free: 15.49 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 4.012e-05/0.3577, allocations: 4 kB / 1.309 GB, free: 15.48 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 3.257e-05/0.3577, allocations: 7.984 kB / 1.309 GB, free: 15.48 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 7.8e-05/0.3578, allocations: 16.86 kB / 1.309 GB, free: 15.46 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.3578, allocations: 4 kB / 1.309 GB, free: 15.45 MB / 1.014 GB
Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001172/0.3579, allocations: 53.62 kB / 1.309 GB, free: 15.39 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.3579, allocations: 5.25 kB / 1.309 GB, free: 15.39 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.3579, allocations: 8 kB / 1.309 GB, free: 15.38 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.3579, allocations: 3.938 kB / 1.309 GB, free: 15.38 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003952/0.3583, allocations: 43.88 kB / 1.309 GB, free: 15.34 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001425/0.3597, allocations: 1.297 MB / 1.311 GB, free: 13.93 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.081e-05/0.3598, allocations: 4 kB / 1.311 GB, free: 13.92 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.3598, allocations: 4.312 kB / 1.311 GB, free: 13.92 MB / 1.014 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.555e-05/0.3599, allocations: 122.5 kB / 1.311 GB, free: 13.79 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.339e-05/0.3599, allocations: 3.984 kB / 1.311 GB, free: 13.79 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.565e-05/0.3599, allocations: 7.594 kB / 1.311 GB, free: 13.77 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.3599, allocations: 3.984 kB / 1.311 GB, free: 13.77 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.02e-07/0.3599, allocations: 0 / 1.311 GB, free: 13.77 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.673e-06/0.3599, allocations: 0 / 1.311 GB, free: 13.77 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000119/0.36, allocations: 132.7 kB / 1.311 GB, free: 13.6 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.36, allocations: 0 / 1.311 GB, free: 13.6 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003758/0.3604, allocations: 47.94 kB / 1.311 GB, free: 13.55 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3604, allocations: 0 / 1.311 GB, free: 13.55 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.151e-06/0.3604, allocations: 0 / 1.311 GB, free: 13.55 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001319/0.3617, allocations: 1.309 MB / 1.312 GB, free: 12.13 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3617, allocations: 4.031 kB / 1.312 GB, free: 12.13 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001309/0.3619, allocations: 77.23 kB / 1.312 GB, free: 12.04 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 3.226e-06/0.3619, allocations: 0 / 1.312 GB, free: 12.04 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.416e-06/0.3619, allocations: 3.938 kB / 1.312 GB, free: 12.03 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.635e-05/0.3619, allocations: 4 kB / 1.312 GB, free: 12.03 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.617e-05/0.3619, allocations: 7.922 kB / 1.312 GB, free: 12.02 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-06/0.3619, allocations: 0 / 1.312 GB, free: 12.02 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 4.62e-05/0.362, allocations: 83.28 kB / 1.313 GB, free: 11.94 MB / 1.014 GB
Notification: Performance of sort global known variables: time 6e-08/0.362, allocations: 0 / 1.313 GB, free: 11.94 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002633/0.3622, allocations: 4 kB / 1.313 GB, free: 11.93 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.0001397/0.3624, allocations: 100.9 kB / 1.313 GB, free: 11.82 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0004853/0.3629, allocations: 63.91 kB / 1.313 GB, free: 11.76 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3629, allocations: 0 / 1.313 GB, free: 11.76 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0002508/0.3631, allocations: 31.97 kB / 1.313 GB, free: 11.73 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001376/0.3632, allocations: 0 / 1.313 GB, free: 11.73 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003355/0.3636, allocations: 96.84 kB / 1.313 GB, free: 11.61 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003227/0.3639, allocations: 0.6768 MB / 1.313 GB, free: 10.91 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 2.799e-05/0.3639, allocations: 8.172 kB / 1.313 GB, free: 10.9 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.749e-05/0.364, allocations: 7.438 kB / 1.313 GB, free: 10.89 MB / 1.014 GB
Notification: Performance of SimCode: time 3.21e-07/0.364, allocations: 0 / 1.313 GB, free: 10.89 MB / 1.014 GB
Notification: Performance of Templates: time 0.002549/0.3665, allocations: 438.7 kB / 1.314 GB, free: 10.46 MB / 1.014 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=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 400]
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: 8.630900674499571]