Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.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.00165/0.00165, allocations: 105.8 kB / 18.84 MB, free: 3.043 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.002476/0.002476, allocations: 190.2 kB / 22.11 MB, free: 5.145 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.537/1.537, allocations: 225.6 MB / 250.8 MB, free: 13.05 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.299/3.299, allocations: 495.8 MB / 0.783 GB, free: 33.61 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.Controls.OBC.UnitConversions.Validation.From_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC")
translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002119/0.002119, allocations: 72.22 kB / 1.137 GB, free: 33.73 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4419/0.444, allocations: 173.6 MB / 1.307 GB, free: 1.828 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.002692/0.4467, allocations: 0.8966 MB / 1.308 GB, free: 0.9336 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.0002033/0.4469, allocations: 47.78 kB / 1.308 GB, free: 0.8867 MB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001054/0.447, allocations: 4 kB / 1.308 GB, free: 0.8828 MB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 6.089e-05/0.4471, allocations: 15.8 kB / 1.308 GB, free: 0.8672 MB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 9.7e-05/0.4472, allocations: 11.88 kB / 1.308 GB, free: 0.8555 MB / 0.9981 GB
Notification: Performance of NFTyping.typeClassSections: time 8.388e-05/0.4473, allocations: 23.97 kB / 1.308 GB, free: 0.832 MB / 0.9981 GB
Notification: Performance of NFFlatten.flatten: time 0.0001633/0.4475, allocations: 83.77 kB / 1.308 GB, free: 0.75 MB / 0.9981 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001793/0.4476, allocations: 48.98 kB / 1.308 GB, free: 0.6992 MB / 0.9981 GB
Notification: Performance of NFEvalConstants.evaluate: time 8.061e-05/0.4477, allocations: 35.84 kB / 1.308 GB, free: 0.6641 MB / 0.9981 GB
Notification: Performance of NFSimplifyModel.simplify: time 7.219e-05/0.4478, allocations: 43.72 kB / 1.308 GB, free: 0.6211 MB / 0.9981 GB
Notification: Performance of NFPackage.collectConstants: time 2.626e-05/0.4478, allocations: 8 kB / 1.308 GB, free: 0.6133 MB / 0.9981 GB
Notification: Performance of NFFlatten.collectFunctions: time 1.628e-05/0.4478, allocations: 8 kB / 1.308 GB, free: 0.6055 MB / 0.9981 GB
Notification: Performance of NFScalarize.scalarize: time 2.714e-05/0.4479, allocations: 11.94 kB / 1.308 GB, free: 0.5938 MB / 0.9981 GB
Notification: Performance of NFVerifyModel.verify: time 6.002e-05/0.4479, allocations: 43.73 kB / 1.308 GB, free: 0.5508 MB / 0.9981 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001848/0.4481, allocations: 111.4 kB / 1.308 GB, free: 452 kB / 0.9981 GB
Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.4481, allocations: 0 / 1.308 GB, free: 452 kB / 0.9981 GB
Notification: Performance of FrontEnd: time 2.054e-06/0.4481, allocations: 4 kB / 1.308 GB, free: 448 kB / 0.9981 GB
Notification: Performance of Transformations before backend: time 7.144e-06/0.4481, allocations: 0 / 1.308 GB, free: 448 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: 22
 * Number of variables: 22
