Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Continuous.Validation.Cos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008867/0.0008867, allocations: 87.11 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.729/1.729, allocations: 205.4 MB / 222.1 MB, free: 5.375 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.58/1.58, allocations: 252 MB / 0.5102 GB, free: 4.832 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005171/0.0005173, allocations: 16 kB / 0.6243 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6298/0.6303, allocations: 106.3 MB / 0.7282 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos): time 0.001907/0.6323, allocations: 1.087 MB / 0.7292 GB, free: 10.31 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003308/0.6326, allocations: 120.6 kB / 0.7293 GB, free: 10.19 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.468e-05/0.6327, allocations: 0 / 0.7293 GB, free: 10.19 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.68e-05/0.6327, allocations: 7.875 kB / 0.7293 GB, free: 10.18 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.308e-05/0.6328, allocations: 0 / 0.7293 GB, free: 10.18 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001634/0.633, allocations: 7.984 kB / 0.7293 GB, free: 10.17 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7e-05/0.6331, allocations: 19.94 kB / 0.7294 GB, free: 10.15 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.989e-05/0.6332, allocations: 15.92 kB / 0.7294 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.383e-05/0.6333, allocations: 7.938 kB / 0.7294 GB, free: 10.13 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.538e-05/0.6333, allocations: 7.984 kB / 0.7294 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.41e-05/0.6333, allocations: 0 / 0.7294 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.938e-06/0.6333, allocations: 4 kB / 0.7294 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.224e-05/0.6334, allocations: 3.984 kB / 0.7294 GB, free: 10.11 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.772e-05/0.6334, allocations: 33.64 kB / 0.7294 GB, free: 10.07 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 6.036e-05/0.6335, allocations: 15.97 kB / 0.7294 GB, free: 10.06 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.6335, allocations: 0 / 0.7294 GB, free: 10.06 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.695e-06/0.6335, allocations: 0 / 0.7294 GB, free: 10.06 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.6335, allocations: 4 kB / 0.7295 GB, free: 10.05 MB / 0.545 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.0004669/0.634, allocations: 337.3 kB / 0.7298 GB, free: 9.68 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.634, allocations: 8.031 kB / 0.7298 GB, free: 9.672 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.397e-05/0.6341, allocations: 4 kB / 0.7298 GB, free: 9.668 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.6342, allocations: 163 kB / 0.7299 GB, free: 9.469 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.6342, allocations: 7.969 kB / 0.7299 GB, free: 9.461 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.6342, allocations: 8 kB / 0.73 GB, free: 9.453 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001826/0.6344, allocations: 49.69 kB / 0.73 GB, free: 9.398 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.6344, allocations: 0 / 0.73 GB, free: 9.398 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.6344, allocations: 0 / 0.73 GB, free: 9.398 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.6344, allocations: 0 / 0.73 GB, free: 9.398 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002175/0.6347, allocations: 51.89 kB / 0.7301 GB, free: 9.348 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004565/0.6351, allocations: 252.7 kB / 0.7303 GB, free: 9.051 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001307/0.6353, allocations: 46.59 kB / 0.7303 GB, free: 8.996 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.249e-05/0.6354, allocations: 28.91 kB / 0.7304 GB, free: 8.965 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.6354, allocations: 0 / 0.7304 GB, free: 8.965 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.6354, allocations: 30.56 kB / 0.7304 GB, free: 8.926 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.6354, allocations: 0 / 0.7304 GB, free: 8.926 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.000362/0.6358, allocations: 101.6 kB / 0.7305 GB, free: 8.82 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.534e-05/0.6359, allocations: 51.41 kB / 0.7305 GB, free: 8.758 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.7e-05/0.6359, allocations: 101.8 kB / 0.7306 GB, free: 8.648 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.636, allocations: 29.83 kB / 0.7307 GB, free: 8.613 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.961e-05/0.636, allocations: 92.08 kB / 0.7308 GB, free: 8.52 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.678e-05/0.636, allocations: 3.906 kB / 0.7308 GB, free: 8.516 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-06/0.6361, allocations: 0 / 0.7308 GB, free: 8.516 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.6362, allocations: 314.8 kB / 0.7311 GB, free: 8.199 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.967e-05/0.6363, allocations: 27.97 kB / 0.7311 GB, free: 8.172 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.492e-05/0.6363, allocations: 19.98 kB / 0.7311 GB, free: 8.152 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.636e-05/0.6364, allocations: 23.98 kB / 0.7311 GB, free: 8.129 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.6364, allocations: 0 / 0.7311 GB, free: 8.129 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001746/0.6366, allocations: 81.66 kB / 0.7312 GB, free: 8.043 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.6366, allocations: 4 kB / 0.7312 GB, free: 8.039 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.6366, allocations: 3.938 kB / 0.7312 GB, free: 8.035 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.6367, allocations: 0 / 0.7312 GB, free: 8.035 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.854e-05/0.6368, allocations: 11.98 kB / 0.7312 GB, free: 8.023 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.6368, allocations: 4 kB / 0.7312 GB, free: 8.02 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.474e-05/0.6368, allocations: 8.031 kB / 0.7312 GB, free: 8.012 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.6368, allocations: 0 / 0.7312 GB, free: 8.012 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.037e-05/0.6369, allocations: 117.8 kB / 0.7313 GB, free: 7.887 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.296e-05/0.6369, allocations: 3.984 kB / 0.7314 GB, free: 7.883 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002337/0.6372, allocations: 88.62 kB / 0.7314 GB, free: 7.789 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.6372, allocations: 0 / 0.7314 GB, free: 7.789 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.6372, allocations: 0 / 0.7314 GB, free: 7.789 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.6372, allocations: 0 / 0.7314 GB, free: 7.789 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001425/0.6374, allocations: 157.6 kB / 0.7316 GB, free: 7.586 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.6374, allocations: 4 kB / 0.7316 GB, free: 7.582 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.563e-05/0.6374, allocations: 15.98 kB / 0.7316 GB, free: 7.566 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.6374, allocations: 0 / 0.7316 GB, free: 7.566 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.146e-06/0.6375, allocations: 4.031 kB / 0.7316 GB, free: 7.562 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.6375, allocations: 0 / 0.7316 GB, free: 7.562 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.6375, allocations: 0 / 0.7316 GB, free: 7.562 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002173/0.6377, allocations: 175.5 kB / 0.7318 GB, free: 7.375 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.982e-05/0.6377, allocations: 81.11 kB / 0.7319 GB, free: 7.277 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.23e-05/0.6378, allocations: 0 / 0.7319 GB, free: 7.277 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.096e-05/0.6378, allocations: 7.984 kB / 0.7319 GB, free: 7.27 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.217e-05/0.6379, allocations: 8.125 kB / 0.7319 GB, free: 7.262 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/0.6379, allocations: 0 / 0.7319 GB, free: 7.262 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.837e-05/0.6379, allocations: 91.25 kB / 0.732 GB, free: 7.172 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.638, allocations: 3.938 kB / 0.732 GB, free: 7.168 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002044/0.6382, allocations: 4.031 kB / 0.732 GB, free: 7.164 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001462/0.6383, allocations: 99.25 kB / 0.7321 GB, free: 7.055 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002663/0.6386, allocations: 47.95 kB / 0.7321 GB, free: 7.008 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.6386, allocations: 4.062 kB / 0.7321 GB, free: 7.004 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.944e-05/0.6387, allocations: 23.98 kB / 0.7321 GB, free: 6.98 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002884/0.639, allocations: 11.19 kB / 0.7321 GB, free: 6.973 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002922/0.6393, allocations: 108.6 kB / 0.7322 GB, free: 6.844 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002751/0.6396, allocations: 0.6848 MB / 0.7329 GB, free: 6.133 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.184e-05/0.6396, allocations: 0 / 0.7329 GB, free: 6.133 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.342e-05/0.6396, allocations: 11.44 kB / 0.7329 GB, free: 6.121 MB / 0.545 GB Notification: Performance of SimCode: time 2.41e-07/0.6396, allocations: 0 / 0.7329 GB, free: 6.121 MB / 0.545 GB Notification: Performance of Templates: time 0.002439/0.6421, allocations: 350.4 kB / 0.7333 GB, free: 5.781 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe 2>&1) Environment - environmentSimulation: