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.001249/0.001249, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00197/0.001971, allocations: 197.3 kB / 16.26 MB, free: 6.621 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.643/1.643, allocations: 205.1 MB / 222.1 MB, free: 4.738 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.768/1.768, allocations: 292.2 MB / 0.5485 GB, free: 13.64 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.001374/0.001375, allocations: 65.58 kB / 0.671 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3388/0.3402, allocations: 114.6 MB / 0.7829 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos): time 0.003412/0.3437, allocations: 0.7269 MB / 0.7836 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001314/0.345, allocations: 0.8009 MB / 0.7844 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.502e-05/0.3451, allocations: 4 kB / 0.7844 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.601e-05/0.3452, allocations: 0 / 0.7844 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.776e-05/0.3454, allocations: 3.938 kB / 0.7844 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002187/0.3456, allocations: 7.984 kB / 0.7844 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001059/0.3457, allocations: 27.94 kB / 0.7844 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001477/0.3459, allocations: 7.984 kB / 0.7844 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.902e-05/0.3459, allocations: 11.94 kB / 0.7844 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.967e-05/0.346, allocations: 11.92 kB / 0.7844 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.45e-05/0.346, allocations: 4 kB / 0.7844 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.246e-05/0.3461, allocations: 0 / 0.7844 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.18e-05/0.3461, allocations: 4 kB / 0.7844 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.881e-05/0.3461, allocations: 15.92 kB / 0.7845 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001021/0.3462, allocations: 15.97 kB / 0.7845 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.3463, allocations: 3.984 kB / 0.7845 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.975e-06/0.3463, allocations: 0 / 0.7845 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.3463, allocations: 4 kB / 0.7845 GB, free: 12.27 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.0005618/0.3468, allocations: 339.7 kB / 0.7848 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.582e-05/0.3469, allocations: 15.97 kB / 0.7848 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.404e-05/0.347, allocations: 0.9375 kB / 0.7848 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001926/0.3472, allocations: 164.4 kB / 0.785 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.3472, allocations: 4.375 kB / 0.785 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.595e-05/0.3472, allocations: 384 / 0.785 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002214/0.3474, allocations: 54.23 kB / 0.785 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.3475, allocations: 192 / 0.785 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.3475, allocations: 7.875 kB / 0.785 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.3475, allocations: 0 / 0.785 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000179/0.3477, allocations: 35.95 kB / 0.7851 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005301/0.3482, allocations: 248.9 kB / 0.7853 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000143/0.3484, allocations: 42.5 kB / 0.7854 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.59e-05/0.3485, allocations: 24.89 kB / 0.7854 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.7e-05/0.3485, allocations: 0 / 0.7854 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/0.3485, allocations: 38.5 kB / 0.7854 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.3485, allocations: 0 / 0.7854 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003817/0.3489, allocations: 81.64 kB / 0.7855 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/0.349, allocations: 55.41 kB / 0.7855 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.904e-05/0.3491, allocations: 97.8 kB / 0.7856 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.612e-05/0.3491, allocations: 25.7 kB / 0.7857 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.874e-05/0.3492, allocations: 84.14 kB / 0.7857 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.705e-05/0.3492, allocations: 7.891 kB / 0.7858 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.385e-05/0.3492, allocations: 13.72 kB / 0.7858 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.3494, allocations: 319 kB / 0.7861 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.672e-05/0.3495, allocations: 15.98 kB / 0.7861 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.405e-05/0.3496, allocations: 19.92 kB / 0.7861 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001567/0.3498, allocations: 40.81 kB / 0.7861 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.3498, allocations: 0 / 0.7861 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002046/0.35, allocations: 69.66 kB / 0.7862 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.35, allocations: 8 kB / 0.7862 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.35, allocations: 0 / 0.7862 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.3501, allocations: 0 / 0.7862 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.38e-05/0.3502, allocations: 4 kB / 0.7862 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.377e-06/0.3502, allocations: 7.969 kB / 0.7862 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.464e-05/0.3502, allocations: 4 kB / 0.7862 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.3503, allocations: 4.031 kB / 0.7862 GB, free: 10.24 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 9.156e-05/0.3504, allocations: 122.4 kB / 0.7864 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.47e-05/0.3504, allocations: 3.938 kB / 0.7864 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002322/0.3506, allocations: 72.77 kB / 0.7864 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.3506, allocations: 0 / 0.7864 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3506, allocations: 0 / 0.7864 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.3506, allocations: 0 / 0.7864 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000185/0.3508, allocations: 161.6 kB / 0.7866 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.3508, allocations: 0 / 0.7866 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.99e-05/0.3509, allocations: 11.98 kB / 0.7866 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.3509, allocations: 0 / 0.7866 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.3509, allocations: 0 / 0.7866 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3509, allocations: 0 / 0.7866 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3509, allocations: 0 / 0.7866 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002699/0.3512, allocations: 175.3 kB / 0.7868 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.278e-05/0.3513, allocations: 81.23 kB / 0.7868 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.3513, allocations: 4 kB / 0.7868 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.351e-05/0.3514, allocations: 11.97 kB / 0.7869 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.521e-05/0.3514, allocations: 4 kB / 0.7869 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.3514, allocations: 4 kB / 0.7869 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.392e-05/0.3515, allocations: 83.27 kB / 0.7869 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3515, allocations: 0 / 0.7869 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002097/0.3517, allocations: 8.031 kB / 0.7869 GB, free: 9.41 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.0001472/0.3519, allocations: 95.25 kB / 0.787 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002162/0.3521, allocations: 39.95 kB / 0.7871 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3521, allocations: 7.875 kB / 0.7871 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.939e-05/0.3522, allocations: 19.98 kB / 0.7871 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003209/0.3525, allocations: 8.062 kB / 0.7871 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003085/0.3528, allocations: 109.5 kB / 0.7872 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002671/0.3531, allocations: 0.6768 MB / 0.7879 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.459e-05/0.3531, allocations: 0 / 0.7879 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.132e-05/0.3532, allocations: 15.44 kB / 0.7879 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of SimCode: time 3.1e-07/0.3532, allocations: 0 / 0.7879 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of Templates: time 0.002612/0.3558, allocations: 372.7 kB / 0.7882 GB, free: 8.02 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.makefile (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)