Notification: Performance of Generate backend data structure: time 0.0005745/0.4487, allocations: 322 kB / 1.308 GB, free: 92 kB / 0.9981 GB
Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.4487, allocations: 12.03 kB / 1.308 GB, free: 80 kB / 0.9981 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.145e-05/0.4488, allocations: 12.84 kB / 1.308 GB, free: 68 kB / 0.9981 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002914/0.4491, allocations: 134.5 kB / 1.309 GB, free: 15.91 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.4491, allocations: 8.562 kB / 1.309 GB, free: 15.9 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.813e-05/0.4491, allocations: 12.38 kB / 1.309 GB, free: 15.89 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002264/0.4494, allocations: 108.6 kB / 1.309 GB, free: 15.77 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.4494, allocations: 0 / 1.309 GB, free: 15.77 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.755e-05/0.4494, allocations: 4 kB / 1.309 GB, free: 15.77 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/0.4494, allocations: 4 kB / 1.309 GB, free: 15.77 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.4495, allocations: 43.91 kB / 1.309 GB, free: 15.72 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006999/0.4502, allocations: 435.5 kB / 1.309 GB, free: 15.25 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 8.135e-05/0.4503, allocations: 45.16 kB / 1.309 GB, free: 15.19 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.029e-05/0.4503, allocations: 17.78 kB / 1.309 GB, free: 15.16 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 8.706e-06/0.4503, allocations: 0 / 1.309 GB, free: 15.16 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.4504, allocations: 30.56 kB / 1.309 GB, free: 15.12 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=2): time 8.02e-07/0.4504, allocations: 0 / 1.309 GB, free: 15.12 MB / 1.014 GB
Notification: Performance of matching and sorting (n=2): time 0.0002142/0.4506, allocations: 65.53 kB / 1.309 GB, free: 15.05 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.216e-05/0.4506, allocations: 77.11 kB / 1.309 GB, free: 14.96 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002251/0.4509, allocations: 192 kB / 1.31 GB, free: 14.76 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.4509, allocations: 25.7 kB / 1.31 GB, free: 14.73 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 9.335e-05/0.451, allocations: 104.1 kB / 1.31 GB, free: 14.62 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 1.024e-05/0.451, allocations: 7.953 kB / 1.31 GB, free: 14.62 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.069e-05/0.451, allocations: 17.97 kB / 1.31 GB, free: 14.59 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001455/0.4512, allocations: 326.8 kB / 1.31 GB, free: 14.27 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 2.322e-05/0.4512, allocations: 8 kB / 1.31 GB, free: 14.26 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 2.693e-05/0.4512, allocations: 21.64 kB / 1.31 GB, free: 14.23 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 5.356e-05/0.4513, allocations: 29.72 kB / 1.31 GB, free: 14.2 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.4513, allocations: 0 / 1.31 GB, free: 14.2 MB / 1.014 GB
Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001003/0.4514, allocations: 61.55 kB / 1.31 GB, free: 14.13 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.4514, allocations: 11.94 kB / 1.31 GB, free: 14.12 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.4514, allocations: 3.984 kB / 1.31 GB, free: 14.11 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.4514, allocations: 0 / 1.31 GB, free: 14.11 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.643e-05/0.4515, allocations: 4 kB / 1.31 GB, free: 14.11 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.4515, allocations: 4 kB / 1.31 GB, free: 14.11 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.943e-05/0.4515, allocations: 11.83 kB / 1.31 GB, free: 14.09 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.4515, allocations: 4 kB / 1.31 GB, free: 14.09 MB / 1.014 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 2
 * 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 (4):
 * Single equations (assignments): 4
 * 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 0.000102/0.4516, allocations: 121.8 kB / 1.31 GB, free: 13.96 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.722e-05/0.4517, allocations: 16.02 kB / 1.31 GB, free: 13.95 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.793e-05/0.4517, allocations: 12.48 kB / 1.31 GB, free: 13.93 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.4517, allocations: 224 / 1.31 GB, free: 13.93 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.4517, allocations: 0 / 1.31 GB, free: 13.93 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.4517, allocations: 7.875 kB / 1.31 GB, free: 13.93 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004411/0.4522, allocations: 449.9 kB / 1.311 GB, free: 13.43 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.4522, allocations: 0 / 1.311 GB, free: 13.43 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.403e-05/0.4522, allocations: 4.062 kB / 1.311 GB, free: 13.43 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.4522, allocations: 7.938 kB / 1.311 GB, free: 13.42 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.627e-06/0.4522, allocations: 4.031 kB / 1.311 GB, free: 13.41 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.4522, allocations: 4 kB / 1.311 GB, free: 13.41 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.4522, allocations: 0 / 1.311 GB, free: 13.41 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001104/0.4523, allocations: 81.88 kB / 1.311 GB, free: 13.31 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 3.361e-05/0.4524, allocations: 11.95 kB / 1.311 GB, free: 13.3 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.4524, allocations: 7.969 kB / 1.311 GB, free: 13.29 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.119e-05/0.4524, allocations: 4 kB / 1.311 GB, free: 13.29 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.78e-05/0.4524, allocations: 3.984 kB / 1.311 GB, free: 13.28 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-06/0.4524, allocations: 0 / 1.311 GB, free: 13.28 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0001257/0.4525, allocations: 131.2 kB / 1.311 GB, free: 13.15 MB / 1.014 GB
Notification: Performance of sort global known variables: time 7e-08/0.4525, allocations: 0 / 1.311 GB, free: 13.15 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002111/0.4528, allocations: 15.95 kB / 1.311 GB, free: 13.14 MB / 1.014 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 2
 * 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.0001315/0.4529, allocations: 101 kB / 1.311 GB, free: 13.03 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0001042/0.453, allocations: 19.98 kB / 1.311 GB, free: 13.01 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.453, allocations: 0 / 1.311 GB, free: 13.01 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 1.37e-05/0.453, allocations: 7.938 kB / 1.311 GB, free: 13 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001697/0.4532, allocations: 9.719 kB / 1.311 GB, free: 12.99 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000422/0.4536, allocations: 182.4 kB / 1.311 GB, free: 12.79 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003471/0.4539, allocations: 0.7052 MB / 1.312 GB, free: 12.05 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 3.666e-05/0.454, allocations: 4.5 kB / 1.312 GB, free: 12.05 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.407e-05/0.454, allocations: 11.44 kB / 1.312 GB, free: 12.04 MB / 1.014 GB
Notification: Performance of SimCode: time 7.31e-07/0.454, allocations: 0 / 1.312 GB, free: 12.04 MB / 1.014 GB
Notification: Performance of Templates: time 0.003584/0.4576, allocations: 0.5394 MB / 1.313 GB, free: 11.5 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_degC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.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: 9.666720942594111]