Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.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.001424/0.001424, 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.001565/0.001565, allocations: 188.7 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.405/1.405, 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-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.086/3.086, allocations: 495.7 MB / 0.7831 GB, free: 33.41 MB / 0.6231 GB
"
[Timeout remaining time 177]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized")
translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 71.55 kB / 1.137 GB, free: 33.93 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3226/0.3245, allocations: 173.6 MB / 1.307 GB, free: 1.918 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.003616/0.3282, allocations: 1.47 MB / 1.308 GB, free: 448 kB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.0003302/0.3285, allocations: 91.69 kB / 1.308 GB, free: 356 kB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.033e-05/0.3285, allocations: 0 / 1.308 GB, free: 356 kB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 2.567e-05/0.3286, allocations: 0 / 1.308 GB, free: 356 kB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 5.396e-05/0.3286, allocations: 11.92 kB / 1.308 GB, free: 344 kB / 0.9981 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0002008/0.3288, allocations: 15.98 kB / 1.309 GB, free: 328 kB / 0.9981 GB
Notification: Performance of NFFlatten.flatten: time 9.755e-05/0.3289, allocations: 23.92 kB / 1.309 GB, free: 304 kB / 0.9981 GB
Notification: Performance of NFFlatten.resolveConnections: time 9.87e-05/0.329, allocations: 11.92 kB / 1.309 GB, free: 292 kB / 0.9981 GB
Notification: Performance of NFEvalConstants.evaluate: time 4.68e-05/0.3291, allocations: 11.94 kB / 1.309 GB, free: 280 kB / 0.9981 GB
Notification: Performance of NFSimplifyModel.simplify: time 4.793e-05/0.3291, allocations: 11.98 kB / 1.309 GB, free: 268 kB / 0.9981 GB
Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.3291, allocations: 0 / 1.309 GB, free: 268 kB / 0.9981 GB
Notification: Performance of NFFlatten.collectFunctions: time 7.498e-05/0.3292, allocations: 15.98 kB / 1.309 GB, free: 252 kB / 0.9981 GB
Notification: Performance of NFScalarize.scalarize: time 1.719e-05/0.3292, allocations: 7.938 kB / 1.309 GB, free: 244 kB / 0.9981 GB
Notification: Performance of NFVerifyModel.verify: time 2.975e-05/0.3292, allocations: 11.92 kB / 1.309 GB, free: 232 kB / 0.9981 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001359/0.3294, allocations: 39.83 kB / 1.309 GB, free: 192 kB / 0.9981 GB
Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3294, allocations: 4 kB / 1.309 GB, free: 188 kB / 0.9981 GB
Notification: Performance of FrontEnd: time 1.793e-06/0.3294, allocations: 3.938 kB / 1.309 GB, free: 184 kB / 0.9981 GB
Notification: Performance of Transformations before backend: time 4.849e-06/0.3294, allocations: 0 / 1.309 GB, free: 184 kB / 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.000559/0.33, allocations: 266.3 kB / 1.309 GB, free: 15.89 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.33, allocations: 8.031 kB / 1.309 GB, free: 15.88 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002153/0.3302, allocations: 12.92 kB / 1.309 GB, free: 15.87 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.3303, allocations: 110.5 kB / 1.309 GB, free: 15.73 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.673e-05/0.3304, allocations: 4.375 kB / 1.309 GB, free: 15.73 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.179e-05/0.3304, allocations: 4.375 kB / 1.309 GB, free: 15.73 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002545/0.3306, allocations: 58.22 kB / 1.309 GB, free: 15.66 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.3306, allocations: 192 / 1.309 GB, free: 15.66 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.3307, allocations: 3.938 kB / 1.309 GB, free: 15.66 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.3307, allocations: 0 / 1.309 GB, free: 15.66 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002977/0.331, allocations: 47.95 kB / 1.309 GB, free: 15.61 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004842/0.3314, allocations: 236 kB / 1.309 GB, free: 15.34 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002536/0.3317, allocations: 54.48 kB / 1.309 GB, free: 15.28 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001698/0.3319, allocations: 32.89 kB / 1.309 GB, free: 15.24 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/0.3319, allocations: 0 / 1.309 GB, free: 15.24 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/0.3319, allocations: 34.56 kB / 1.309 GB, free: 15.2 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=2): time 2.996e-06/0.3319, allocations: 3.984 kB / 1.309 GB, free: 15.2 MB / 1.014 GB
Notification: Performance of matching and sorting (n=2): time 0.0004608/0.3324, allocations: 105.6 kB / 1.31 GB, free: 15.09 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/0.3324, allocations: 51.41 kB / 1.31 GB, free: 15.02 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.865e-05/0.3325, allocations: 106 kB / 1.31 GB, free: 14.91 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.3325, allocations: 29.7 kB / 1.31 GB, free: 14.88 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 5.129e-05/0.3326, allocations: 80.14 kB / 1.31 GB, free: 14.79 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 2.121e-05/0.3326, allocations: 11.89 kB / 1.31 GB, free: 14.78 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-05/0.3326, allocations: 13.72 kB / 1.31 GB, free: 14.76 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001592/0.3328, allocations: 314.8 kB / 1.31 GB, free: 14.45 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001165/0.3329, allocations: 24.23 kB / 1.31 GB, free: 14.42 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/0.333, allocations: 27.97 kB / 1.31 GB, free: 14.39 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002297/0.3333, allocations: 56.81 kB / 1.31 GB, free: 14.34 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.3333, allocations: 3.938 kB / 1.31 GB, free: 14.33 MB / 1.014 GB
Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002691/0.3335, allocations: 85.48 kB / 1.31 GB, free: 14.24 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/0.3336, allocations: 16.08 kB / 1.31 GB, free: 14.23 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.3336, allocations: 3.938 kB / 1.31 GB, free: 14.22 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.3336, allocations: 0 / 1.31 GB, free: 14.22 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.3337, allocations: 11.98 kB / 1.31 GB, free: 14.21 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.3337, allocations: 0 / 1.31 GB, free: 14.21 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.507e-05/0.3338, allocations: 4 kB / 1.31 GB, free: 14.21 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.3338, allocations: 0 / 1.31 GB, free: 14.21 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 (2):
 * Single equations (assignments): 2
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of prepare postOptimizeDAE: time 9.041e-05/0.3339, allocations: 122.5 kB / 1.31 GB, free: 14.08 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.546e-05/0.3339, allocations: 4 kB / 1.311 GB, free: 14.07 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.939e-05/0.3339, allocations: 7.625 kB / 1.311 GB, free: 14.06 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.3339, allocations: 0 / 1.311 GB, free: 14.06 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.3339, allocations: 4 kB / 1.311 GB, free: 14.06 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.3339, allocations: 0 / 1.311 GB, free: 14.06 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001672/0.3341, allocations: 136.7 kB / 1.311 GB, free: 13.88 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.3341, allocations: 4 kB / 1.311 GB, free: 13.88 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.27e-05/0.3342, allocations: 7.984 kB / 1.311 GB, free: 13.87 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.3342, allocations: 0 / 1.311 GB, free: 13.87 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.3342, allocations: 4 kB / 1.311 GB, free: 13.87 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.479e-06/0.3342, allocations: 7.938 kB / 1.311 GB, free: 13.86 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3342, allocations: 0 / 1.311 GB, free: 13.86 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000314/0.3345, allocations: 179.4 kB / 1.311 GB, free: 13.67 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 9.558e-06/0.3345, allocations: 3.953 kB / 1.311 GB, free: 13.66 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/0.3345, allocations: 0 / 1.311 GB, free: 13.66 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.785e-05/0.3346, allocations: 16.02 kB / 1.311 GB, free: 13.65 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.738e-05/0.3347, allocations: 0 / 1.311 GB, free: 13.65 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-06/0.3347, allocations: 3.984 kB / 1.311 GB, free: 13.64 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 4.855e-05/0.3347, allocations: 83.28 kB / 1.311 GB, free: 13.56 MB / 1.014 GB
Notification: Performance of sort global known variables: time 6e-08/0.3347, allocations: 0 / 1.311 GB, free: 13.56 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002194/0.3349, allocations: 4 kB / 1.311 GB, free: 13.56 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 (2):
 * Single equations (assignments): 2
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of Backend phase and start with SimCode phase: time 0.0001164/0.3351, allocations: 95.25 kB / 1.311 GB, free: 13.46 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0002852/0.3353, allocations: 59.88 kB / 1.311 GB, free: 13.4 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3353, allocations: 0 / 1.311 GB, free: 13.4 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001189/0.3355, allocations: 23.98 kB / 1.311 GB, free: 13.38 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002988/0.3358, allocations: 4.125 kB / 1.311 GB, free: 13.37 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003858/0.3361, allocations: 137.6 kB / 1.311 GB, free: 13.21 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003162/0.3365, allocations: 0.6729 MB / 1.312 GB, free: 12.51 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 3.354e-05/0.3365, allocations: 3.984 kB / 1.312 GB, free: 12.51 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.186e-05/0.3365, allocations: 7.438 kB / 1.312 GB, free: 12.5 MB / 1.014 GB
Notification: Performance of SimCode: time 4e-07/0.3365, allocations: 4 kB / 1.312 GB, free: 12.5 MB / 1.014 GB
Notification: Performance of Templates: time 0.003157/0.3397, allocations: 0.6022 MB / 1.313 GB, free: 11.9 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_PowerLinearized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.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.625627457164228]