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.009472/0.009472, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001512/0.001513, allocations: 190.6 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.624/1.624, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.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.49/1.49, allocations: 251.7 MB / 0.5094 GB, free: 412 kB / 430.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.001426/0.001426, allocations: 76.41 kB / 0.7258 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.849/0.8504, allocations: 104.7 MB / 0.8281 GB, free: 2.617 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos): time 0.002858/0.8533, allocations: 1.372 MB / 0.8294 GB, free: 1.23 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0004457/0.8538, allocations: 128.5 kB / 0.8296 GB, free: 1.102 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.171e-05/0.8538, allocations: 4 kB / 0.8296 GB, free: 1.098 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 3.911e-05/0.8539, allocations: 3.938 kB / 0.8296 GB, free: 1.094 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 8.327e-05/0.854, allocations: 7.938 kB / 0.8296 GB, free: 1.086 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.000203/0.8542, allocations: 4 kB / 0.8296 GB, free: 1.082 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 9.617e-05/0.8543, allocations: 27.92 kB / 0.8296 GB, free: 1.055 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001511/0.8545, allocations: 11.92 kB / 0.8296 GB, free: 1.043 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 7.937e-05/0.8546, allocations: 4 kB / 0.8296 GB, free: 1.039 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 6.209e-05/0.8546, allocations: 15.92 kB / 0.8296 GB, free: 1.023 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 2.132e-05/0.8547, allocations: 4 kB / 0.8296 GB, free: 1.02 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 1.004e-05/0.8547, allocations: 7.938 kB / 0.8296 GB, free: 1.012 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 2.529e-05/0.8547, allocations: 7.984 kB / 0.8297 GB, free: 1.004 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 3.525e-05/0.8548, allocations: 7.938 kB / 0.8297 GB, free: 0.9961 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0001136/0.8549, allocations: 15.97 kB / 0.8297 GB, free: 0.9805 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/0.8549, allocations: 4 kB / 0.8297 GB, free: 0.9766 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.615e-06/0.8549, allocations: 0 / 0.8297 GB, free: 0.9766 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.128e-05/0.8549, allocations: 3.984 kB / 0.8297 GB, free: 0.9727 MB / 0.6231 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.0006029/0.8555, allocations: 327.1 kB / 0.83 GB, free: 0.6055 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.92e-05/0.8556, allocations: 16.02 kB / 0.83 GB, free: 0.5898 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.682e-05/0.8557, allocations: 12.78 kB / 0.83 GB, free: 0.5781 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001808/0.8558, allocations: 164.4 kB / 0.8302 GB, free: 388 kB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.419e-05/0.8559, allocations: 4.375 kB / 0.8302 GB, free: 384 kB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.8559, allocations: 384 / 0.8302 GB, free: 384 kB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002504/0.8562, allocations: 58.17 kB / 0.8302 GB, free: 320 kB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.8562, allocations: 192 / 0.8302 GB, free: 320 kB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.8562, allocations: 3.938 kB / 0.8302 GB, free: 316 kB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.8562, allocations: 0 / 0.8302 GB, free: 316 kB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002157/0.8564, allocations: 39.95 kB / 0.8303 GB, free: 276 kB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004664/0.8569, allocations: 245 kB / 0.8305 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001599/0.8571, allocations: 38.5 kB / 0.8306 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001203/0.8572, allocations: 20.84 kB / 0.8306 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 3.162e-05/0.8573, allocations: 7.984 kB / 0.8306 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.942e-05/0.8573, allocations: 38.56 kB / 0.8306 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=2): time 1.393e-06/0.8573, allocations: 0 / 0.8306 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of matching and sorting (n=2): time 0.0004582/0.8578, allocations: 73.64 kB / 0.8307 GB, free: 15.78 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.673e-05/0.8578, allocations: 55.41 kB / 0.8307 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.858, allocations: 97.98 kB / 0.8308 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.858, allocations: 29.7 kB / 0.8309 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 6.266e-05/0.8581, allocations: 80.14 kB / 0.8309 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.231e-05/0.8581, allocations: 11.89 kB / 0.8309 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.898e-05/0.8582, allocations: 13.72 kB / 0.831 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.8583, allocations: 310.8 kB / 0.8313 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/0.8584, allocations: 23.92 kB / 0.8313 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.343e-05/0.8585, allocations: 15.98 kB / 0.8313 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002011/0.8587, allocations: 40.81 kB / 0.8313 GB, free: 15.06 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.8587, allocations: 0 / 0.8313 GB, free: 15.06 MB / 0.6387 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002437/0.859, allocations: 73.5 kB / 0.8314 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.859, allocations: 8 kB / 0.8314 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.859, allocations: 0 / 0.8314 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.8591, allocations: 4.094 kB / 0.8314 GB, free: 14.97 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.8592, allocations: 4 kB / 0.8314 GB, free: 14.97 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/0.8592, allocations: 4 kB / 0.8314 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.234e-05/0.8593, allocations: 10.17 kB / 0.8314 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.846e-06/0.8593, allocations: 7.938 kB / 0.8314 GB, free: 14.95 MB / 0.6387 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.903e-05/0.8594, allocations: 109.8 kB / 0.8315 GB, free: 14.83 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.766e-05/0.8594, allocations: 3.938 kB / 0.8316 GB, free: 14.83 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002967/0.8597, allocations: 84.72 kB / 0.8316 GB, free: 14.74 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.8598, allocations: 0 / 0.8316 GB, free: 14.74 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.895e-05/0.8598, allocations: 4 kB / 0.8316 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.8598, allocations: 0 / 0.8316 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002037/0.86, allocations: 157.6 kB / 0.8318 GB, free: 14.53 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.86, allocations: 0 / 0.8318 GB, free: 14.53 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.181e-05/0.8601, allocations: 11.98 kB / 0.8318 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.8601, allocations: 0 / 0.8318 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.888e-06/0.8602, allocations: 0 / 0.8318 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.8602, allocations: 4.031 kB / 0.8318 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.8602, allocations: 0 / 0.8318 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003029/0.8605, allocations: 167.4 kB / 0.832 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 4.919e-05/0.8605, allocations: 81.02 kB / 0.832 GB, free: 14.24 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.8606, allocations: 4 kB / 0.832 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.8607, allocations: 12.02 kB / 0.8321 GB, free: 14.22 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.511e-05/0.8608, allocations: 0 / 0.8321 GB, free: 14.22 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.8608, allocations: 0 / 0.8321 GB, free: 14.22 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 5.757e-05/0.8608, allocations: 87.27 kB / 0.8321 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8608, allocations: 0 / 0.8321 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000311/0.8612, allocations: 4 kB / 0.8321 GB, free: 14.13 MB / 0.6387 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.0001893/0.8613, allocations: 100.3 kB / 0.8322 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0002737/0.8616, allocations: 39.91 kB / 0.8323 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.8616, allocations: 0 / 0.8323 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.8618, allocations: 23.97 kB / 0.8323 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004486/0.8622, allocations: 3.938 kB / 0.8323 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003786/0.8626, allocations: 103.8 kB / 0.8324 GB, free: 13.83 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002914/0.8629, allocations: 0.6805 MB / 0.8331 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 2.94e-05/0.863, allocations: 8.125 kB / 0.8331 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.028e-05/0.863, allocations: 7.438 kB / 0.8331 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of SimCode: time 5.21e-07/0.863, allocations: 0 / 0.8331 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of Templates: time 0.003337/0.8663, allocations: 439.8 kB / 0.8335 GB, free: 12.68 MB / 0.6387 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.makefile (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)