Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001308/0.001308, 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.001436/0.001436, allocations: 190.9 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.482/1.482, 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.245/3.245, allocations: 496 MB / 0.7835 GB, free: 33.62 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.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized")
translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002033/0.002033, allocations: 66.61 kB / 1.138 GB, free: 33.89 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3821/0.3842, allocations: 173.6 MB / 1.307 GB, free: 1.812 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002929/0.3871, allocations: 1.461 MB / 1.309 GB, free: 352 kB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.0003158/0.3874, allocations: 99.73 kB / 1.309 GB, free: 252 kB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.465e-05/0.3874, allocations: 3.938 kB / 1.309 GB, free: 248 kB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 2.829e-05/0.3875, allocations: 3.984 kB / 1.309 GB, free: 244 kB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 4.271e-05/0.3875, allocations: 7.875 kB / 1.309 GB, free: 236 kB / 0.9981 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0002056/0.3877, allocations: 11.98 kB / 1.309 GB, free: 224 kB / 0.9981 GB
Notification: Performance of NFFlatten.flatten: time 8.979e-05/0.3878, allocations: 27.92 kB / 1.309 GB, free: 196 kB / 0.9981 GB
Notification: Performance of NFFlatten.resolveConnections: time 9.743e-05/0.3879, allocations: 0 / 1.309 GB, free: 196 kB / 0.9981 GB
Notification: Performance of NFEvalConstants.evaluate: time 4.588e-05/0.388, allocations: 11.94 kB / 1.309 GB, free: 184 kB / 0.9981 GB
Notification: Performance of NFSimplifyModel.simplify: time 4.521e-05/0.388, allocations: 15.97 kB / 1.309 GB, free: 168 kB / 0.9981 GB
Notification: Performance of NFPackage.collectConstants: time 1.943e-05/0.388, allocations: 4 kB / 1.309 GB, free: 164 kB / 0.9981 GB
Notification: Performance of NFFlatten.collectFunctions: time 6.272e-05/0.3881, allocations: 19.98 kB / 1.309 GB, free: 144 kB / 0.9981 GB
Notification: Performance of NFScalarize.scalarize: time 1.744e-05/0.3881, allocations: 3.938 kB / 1.309 GB, free: 140 kB / 0.9981 GB
Notification: Performance of NFVerifyModel.verify: time 3.498e-05/0.3881, allocations: 15.92 kB / 1.309 GB, free: 124 kB / 0.9981 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001215/0.3883, allocations: 31.84 kB / 1.309 GB, free: 92 kB / 0.9981 GB
Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3883, allocations: 0 / 1.309 GB, free: 92 kB / 0.9981 GB
Notification: Performance of FrontEnd: time 1.212e-06/0.3883, allocations: 0 / 1.309 GB, free: 92 kB / 0.9981 GB
Notification: Performance of Transformations before backend: time 5.029e-06/0.3883, allocations: 0 / 1.309 GB, free: 92 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.000496/0.3888, allocations: 270.2 kB / 1.309 GB, free: 15.79 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.3888, allocations: 8.922 kB / 1.309 GB, free: 15.79 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001711/0.389, allocations: 16.92 kB / 1.309 GB, free: 15.77 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.3891, allocations: 114.5 kB / 1.309 GB, free: 15.63 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.596e-05/0.3891, allocations: 4.375 kB / 1.309 GB, free: 15.63 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.491e-05/0.3891, allocations: 4.375 kB / 1.309 GB, free: 15.62 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000201/0.3893, allocations: 50.23 kB / 1.309 GB, free: 15.57 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.3893, allocations: 4.188 kB / 1.309 GB, free: 15.57 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.3894, allocations: 3.938 kB / 1.309 GB, free: 15.56 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.3894, allocations: 0 / 1.309 GB, free: 15.56 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002314/0.3896, allocations: 55.92 kB / 1.309 GB, free: 15.51 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004354/0.39, allocations: 236 kB / 1.31 GB, free: 15.23 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001897/0.3902, allocations: 58.47 kB / 1.31 GB, free: 15.17 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001172/0.3903, allocations: 28.91 kB / 1.31 GB, free: 15.14 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.641e-05/0.3903, allocations: 0 / 1.31 GB, free: 15.14 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.3904, allocations: 34.56 kB / 1.31 GB, free: 15.09 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.3904, allocations: 0 / 1.31 GB, free: 15.09 MB / 1.014 GB
Notification: Performance of matching and sorting (n=2): time 0.0004462/0.3908, allocations: 105.7 kB / 1.31 GB, free: 14.98 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.965e-05/0.3909, allocations: 55.41 kB / 1.31 GB, free: 14.92 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.011e-05/0.391, allocations: 101.8 kB / 1.31 GB, free: 14.81 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.708e-05/0.391, allocations: 29.7 kB / 1.31 GB, free: 14.77 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 5.376e-05/0.391, allocations: 80.14 kB / 1.31 GB, free: 14.69 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 2.739e-05/0.3911, allocations: 11.88 kB / 1.31 GB, free: 14.68 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.17e-05/0.3911, allocations: 17.72 kB / 1.31 GB, free: 14.66 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001545/0.3913, allocations: 310.8 kB / 1.31 GB, free: 14.34 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/0.3914, allocations: 28 kB / 1.311 GB, free: 14.32 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/0.3915, allocations: 23.98 kB / 1.311 GB, free: 14.29 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002039/0.3917, allocations: 48.81 kB / 1.311 GB, free: 14.24 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3917, allocations: 3.938 kB / 1.311 GB, free: 14.24 MB / 1.014 GB
Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002616/0.392, allocations: 97.53 kB / 1.311 GB, free: 14.14 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.392, allocations: 7.938 kB / 1.311 GB, free: 14.13 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.392, allocations: 0 / 1.311 GB, free: 14.13 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.392, allocations: 0 / 1.311 GB, free: 14.13 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.3921, allocations: 11.98 kB / 1.311 GB, free: 14.12 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.3921, allocations: 0 / 1.311 GB, free: 14.12 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.63e-05/0.3922, allocations: 12.23 kB / 1.311 GB, free: 14.11 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.3922, allocations: 4.031 kB / 1.311 GB, free: 14.1 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.279e-05/0.3923, allocations: 114.5 kB / 1.311 GB, free: 13.98 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.827e-05/0.3923, allocations: 8 kB / 1.311 GB, free: 13.97 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.345e-05/0.3923, allocations: 7.625 kB / 1.311 GB, free: 13.96 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.3923, allocations: 0 / 1.311 GB, free: 13.96 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.3923, allocations: 3.984 kB / 1.311 GB, free: 13.96 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.3923, allocations: 0 / 1.311 GB, free: 13.96 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001768/0.3925, allocations: 136.7 kB / 1.311 GB, free: 13.78 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.3925, allocations: 0 / 1.311 GB, free: 13.78 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.886e-05/0.3926, allocations: 15.98 kB / 1.311 GB, free: 13.77 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.3926, allocations: 0 / 1.311 GB, free: 13.77 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.3926, allocations: 0 / 1.311 GB, free: 13.77 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.3926, allocations: 0 / 1.311 GB, free: 13.77 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.3926, allocations: 3.938 kB / 1.311 GB, free: 13.76 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003176/0.3929, allocations: 183.4 kB / 1.311 GB, free: 13.57 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.085e-05/0.3929, allocations: 7.953 kB / 1.311 GB, free: 13.56 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.393, allocations: 0 / 1.311 GB, free: 13.56 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.199e-05/0.393, allocations: 7.984 kB / 1.311 GB, free: 13.55 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.697e-05/0.3931, allocations: 0 / 1.311 GB, free: 13.55 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.231e-06/0.3931, allocations: 4 kB / 1.311 GB, free: 13.55 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 4.891e-05/0.3931, allocations: 83.28 kB / 1.311 GB, free: 13.46 MB / 1.014 GB
Notification: Performance of sort global known variables: time 8e-08/0.3931, allocations: 0 / 1.311 GB, free: 13.46 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002148/0.3934, allocations: 4 kB / 1.311 GB, free: 13.46 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.0001256/0.3935, allocations: 103.3 kB / 1.311 GB, free: 13.35 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0002721/0.3937, allocations: 51.89 kB / 1.311 GB, free: 13.3 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3938, allocations: 0 / 1.311 GB, free: 13.3 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001156/0.3939, allocations: 27.97 kB / 1.311 GB, free: 13.27 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002838/0.3942, allocations: 13.25 kB / 1.311 GB, free: 13.26 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003414/0.3945, allocations: 121.5 kB / 1.312 GB, free: 13.12 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004188/0.3949, allocations: 0.6807 MB / 1.312 GB, free: 12.41 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 2.843e-05/0.3949, allocations: 3.938 kB / 1.312 GB, free: 12.41 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.517e-05/0.395, allocations: 7.438 kB / 1.312 GB, free: 12.4 MB / 1.014 GB
Notification: Performance of SimCode: time 3.31e-07/0.395, allocations: 7.938 kB / 1.312 GB, free: 12.39 MB / 1.014 GB
Notification: Performance of Templates: time 0.002876/0.3979, allocations: 0.5839 MB / 1.313 GB, free: 11.81 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_PowerLinearized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.940322014503181]