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.001043/0.001043, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.008887/0.008887, allocations: 171.8 kB / 16.26 MB, free: 6.676 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.601/1.601, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.611/1.611, allocations: 252 MB / 0.5105 GB, free: 4.652 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.0006078/0.0006078, allocations: 20 kB / 0.6249 GB, free: 0.7227 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6934/0.694, allocations: 106.3 MB / 0.7287 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos): time 0.001568/0.6956, allocations: 1.098 MB / 0.7298 GB, free: 10.2 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003068/0.6959, allocations: 132.5 kB / 0.7299 GB, free: 10.06 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.649e-05/0.696, allocations: 3.938 kB / 0.7299 GB, free: 10.06 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.455e-05/0.696, allocations: 0 / 0.7299 GB, free: 10.06 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.163e-05/0.6961, allocations: 0 / 0.7299 GB, free: 10.06 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000136/0.6962, allocations: 11.92 kB / 0.73 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.802e-05/0.6963, allocations: 20 kB / 0.73 GB, free: 10.03 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.055e-05/0.6964, allocations: 7.984 kB / 0.73 GB, free: 10.02 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.875e-05/0.6965, allocations: 11.92 kB / 0.73 GB, free: 10.01 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.203e-05/0.6965, allocations: 7.984 kB / 0.73 GB, free: 10 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.6965, allocations: 0 / 0.73 GB, free: 10 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.083e-05/0.6965, allocations: 4 kB / 0.73 GB, free: 9.996 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.031e-05/0.6966, allocations: 7.938 kB / 0.73 GB, free: 9.988 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.663e-05/0.6966, allocations: 29.64 kB / 0.73 GB, free: 9.953 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 7.417e-05/0.6967, allocations: 19.91 kB / 0.7301 GB, free: 9.934 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.6967, allocations: 3.984 kB / 0.7301 GB, free: 9.93 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.284e-06/0.6967, allocations: 4 kB / 0.7301 GB, free: 9.926 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.501e-06/0.6967, allocations: 0 / 0.7301 GB, free: 9.926 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.0004469/0.6972, allocations: 333.5 kB / 0.7304 GB, free: 9.551 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.6972, allocations: 12.03 kB / 0.7304 GB, free: 9.539 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.924e-05/0.6973, allocations: 4.922 kB / 0.7304 GB, free: 9.535 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.6974, allocations: 168.3 kB / 0.7306 GB, free: 9.332 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.6974, allocations: 4.375 kB / 0.7306 GB, free: 9.328 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.02e-05/0.6974, allocations: 4.375 kB / 0.7306 GB, free: 9.324 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001871/0.6976, allocations: 54.23 kB / 0.7306 GB, free: 9.266 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.6977, allocations: 192 / 0.7306 GB, free: 9.266 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.6977, allocations: 7.938 kB / 0.7306 GB, free: 9.258 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.6977, allocations: 0 / 0.7306 GB, free: 9.258 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001878/0.6979, allocations: 47.91 kB / 0.7307 GB, free: 9.211 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003247/0.6982, allocations: 252.9 kB / 0.7309 GB, free: 8.914 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001251/0.6983, allocations: 50.5 kB / 0.731 GB, free: 8.855 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.863e-05/0.6984, allocations: 20.91 kB / 0.731 GB, free: 8.832 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.631e-05/0.6985, allocations: 4 kB / 0.731 GB, free: 8.828 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.6985, allocations: 34.55 kB / 0.731 GB, free: 8.785 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.6985, allocations: 3.938 kB / 0.731 GB, free: 8.781 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003682/0.6989, allocations: 97.59 kB / 0.7311 GB, free: 8.68 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/0.6989, allocations: 55.39 kB / 0.7312 GB, free: 8.613 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.017e-05/0.699, allocations: 106 kB / 0.7313 GB, free: 8.5 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.699, allocations: 25.7 kB / 0.7313 GB, free: 8.469 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.059e-05/0.6991, allocations: 80.14 kB / 0.7314 GB, free: 8.387 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.988e-05/0.6991, allocations: 7.906 kB / 0.7314 GB, free: 8.379 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.395e-05/0.6991, allocations: 17.7 kB / 0.7314 GB, free: 8.355 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.6993, allocations: 310.8 kB / 0.7317 GB, free: 8.043 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.507e-05/0.6994, allocations: 15.98 kB / 0.7317 GB, free: 8.027 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.017e-05/0.6995, allocations: 31.92 kB / 0.7317 GB, free: 7.996 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000168/0.6996, allocations: 56.81 kB / 0.7318 GB, free: 7.938 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.6996, allocations: 0 / 0.7318 GB, free: 7.938 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002001/0.6998, allocations: 73.61 kB / 0.7319 GB, free: 7.859 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.6999, allocations: 4 kB / 0.7319 GB, free: 7.855 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.6999, allocations: 4 kB / 0.7319 GB, free: 7.852 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.6999, allocations: 3.984 kB / 0.7319 GB, free: 7.848 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.601e-05/0.7, allocations: 12.22 kB / 0.7319 GB, free: 7.836 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.7, allocations: 0 / 0.7319 GB, free: 7.836 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.033e-05/0.7001, allocations: 7.984 kB / 0.7319 GB, free: 7.828 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.7001, allocations: 8 kB / 0.7319 GB, free: 7.82 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.729e-05/0.7002, allocations: 109.8 kB / 0.732 GB, free: 7.703 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.386e-05/0.7002, allocations: 7.891 kB / 0.732 GB, free: 7.695 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002344/0.7004, allocations: 88.72 kB / 0.7321 GB, free: 7.602 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.7004, allocations: 0 / 0.7321 GB, free: 7.602 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/0.7005, allocations: 7.984 kB / 0.7321 GB, free: 7.594 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.7005, allocations: 0 / 0.7321 GB, free: 7.594 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001576/0.7006, allocations: 157.6 kB / 0.7323 GB, free: 7.391 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.7006, allocations: 4.031 kB / 0.7323 GB, free: 7.387 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.974e-05/0.7007, allocations: 11.98 kB / 0.7323 GB, free: 7.375 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.7007, allocations: 0 / 0.7323 GB, free: 7.375 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.7007, allocations: 0 / 0.7323 GB, free: 7.375 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.7007, allocations: 3.984 kB / 0.7323 GB, free: 7.371 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.7007, allocations: 0 / 0.7323 GB, free: 7.371 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002517/0.701, allocations: 179.4 kB / 0.7324 GB, free: 7.18 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.771e-05/0.701, allocations: 77.11 kB / 0.7325 GB, free: 7.086 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.22e-05/0.7011, allocations: 7.938 kB / 0.7325 GB, free: 7.078 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.65e-05/0.7011, allocations: 11.98 kB / 0.7325 GB, free: 7.066 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.268e-05/0.7012, allocations: 4.031 kB / 0.7325 GB, free: 7.062 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-06/0.7012, allocations: 0 / 0.7325 GB, free: 7.062 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.444e-05/0.7012, allocations: 79.28 kB / 0.7326 GB, free: 6.984 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7012, allocations: 0 / 0.7326 GB, free: 6.984 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002085/0.7014, allocations: 7.984 kB / 0.7326 GB, free: 6.977 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 (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.0001509/0.7016, allocations: 99.25 kB / 0.7327 GB, free: 6.867 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002102/0.7018, allocations: 47.97 kB / 0.7328 GB, free: 6.82 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.7018, allocations: 0 / 0.7328 GB, free: 6.82 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.053e-05/0.7019, allocations: 23.97 kB / 0.7328 GB, free: 6.797 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002684/0.7022, allocations: 11.88 kB / 0.7328 GB, free: 6.785 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002617/0.7025, allocations: 116.8 kB / 0.7329 GB, free: 6.648 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002575/0.7027, allocations: 0.677 MB / 0.7336 GB, free: 5.945 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.029e-05/0.7028, allocations: 3.938 kB / 0.7336 GB, free: 5.941 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.287e-05/0.7028, allocations: 7.438 kB / 0.7336 GB, free: 5.934 MB / 0.545 GB Notification: Performance of SimCode: time 3.61e-07/0.7028, allocations: 0 / 0.7336 GB, free: 5.934 MB / 0.545 GB Notification: Performance of Templates: time 0.002217/0.705, allocations: 360.9 kB / 0.7339 GB, free: 5.586 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: