Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.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.001685/0.001685, allocations: 104.5 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.002032/0.002032, allocations: 191.8 kB / 22.11 MB, free: 5.148 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.589/1.589, 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.356/3.356, allocations: 495.8 MB / 0.783 GB, free: 33.68 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.Cos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cos1.u|cos1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos")
translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Cos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cos1.u|cos1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 66.64 kB / 1.137 GB, free: 33.77 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4202/0.4222, allocations: 173.6 MB / 1.307 GB, free: 1.824 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.002306/0.4245, allocations: 0.6743 MB / 1.307 GB, free: 1.148 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.001158/0.4257, allocations: 0.8199 MB / 1.308 GB, free: 324 kB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 5.248e-05/0.4257, allocations: 3.938 kB / 1.308 GB, free: 320 kB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 3.237e-05/0.4257, allocations: 3.938 kB / 1.308 GB, free: 316 kB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 8.464e-05/0.4258, allocations: 11.92 kB / 1.308 GB, free: 304 kB / 0.9981 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001889/0.426, allocations: 7.984 kB / 1.308 GB, free: 296 kB / 0.9981 GB
Notification: Performance of NFFlatten.flatten: time 9.82e-05/0.4261, allocations: 27.92 kB / 1.308 GB, free: 268 kB / 0.9981 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.4262, allocations: 4 kB / 1.308 GB, free: 264 kB / 0.9981 GB
Notification: Performance of NFEvalConstants.evaluate: time 8.126e-05/0.4263, allocations: 8 kB / 1.308 GB, free: 256 kB / 0.9981 GB
Notification: Performance of NFSimplifyModel.simplify: time 4.977e-05/0.4264, allocations: 15.92 kB / 1.308 GB, free: 240 kB / 0.9981 GB
Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.4264, allocations: 0 / 1.308 GB, free: 240 kB / 0.9981 GB
Notification: Performance of NFFlatten.collectFunctions: time 1.358e-05/0.4264, allocations: 4 kB / 1.308 GB, free: 236 kB / 0.9981 GB
Notification: Performance of NFScalarize.scalarize: time 1.746e-05/0.4264, allocations: 0 / 1.308 GB, free: 236 kB / 0.9981 GB
Notification: Performance of NFVerifyModel.verify: time 3.667e-05/0.4265, allocations: 15.92 kB / 1.308 GB, free: 220 kB / 0.9981 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001016/0.4266, allocations: 27.83 kB / 1.308 GB, free: 192 kB / 0.9981 GB
Notification: Performance of FrontEnd - DAE generated: time 5.962e-06/0.4266, allocations: 0 / 1.308 GB, free: 192 kB / 0.9981 GB
Notification: Performance of FrontEnd: time 3.206e-06/0.4266, allocations: 0 / 1.308 GB, free: 192 kB / 0.9981 GB
Notification: Performance of Transformations before backend: time 7.293e-06/0.4266, allocations: 0 / 1.308 GB, free: 192 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.0005793/0.4272, allocations: 262.3 kB / 1.309 GB, free: 15.9 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.4272, allocations: 12.03 kB / 1.309 GB, free: 15.89 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.749e-05/0.4272, allocations: 4.891 kB / 1.309 GB, free: 15.88 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.4274, allocations: 106.5 kB / 1.309 GB, free: 15.75 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.4274, allocations: 4.375 kB / 1.309 GB, free: 15.75 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.447e-05/0.4274, allocations: 4.312 kB / 1.309 GB, free: 15.75 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002084/0.4276, allocations: 50.23 kB / 1.309 GB, free: 15.69 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.4276, allocations: 4.188 kB / 1.309 GB, free: 15.69 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.4276, allocations: 3.938 kB / 1.309 GB, free: 15.68 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.4276, allocations: 0 / 1.309 GB, free: 15.68 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001853/0.4278, allocations: 35.95 kB / 1.309 GB, free: 15.65 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003829/0.4282, allocations: 212.1 kB / 1.309 GB, free: 15.4 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001442/0.4283, allocations: 46.44 kB / 1.309 GB, free: 15.34 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 9.151e-05/0.4284, allocations: 16.91 kB / 1.309 GB, free: 15.32 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 4.28e-05/0.4285, allocations: 7.984 kB / 1.309 GB, free: 15.32 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.4285, allocations: 34.56 kB / 1.309 GB, free: 15.27 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.4285, allocations: 0 / 1.309 GB, free: 15.27 MB / 1.014 GB
Notification: Performance of matching and sorting (n=2): time 0.0004029/0.4289, allocations: 85.73 kB / 1.309 GB, free: 15.18 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.956e-05/0.4289, allocations: 51.41 kB / 1.309 GB, free: 15.12 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.429, allocations: 101.8 kB / 1.309 GB, free: 15.01 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.4291, allocations: 25.7 kB / 1.309 GB, free: 14.98 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 5.443e-05/0.4291, allocations: 84.09 kB / 1.309 GB, free: 14.89 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 2.457e-05/0.4291, allocations: 11.95 kB / 1.309 GB, free: 14.88 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.242e-05/0.4292, allocations: 13.7 kB / 1.31 GB, free: 14.86 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001568/0.4293, allocations: 310.8 kB / 1.31 GB, free: 14.55 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 9.244e-05/0.4294, allocations: 24.02 kB / 1.31 GB, free: 14.53 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 7.397e-05/0.4295, allocations: 19.86 kB / 1.31 GB, free: 14.51 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001606/0.4297, allocations: 40.81 kB / 1.31 GB, free: 14.46 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.4297, allocations: 0 / 1.31 GB, free: 14.46 MB / 1.014 GB
Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002071/0.4299, allocations: 73.67 kB / 1.31 GB, free: 14.39 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.4299, allocations: 7.984 kB / 1.31 GB, free: 14.38 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.4299, allocations: 3.938 kB / 1.31 GB, free: 14.38 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.4299, allocations: 0 / 1.31 GB, free: 14.38 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.956e-05/0.43, allocations: 8 kB / 1.31 GB, free: 14.37 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.43, allocations: 0 / 1.31 GB, free: 14.37 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.369e-05/0.4301, allocations: 11.92 kB / 1.31 GB, free: 14.36 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.4301, allocations: 0 / 1.31 GB, free: 14.36 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.287e-05/0.4302, allocations: 117.8 kB / 1.31 GB, free: 14.23 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.472e-05/0.4302, allocations: 4 kB / 1.31 GB, free: 14.23 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002473/0.4304, allocations: 73.14 kB / 1.31 GB, free: 14.15 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.4304, allocations: 3.984 kB / 1.31 GB, free: 14.14 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.666e-06/0.4304, allocations: 0 / 1.31 GB, free: 14.14 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.4304, allocations: 0 / 1.31 GB, free: 14.14 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001722/0.4306, allocations: 132.7 kB / 1.31 GB, free: 13.97 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.4306, allocations: 0 / 1.31 GB, free: 13.97 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.351e-05/0.4307, allocations: 15.95 kB / 1.31 GB, free: 13.96 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.4307, allocations: 0 / 1.31 GB, free: 13.96 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.4307, allocations: 0 / 1.31 GB, free: 13.96 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.4307, allocations: 0 / 1.31 GB, free: 13.96 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.4307, allocations: 4 kB / 1.31 GB, free: 13.95 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002919/0.431, allocations: 163.4 kB / 1.31 GB, free: 13.78 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 6.863e-06/0.431, allocations: 8.031 kB / 1.31 GB, free: 13.77 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.415e-05/0.431, allocations: 0 / 1.31 GB, free: 13.77 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.944e-05/0.4311, allocations: 7.984 kB / 1.31 GB, free: 13.76 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.392e-05/0.4311, allocations: 0 / 1.31 GB, free: 13.76 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.816e-06/0.4311, allocations: 0 / 1.31 GB, free: 13.76 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 5.858e-05/0.4312, allocations: 87.27 kB / 1.311 GB, free: 13.68 MB / 1.014 GB
Notification: Performance of sort global known variables: time 7e-08/0.4312, allocations: 0 / 1.311 GB, free: 13.68 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002147/0.4314, allocations: 4 kB / 1.311 GB, free: 13.67 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.0001375/0.4315, allocations: 100 kB / 1.311 GB, free: 13.56 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0002377/0.4318, allocations: 35.91 kB / 1.311 GB, free: 13.53 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.4318, allocations: 0 / 1.311 GB, free: 13.53 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 9.49e-05/0.4319, allocations: 27.91 kB / 1.311 GB, free: 13.5 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003565/0.4322, allocations: 5.766 kB / 1.311 GB, free: 13.5 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003823/0.4326, allocations: 110.3 kB / 1.311 GB, free: 13.36 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.4329, allocations: 0.6807 MB / 1.312 GB, free: 12.66 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 2.389e-05/0.433, allocations: 3.938 kB / 1.312 GB, free: 12.65 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.264e-05/0.433, allocations: 11.44 kB / 1.312 GB, free: 12.64 MB / 1.014 GB
Notification: Performance of SimCode: time 4.7e-07/0.433, allocations: 0 / 1.312 GB, free: 12.64 MB / 1.014 GB
Notification: Performance of Templates: time 0.003198/0.4362, allocations: 448.4 kB / 1.312 GB, free: 12.21 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Cos.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.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.608387861400843]