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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.293/1.293, allocations: 252 MB / 267.9 MB, free: 10.92 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009928/0.0009926, allocations: 182.3 kB / 327.6 MB, free: 2.16 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.612/1.612, allocations: 205.4 MB / 0.5785 GB, free: 20.53 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007514/0.0007514, allocations: 82.36 kB / 0.6831 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004074/0.0004075, allocations: 16.81 kB / 0.7974 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.2151, allocations: 106.3 MB / 0.9012 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1636/0.3788, allocations: 131.5 MB / 1.03 GB, free: 12.39 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002542/0.3791, allocations: 63.97 kB / 1.03 GB, free: 12.33 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001673/0.3808, allocations: 0.6814 MB / 1.03 GB, free: 11.65 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.416e-06/0.3808, allocations: 3.938 kB / 1.03 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.3808, allocations: 0 / 1.03 GB, free: 11.64 MB / 0.6823 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.0003452/0.3811, allocations: 339.5 kB / 1.031 GB, free: 11.26 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.3812, allocations: 8.031 kB / 1.031 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.879e-05/0.3812, allocations: 4.938 kB / 1.031 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/0.3813, allocations: 168.3 kB / 1.031 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.3814, allocations: 8.359 kB / 1.031 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.3814, allocations: 384 / 1.031 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/0.3815, allocations: 62.23 kB / 1.031 GB, free: 10.97 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.3816, allocations: 192 / 1.031 GB, free: 10.97 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.3816, allocations: 3.938 kB / 1.031 GB, free: 10.97 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.3816, allocations: 0 / 1.031 GB, free: 10.97 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001435/0.3817, allocations: 47.89 kB / 1.031 GB, free: 10.92 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003703/0.3821, allocations: 268.8 kB / 1.031 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001078/0.3822, allocations: 50.53 kB / 1.031 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.707e-05/0.3823, allocations: 24.91 kB / 1.031 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.3824, allocations: 0 / 1.031 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.3824, allocations: 34.56 kB / 1.031 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.3824, allocations: 0 / 1.031 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0003158/0.3827, allocations: 101.6 kB / 1.031 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.303e-05/0.3828, allocations: 51.41 kB / 1.031 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.645e-05/0.3828, allocations: 101.8 kB / 1.032 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.155e-05/0.3828, allocations: 29.83 kB / 1.032 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.486e-05/0.3829, allocations: 80.14 kB / 1.032 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.725e-05/0.3829, allocations: 11.91 kB / 1.032 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.515e-06/0.3829, allocations: 0 / 1.032 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.383, allocations: 310.8 kB / 1.032 GB, free: 9.762 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.302e-05/0.3831, allocations: 19.97 kB / 1.032 GB, free: 9.742 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.408e-05/0.3832, allocations: 27.98 kB / 1.032 GB, free: 9.715 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001309/0.3833, allocations: 44.83 kB / 1.032 GB, free: 9.668 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3833, allocations: 0 / 1.032 GB, free: 9.668 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000168/0.3835, allocations: 85.59 kB / 1.032 GB, free: 9.578 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.3835, allocations: 8 kB / 1.032 GB, free: 9.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.3835, allocations: 0 / 1.032 GB, free: 9.57 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.3835, allocations: 0 / 1.032 GB, free: 9.57 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.773e-05/0.3836, allocations: 19.95 kB / 1.032 GB, free: 9.551 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.3837, allocations: 0 / 1.032 GB, free: 9.551 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.523e-05/0.3837, allocations: 11.98 kB / 1.032 GB, free: 9.539 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.997e-06/0.3837, allocations: 0 / 1.032 GB, free: 9.539 MB / 0.6823 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 6.582e-05/0.3838, allocations: 113.8 kB / 1.032 GB, free: 9.418 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.006e-05/0.3838, allocations: 0 / 1.032 GB, free: 9.418 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002084/0.384, allocations: 88.72 kB / 1.032 GB, free: 9.324 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.384, allocations: 0 / 1.032 GB, free: 9.324 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.3841, allocations: 4 kB / 1.032 GB, free: 9.32 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.3841, allocations: 0 / 1.032 GB, free: 9.32 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001624/0.3842, allocations: 169.5 kB / 1.033 GB, free: 9.105 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3842, allocations: 0 / 1.033 GB, free: 9.105 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.834e-05/0.3843, allocations: 16.03 kB / 1.033 GB, free: 9.09 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.3843, allocations: 0 / 1.033 GB, free: 9.09 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.3843, allocations: 3.984 kB / 1.033 GB, free: 9.086 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.3843, allocations: 0 / 1.033 GB, free: 9.086 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3843, allocations: 0 / 1.033 GB, free: 9.086 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002057/0.3845, allocations: 175.5 kB / 1.033 GB, free: 8.898 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.032e-05/0.3846, allocations: 77.11 kB / 1.033 GB, free: 8.805 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.3846, allocations: 7.938 kB / 1.033 GB, free: 8.797 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.86e-05/0.3847, allocations: 8 kB / 1.033 GB, free: 8.789 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.921e-05/0.3847, allocations: 4.172 kB / 1.033 GB, free: 8.785 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.786e-06/0.3847, allocations: 0 / 1.033 GB, free: 8.785 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.516e-05/0.3848, allocations: 91.23 kB / 1.033 GB, free: 8.695 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3848, allocations: 0 / 1.033 GB, free: 8.695 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001942/0.385, allocations: 4 kB / 1.033 GB, free: 8.691 MB / 0.6823 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.0001327/0.3851, allocations: 99.25 kB / 1.033 GB, free: 8.582 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001848/0.3853, allocations: 51.95 kB / 1.033 GB, free: 8.531 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3853, allocations: 0 / 1.033 GB, free: 8.531 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 7.163e-05/0.3854, allocations: 19.98 kB / 1.033 GB, free: 8.512 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002687/0.3857, allocations: 9.141 kB / 1.033 GB, free: 8.504 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00027/0.386, allocations: 116.8 kB / 1.033 GB, free: 8.363 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002204/0.3862, allocations: 0.6809 MB / 1.034 GB, free: 7.656 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.251e-05/0.3862, allocations: 0 / 1.034 GB, free: 7.656 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.47e-05/0.3862, allocations: 11.44 kB / 1.034 GB, free: 7.645 MB / 0.6823 GB Notification: Performance of SimCode: time 2.2e-07/0.3862, allocations: 0 / 1.034 GB, free: 7.645 MB / 0.6823 GB Notification: Performance of Templates: time 0.002036/0.3883, allocations: 359.4 kB / 1.034 GB, free: 7.297 MB / 0.6823 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)