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.00188/0.00188, 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.002133/0.002133, allocations: 192 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.529/1.529, 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.422/3.422, allocations: 496 MB / 0.7834 GB, free: 33.55 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.002168/0.002168, allocations: 64.67 kB / 1.138 GB, free: 33.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4383/0.4405, allocations: 173.6 MB / 1.307 GB, free: 1.762 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001965/0.4425, allocations: 0.6782 MB / 1.308 GB, free: 1.082 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0009972/0.4435, allocations: 0.8277 MB / 1.309 GB, free: 248 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.66e-05/0.4435, allocations: 0 / 1.309 GB, free: 248 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.376e-05/0.4435, allocations: 3.938 kB / 1.309 GB, free: 244 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.16e-05/0.4436, allocations: 0 / 1.309 GB, free: 244 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001581/0.4438, allocations: 15.92 kB / 1.309 GB, free: 228 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.891e-05/0.4438, allocations: 19.94 kB / 1.309 GB, free: 208 kB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.4439, allocations: 7.984 kB / 1.309 GB, free: 200 kB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.462e-05/0.444, allocations: 8 kB / 1.309 GB, free: 192 kB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.308e-05/0.4441, allocations: 15.91 kB / 1.309 GB, free: 176 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.83e-05/0.4441, allocations: 8 kB / 1.309 GB, free: 168 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.055e-06/0.4441, allocations: 0 / 1.309 GB, free: 168 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.722e-05/0.4441, allocations: 4 kB / 1.309 GB, free: 164 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.832e-05/0.4441, allocations: 7.938 kB / 1.309 GB, free: 156 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 8.911e-05/0.4442, allocations: 23.84 kB / 1.309 GB, free: 132 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.4442, allocations: 0 / 1.309 GB, free: 132 kB / 0.9981 GB Notification: Performance of FrontEnd: time 2.876e-06/0.4442, allocations: 7.938 kB / 1.309 GB, free: 124 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.4442, allocations: 0 / 1.309 GB, free: 124 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.0004524/0.4447, allocations: 254.4 kB / 1.309 GB, free: 15.84 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.4447, allocations: 12.92 kB / 1.309 GB, free: 15.83 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.492e-05/0.4447, allocations: 8.891 kB / 1.309 GB, free: 15.82 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.4449, allocations: 106.5 kB / 1.309 GB, free: 15.69 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.155e-06/0.4449, allocations: 384 / 1.309 GB, free: 15.69 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.238e-05/0.4449, allocations: 4.375 kB / 1.309 GB, free: 15.69 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001884/0.4451, allocations: 54.17 kB / 1.309 GB, free: 15.63 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.4451, allocations: 192 / 1.309 GB, free: 15.63 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.4451, allocations: 3.938 kB / 1.309 GB, free: 15.62 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.4451, allocations: 0 / 1.309 GB, free: 15.62 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001647/0.4453, allocations: 39.95 kB / 1.309 GB, free: 15.59 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003374/0.4456, allocations: 220 kB / 1.31 GB, free: 15.33 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001234/0.4457, allocations: 34.5 kB / 1.31 GB, free: 15.29 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.398e-05/0.4458, allocations: 24.84 kB / 1.31 GB, free: 15.26 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.278e-05/0.4458, allocations: 7.984 kB / 1.31 GB, free: 15.25 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.4459, allocations: 30.56 kB / 1.31 GB, free: 15.21 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.4459, allocations: 0 / 1.31 GB, free: 15.21 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0003438/0.4462, allocations: 81.64 kB / 1.31 GB, free: 15.12 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/0.4462, allocations: 51.41 kB / 1.31 GB, free: 15.06 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.498e-05/0.4463, allocations: 110 kB / 1.31 GB, free: 14.95 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.4463, allocations: 25.7 kB / 1.31 GB, free: 14.91 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.48e-05/0.4464, allocations: 88.03 kB / 1.31 GB, free: 14.82 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.758e-05/0.4464, allocations: 3.953 kB / 1.31 GB, free: 14.82 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.76e-05/0.4465, allocations: 17.72 kB / 1.31 GB, free: 14.8 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.4466, allocations: 318.8 kB / 1.31 GB, free: 14.48 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.817e-05/0.4467, allocations: 15.98 kB / 1.31 GB, free: 14.46 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.002e-05/0.4468, allocations: 19.98 kB / 1.31 GB, free: 14.44 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001374/0.4469, allocations: 36.81 kB / 1.31 GB, free: 14.4 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.4469, allocations: 0 / 1.31 GB, free: 14.4 MB / 1.014 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001836/0.4471, allocations: 69.61 kB / 1.31 GB, free: 14.33 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.4471, allocations: 4 kB / 1.31 GB, free: 14.32 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.4471, allocations: 4.094 kB / 1.31 GB, free: 14.32 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.4471, allocations: 4 kB / 1.31 GB, free: 14.32 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.598e-05/0.4472, allocations: 7.984 kB / 1.311 GB, free: 14.31 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.4472, allocations: 3.938 kB / 1.311 GB, free: 14.3 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.204e-05/0.4473, allocations: 15.92 kB / 1.311 GB, free: 14.29 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.4473, allocations: 0 / 1.311 GB, free: 14.29 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 8.119e-05/0.4473, allocations: 117.7 kB / 1.311 GB, free: 14.16 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.313e-05/0.4474, allocations: 0 / 1.311 GB, free: 14.16 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002276/0.4476, allocations: 76.97 kB / 1.311 GB, free: 14.08 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.4476, allocations: 3.938 kB / 1.311 GB, free: 14.08 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.4476, allocations: 0 / 1.311 GB, free: 14.08 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.4476, allocations: 0 / 1.311 GB, free: 14.08 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001589/0.4478, allocations: 132.7 kB / 1.311 GB, free: 13.91 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.4478, allocations: 0 / 1.311 GB, free: 13.91 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.178e-05/0.4478, allocations: 11.98 kB / 1.311 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.4478, allocations: 0 / 1.311 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-06/0.4478, allocations: 0 / 1.311 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.4478, allocations: 4.031 kB / 1.311 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.4478, allocations: 3.938 kB / 1.311 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002487/0.4481, allocations: 167.4 kB / 1.311 GB, free: 13.71 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.232e-06/0.4481, allocations: 0 / 1.311 GB, free: 13.71 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.4481, allocations: 4 kB / 1.311 GB, free: 13.7 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.75e-05/0.4482, allocations: 12.02 kB / 1.311 GB, free: 13.69 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.639e-05/0.4482, allocations: 0 / 1.311 GB, free: 13.69 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-06/0.4482, allocations: 0 / 1.311 GB, free: 13.69 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.823e-05/0.4483, allocations: 79.28 kB / 1.311 GB, free: 13.61 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.4483, allocations: 3.938 kB / 1.311 GB, free: 13.61 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002289/0.4485, allocations: 8 kB / 1.311 GB, free: 13.6 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.0001167/0.4486, allocations: 96.03 kB / 1.311 GB, free: 13.5 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002094/0.4488, allocations: 43.91 kB / 1.311 GB, free: 13.45 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.4488, allocations: 0 / 1.311 GB, free: 13.45 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 7.632e-05/0.4489, allocations: 11.98 kB / 1.311 GB, free: 13.44 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003098/0.4492, allocations: 18.27 kB / 1.311 GB, free: 13.43 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003186/0.4495, allocations: 107.5 kB / 1.311 GB, free: 13.3 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003082/0.4498, allocations: 0.6769 MB / 1.312 GB, free: 12.59 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.245e-05/0.4499, allocations: 0 / 1.312 GB, free: 12.59 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.83e-05/0.4499, allocations: 7.438 kB / 1.312 GB, free: 12.59 MB / 1.014 GB Notification: Performance of SimCode: time 2.91e-07/0.4499, allocations: 0 / 1.312 GB, free: 12.59 MB / 1.014 GB Notification: Performance of Templates: time 0.002818/0.4527, allocations: 455.5 kB / 1.312 GB, free: 12.14 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.53943496197462]