Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_8_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.0009504/0.0009503, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.009396/0.009397, allocations: 169 kB / 16.26 MB, free: 6.652 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.715/1.715, allocations: 205.4 MB / 222.4 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.762/1.762, allocations: 292.7 MB / 0.5502 GB, free: 14.46 MB / 462.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.0005602/0.0005602, allocations: 18.72 kB / 0.6743 GB, free: 25.93 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3131, allocations: 116.3 MB / 0.7879 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos): time 0.001131/0.3143, allocations: 398.6 kB / 0.7883 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001218/0.3156, allocations: 0.8009 MB / 0.7891 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.521e-05/0.3157, allocations: 8 kB / 0.7891 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.988e-05/0.3157, allocations: 0 / 0.7891 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.001e-05/0.3158, allocations: 3.938 kB / 0.7891 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001686/0.3159, allocations: 7.984 kB / 0.7891 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.63e-05/0.316, allocations: 31.88 kB / 0.7891 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.3162, allocations: 3.984 kB / 0.7891 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.154e-05/0.3162, allocations: 8 kB / 0.7891 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.636e-05/0.3163, allocations: 11.92 kB / 0.7891 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.368e-05/0.3163, allocations: 0 / 0.7891 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.442e-05/0.3164, allocations: 0 / 0.7891 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.121e-05/0.3164, allocations: 7.984 kB / 0.7891 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.759e-05/0.3165, allocations: 37.64 kB / 0.7892 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.683e-05/0.3165, allocations: 19.95 kB / 0.7892 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.3166, allocations: 0 / 0.7892 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.294e-06/0.3166, allocations: 0 / 0.7892 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.3166, allocations: 0 / 0.7892 GB, free: 10.23 MB / 0.6075 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.0005331/0.3171, allocations: 335.7 kB / 0.7895 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/0.3172, allocations: 12.03 kB / 0.7895 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.691e-05/0.3172, allocations: 8.922 kB / 0.7895 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/0.3174, allocations: 164.3 kB / 0.7897 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.3174, allocations: 384 / 0.7897 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.351e-05/0.3175, allocations: 4.375 kB / 0.7897 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002142/0.3177, allocations: 58.17 kB / 0.7898 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.3177, allocations: 192 / 0.7898 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.3177, allocations: 7.938 kB / 0.7898 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.3177, allocations: 0 / 0.7898 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002058/0.3179, allocations: 39.97 kB / 0.7898 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005093/0.3185, allocations: 249 kB / 0.79 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001587/0.3186, allocations: 50.44 kB / 0.7901 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.667e-05/0.3187, allocations: 28.84 kB / 0.7901 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.636e-05/0.3188, allocations: 7.969 kB / 0.7901 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.724e-05/0.3188, allocations: 38.56 kB / 0.7902 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.563e-06/0.3188, allocations: 0 / 0.7902 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0004377/0.3193, allocations: 97.66 kB / 0.7903 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.772e-05/0.3194, allocations: 55.39 kB / 0.7903 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002241/0.3196, allocations: 97.86 kB / 0.7904 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.3196, allocations: 25.7 kB / 0.7904 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.036e-05/0.3197, allocations: 84.14 kB / 0.7905 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.114e-05/0.3197, allocations: 3.906 kB / 0.7905 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.951e-05/0.3198, allocations: 17.7 kB / 0.7905 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0003237/0.3201, allocations: 310.8 kB / 0.7908 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001007/0.3202, allocations: 27.95 kB / 0.7908 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.109e-05/0.3203, allocations: 23.98 kB / 0.7909 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001814/0.3205, allocations: 52.88 kB / 0.7909 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.249e-06/0.3205, allocations: 0 / 0.7909 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003153/0.3209, allocations: 77.61 kB / 0.791 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.668e-05/0.3209, allocations: 4 kB / 0.791 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.3209, allocations: 3.984 kB / 0.791 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.3209, allocations: 0 / 0.791 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.3211, allocations: 8 kB / 0.791 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.3211, allocations: 4 kB / 0.791 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.488e-05/0.3211, allocations: 7.984 kB / 0.791 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.3212, allocations: 7.938 kB / 0.791 GB, free: 8.125 MB / 0.6075 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 0.0001015/0.3213, allocations: 122.5 kB / 0.7911 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.455e-05/0.3213, allocations: 0 / 0.7911 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002793/0.3216, allocations: 80.72 kB / 0.7912 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.3216, allocations: 4.031 kB / 0.7912 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.337e-06/0.3216, allocations: 3.984 kB / 0.7912 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.3216, allocations: 0 / 0.7912 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003874/0.322, allocations: 161.6 kB / 0.7914 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.322, allocations: 0 / 0.7914 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.887e-05/0.3221, allocations: 15.98 kB / 0.7914 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.3221, allocations: 0 / 0.7914 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.3221, allocations: 0 / 0.7914 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.3221, allocations: 0 / 0.7914 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.3222, allocations: 0 / 0.7914 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003081/0.3225, allocations: 179.3 kB / 0.7916 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.042e-05/0.3226, allocations: 85.05 kB / 0.7917 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.996e-05/0.3226, allocations: 0 / 0.7917 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.404e-05/0.3227, allocations: 16.02 kB / 0.7917 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.304e-05/0.3227, allocations: 7.938 kB / 0.7917 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.157e-06/0.3228, allocations: 0 / 0.7917 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.448e-05/0.3228, allocations: 83.27 kB / 0.7918 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3228, allocations: 0 / 0.7918 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002296/0.3231, allocations: 4 kB / 0.7918 GB, free: 7.273 MB / 0.6075 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.0002411/0.3233, allocations: 102.1 kB / 0.7919 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002734/0.3236, allocations: 47.91 kB / 0.7919 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3236, allocations: 0 / 0.7919 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.535e-05/0.3237, allocations: 32.03 kB / 0.7919 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003515/0.3241, allocations: 7.938 kB / 0.7919 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004101/0.3245, allocations: 100.7 kB / 0.792 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00068/0.3252, allocations: 0.6809 MB / 0.7927 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.944e-05/0.3252, allocations: 4 kB / 0.7927 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.367e-05/0.3253, allocations: 7.5 kB / 0.7927 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of SimCode: time 6.01e-07/0.3253, allocations: 4 kB / 0.7927 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of Templates: time 0.003171/0.3284, allocations: 364.6 kB / 0.7931 GB, free: 5.883 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe 2>&1) Environment - environmentSimulation: