Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.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.001387/0.001387, 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.001483/0.001483, allocations: 191.1 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.547/1.547, allocations: 225.6 MB / 251 MB, free: 13 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.443/3.443, allocations: 496 MB / 0.7835 GB, free: 33.63 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.CDL.Reals.Validation.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log")
translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.00199/0.00199, allocations: 64.2 kB / 1.138 GB, free: 33.8 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4065/0.4085, allocations: 173.6 MB / 1.307 GB, free: 1.82 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.002104/0.4106, allocations: 0.6703 MB / 1.308 GB, free: 1.148 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.001105/0.4117, allocations: 0.8121 MB / 1.309 GB, free: 332 kB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.907e-05/0.4117, allocations: 0 / 1.309 GB, free: 332 kB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 3.683e-05/0.4118, allocations: 3.938 kB / 1.309 GB, free: 328 kB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 7.422e-05/0.4118, allocations: 7.984 kB / 1.309 GB, free: 320 kB / 0.9981 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001603/0.412, allocations: 11.98 kB / 1.309 GB, free: 308 kB / 0.9981 GB
Notification: Performance of NFFlatten.flatten: time 8.1e-05/0.4121, allocations: 19.94 kB / 1.309 GB, free: 288 kB / 0.9981 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.4122, allocations: 3.984 kB / 1.309 GB, free: 284 kB / 0.9981 GB
Notification: Performance of NFEvalConstants.evaluate: time 6.695e-05/0.4123, allocations: 8 kB / 1.309 GB, free: 276 kB / 0.9981 GB
Notification: Performance of NFSimplifyModel.simplify: time 4.405e-05/0.4123, allocations: 15.92 kB / 1.309 GB, free: 260 kB / 0.9981 GB
Notification: Performance of NFPackage.collectConstants: time 2.136e-05/0.4123, allocations: 4 kB / 1.309 GB, free: 256 kB / 0.9981 GB
Notification: Performance of NFFlatten.collectFunctions: time 8.125e-06/0.4123, allocations: 0 / 1.309 GB, free: 256 kB / 0.9981 GB
Notification: Performance of NFScalarize.scalarize: time 1.57e-05/0.4124, allocations: 0 / 1.309 GB, free: 256 kB / 0.9981 GB
Notification: Performance of NFVerifyModel.verify: time 3.326e-05/0.4124, allocations: 15.92 kB / 1.309 GB, free: 240 kB / 0.9981 GB
Notification: Performance of NFConvertDAE.convert: time 9.797e-05/0.4125, allocations: 27.84 kB / 1.309 GB, free: 212 kB / 0.9981 GB
Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.4125, allocations: 0 / 1.309 GB, free: 212 kB / 0.9981 GB
Notification: Performance of FrontEnd: time 1.372e-06/0.4125, allocations: 3.938 kB / 1.309 GB, free: 208 kB / 0.9981 GB
Notification: Performance of Transformations before backend: time 8.737e-06/0.4125, allocations: 3.938 kB / 1.309 GB, free: 204 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.0004996/0.413, allocations: 254.4 kB / 1.309 GB, free: 15.92 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.413, allocations: 12.92 kB / 1.309 GB, free: 15.91 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.86e-05/0.4131, allocations: 12.88 kB / 1.309 GB, free: 15.89 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.4132, allocations: 106.5 kB / 1.309 GB, free: 15.77 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.4132, allocations: 4.375 kB / 1.309 GB, free: 15.76 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.544e-05/0.4132, allocations: 4.375 kB / 1.309 GB, free: 15.76 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001845/0.4134, allocations: 46.23 kB / 1.309 GB, free: 15.71 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.4134, allocations: 4.172 kB / 1.309 GB, free: 15.7 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.4135, allocations: 7.938 kB / 1.309 GB, free: 15.7 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.4135, allocations: 0 / 1.309 GB, free: 15.7 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001704/0.4136, allocations: 31.97 kB / 1.309 GB, free: 15.66 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003861/0.414, allocations: 224 kB / 1.31 GB, free: 15.4 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001348/0.4141, allocations: 38.5 kB / 1.31 GB, free: 15.36 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 8.369e-05/0.4142, allocations: 16.91 kB / 1.31 GB, free: 15.34 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/0.4143, allocations: 4 kB / 1.31 GB, free: 15.33 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/0.4143, allocations: 30.56 kB / 1.31 GB, free: 15.29 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.4143, allocations: 4 kB / 1.31 GB, free: 15.29 MB / 1.014 GB
Notification: Performance of matching and sorting (n=2): time 0.0003635/0.4146, allocations: 85.58 kB / 1.31 GB, free: 15.2 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.107e-05/0.4147, allocations: 51.41 kB / 1.31 GB, free: 15.14 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.418e-05/0.4148, allocations: 101.8 kB / 1.31 GB, free: 15.03 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.4148, allocations: 25.7 kB / 1.31 GB, free: 15 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 6.459e-05/0.4149, allocations: 88.16 kB / 1.31 GB, free: 14.91 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 2.014e-05/0.4149, allocations: 11.95 kB / 1.31 GB, free: 14.89 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.393e-05/0.4149, allocations: 13.72 kB / 1.31 GB, free: 14.88 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001728/0.4151, allocations: 318.8 kB / 1.31 GB, free: 14.55 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 8.247e-05/0.4152, allocations: 15.98 kB / 1.31 GB, free: 14.54 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 6.757e-05/0.4153, allocations: 11.98 kB / 1.31 GB, free: 14.53 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001843/0.4154, allocations: 44.88 kB / 1.31 GB, free: 14.48 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.4154, allocations: 0 / 1.31 GB, free: 14.48 MB / 1.014 GB
Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001909/0.4156, allocations: 69.55 kB / 1.31 GB, free: 14.41 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.4157, allocations: 4 kB / 1.31 GB, free: 14.4 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.4157, allocations: 0 / 1.31 GB, free: 14.4 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.4157, allocations: 0 / 1.31 GB, free: 14.4 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.681e-05/0.4158, allocations: 15.98 kB / 1.31 GB, free: 14.39 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.4158, allocations: 4.031 kB / 1.31 GB, free: 14.38 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.858e-05/0.4158, allocations: 7.984 kB / 1.31 GB, free: 14.38 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.511e-06/0.4158, allocations: 0 / 1.31 GB, free: 14.38 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.812e-05/0.4159, allocations: 117.7 kB / 1.311 GB, free: 14.25 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.557e-05/0.416, allocations: 4 kB / 1.311 GB, free: 14.25 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002352/0.4162, allocations: 72.91 kB / 1.311 GB, free: 14.17 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.4162, allocations: 4.031 kB / 1.311 GB, free: 14.16 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.4162, allocations: 3.938 kB / 1.311 GB, free: 14.16 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.4162, allocations: 0 / 1.311 GB, free: 14.16 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001835/0.4164, allocations: 136.7 kB / 1.311 GB, free: 13.98 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.4164, allocations: 0 / 1.311 GB, free: 13.98 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.693e-05/0.4164, allocations: 7.984 kB / 1.311 GB, free: 13.98 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.4164, allocations: 0 / 1.311 GB, free: 13.98 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.4165, allocations: 0 / 1.311 GB, free: 13.98 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.4165, allocations: 4 kB / 1.311 GB, free: 13.97 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4165, allocations: 0 / 1.311 GB, free: 13.97 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002648/0.4167, allocations: 175.4 kB / 1.311 GB, free: 13.79 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 7.073e-06/0.4167, allocations: 0 / 1.311 GB, free: 13.79 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.328e-05/0.4167, allocations: 3.938 kB / 1.311 GB, free: 13.78 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.533e-05/0.4168, allocations: 7.984 kB / 1.311 GB, free: 13.77 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.233e-05/0.4169, allocations: 0 / 1.311 GB, free: 13.77 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.4169, allocations: 4 kB / 1.311 GB, free: 13.77 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 5.005e-05/0.4169, allocations: 83.31 kB / 1.311 GB, free: 13.69 MB / 1.014 GB
Notification: Performance of sort global known variables: time 9.1e-08/0.4169, allocations: 3.938 kB / 1.311 GB, free: 13.68 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.000216/0.4171, allocations: 4 kB / 1.311 GB, free: 13.68 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.0001377/0.4173, allocations: 100.4 kB / 1.311 GB, free: 13.57 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0002211/0.4175, allocations: 31.97 kB / 1.311 GB, free: 13.54 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4175, allocations: 0 / 1.311 GB, free: 13.54 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 8.2e-05/0.4176, allocations: 20.05 kB / 1.311 GB, free: 13.52 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003243/0.4179, allocations: 11.92 kB / 1.311 GB, free: 13.51 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003329/0.4182, allocations: 105.5 kB / 1.311 GB, free: 13.38 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003581/0.4186, allocations: 0.6729 MB / 1.312 GB, free: 12.68 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 2.642e-05/0.4186, allocations: 4 kB / 1.312 GB, free: 12.68 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.981e-05/0.4186, allocations: 7.438 kB / 1.312 GB, free: 12.67 MB / 1.014 GB
Notification: Performance of SimCode: time 3.71e-07/0.4186, allocations: 4.062 kB / 1.312 GB, free: 12.66 MB / 1.014 GB
Notification: Performance of Templates: time 0.003095/0.4217, allocations: 460.5 kB / 1.312 GB, free: 12.22 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Log.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.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.656981196254492]