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.001286/0.001286, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002603/0.002603, allocations: 195.9 kB / 16.14 MB, free: 6.703 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.566/1.566, allocations: 205.1 MB / 222 MB, free: 4.75 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.793/1.793, allocations: 292.2 MB / 0.5484 GB, free: 13.65 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.00138/0.00138, allocations: 71.81 kB / 0.6708 GB, free: 26.64 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2968/0.2982, allocations: 114.6 MB / 0.7827 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos): time 0.002211/0.3005, allocations: 0.7165 MB / 0.7834 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000891/0.3014, allocations: 0.8087 MB / 0.7842 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.189e-05/0.3015, allocations: 0 / 0.7842 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.39e-05/0.3015, allocations: 4 kB / 0.7842 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.092e-05/0.3016, allocations: 3.938 kB / 0.7842 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000159/0.3017, allocations: 7.984 kB / 0.7842 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.361e-05/0.3018, allocations: 31.92 kB / 0.7842 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.3019, allocations: 8 kB / 0.7842 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.344e-05/0.302, allocations: 8 kB / 0.7842 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.46e-05/0.3021, allocations: 11.92 kB / 0.7843 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.3021, allocations: 0 / 0.7843 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.568e-06/0.3021, allocations: 0 / 0.7843 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.886e-05/0.3021, allocations: 15.92 kB / 0.7843 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.122e-05/0.3021, allocations: 7.922 kB / 0.7843 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.092e-05/0.3022, allocations: 19.91 kB / 0.7843 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.3022, allocations: 0 / 0.7843 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.152e-06/0.3022, allocations: 4 kB / 0.7843 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.3022, allocations: 0 / 0.7843 GB, free: 12.32 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.0005092/0.3028, allocations: 339.7 kB / 0.7846 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.3028, allocations: 8.031 kB / 0.7846 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.051e-05/0.3028, allocations: 0.9375 kB / 0.7846 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/0.303, allocations: 164.4 kB / 0.7848 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.747e-06/0.303, allocations: 384 / 0.7848 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.525e-05/0.303, allocations: 4.375 kB / 0.7848 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001834/0.3032, allocations: 54.17 kB / 0.7848 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.3032, allocations: 192 / 0.7849 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.217e-05/0.3033, allocations: 11.92 kB / 0.7849 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.3033, allocations: 0 / 0.7849 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001634/0.3034, allocations: 35.95 kB / 0.7849 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003687/0.3038, allocations: 244.9 kB / 0.7851 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001299/0.304, allocations: 46.48 kB / 0.7852 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.577e-05/0.304, allocations: 20.91 kB / 0.7852 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.332e-05/0.3041, allocations: 3.938 kB / 0.7852 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.3041, allocations: 30.56 kB / 0.7852 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.3041, allocations: 0 / 0.7852 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003488/0.3045, allocations: 85.64 kB / 0.7853 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/0.3045, allocations: 51.41 kB / 0.7854 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.778e-05/0.3046, allocations: 97.86 kB / 0.7855 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.3046, allocations: 29.69 kB / 0.7855 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.504e-05/0.3047, allocations: 80.14 kB / 0.7856 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.3047, allocations: 7.906 kB / 0.7856 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.903e-05/0.3047, allocations: 17.84 kB / 0.7856 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.3049, allocations: 314.8 kB / 0.7859 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.363e-05/0.305, allocations: 23.91 kB / 0.7859 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.043e-05/0.305, allocations: 11.98 kB / 0.7859 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.3052, allocations: 36.89 kB / 0.7859 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.3052, allocations: 4 kB / 0.786 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001841/0.3054, allocations: 73.53 kB / 0.786 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.3054, allocations: 4 kB / 0.786 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3054, allocations: 0 / 0.786 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.3054, allocations: 0 / 0.786 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.375e-05/0.3055, allocations: 11.98 kB / 0.786 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.3055, allocations: 0 / 0.786 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.914e-05/0.3056, allocations: 12.03 kB / 0.7861 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.3056, allocations: 3.938 kB / 0.7861 GB, free: 10.3 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 8.37e-05/0.3057, allocations: 117.7 kB / 0.7862 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.309e-05/0.3057, allocations: 4 kB / 0.7862 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002212/0.306, allocations: 68.78 kB / 0.7862 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.306, allocations: 0 / 0.7862 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.306, allocations: 0 / 0.7862 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.306, allocations: 4.031 kB / 0.7862 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001584/0.3062, allocations: 161.6 kB / 0.7864 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.3062, allocations: 3.984 kB / 0.7864 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.474e-05/0.3062, allocations: 8 kB / 0.7864 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.3062, allocations: 0 / 0.7864 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.3062, allocations: 0 / 0.7864 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3062, allocations: 0 / 0.7864 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.3063, allocations: 7.984 kB / 0.7864 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002249/0.3065, allocations: 171.3 kB / 0.7866 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.558e-05/0.3065, allocations: 89.03 kB / 0.7867 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.288e-05/0.3066, allocations: 0 / 0.7867 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.153e-05/0.3066, allocations: 4 kB / 0.7867 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.731e-05/0.3067, allocations: 3.984 kB / 0.7867 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.3067, allocations: 0 / 0.7867 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.171e-05/0.3067, allocations: 79.28 kB / 0.7867 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3068, allocations: 4.031 kB / 0.7867 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002039/0.307, allocations: 4 kB / 0.7868 GB, free: 9.484 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.0001339/0.3071, allocations: 103.2 kB / 0.7869 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002024/0.3073, allocations: 39.89 kB / 0.7869 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3073, allocations: 0 / 0.7869 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.851e-05/0.3074, allocations: 20.05 kB / 0.7869 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003399/0.3077, allocations: 11.94 kB / 0.7869 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003019/0.3081, allocations: 107.2 kB / 0.787 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002864/0.3084, allocations: 0.6774 MB / 0.7877 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.593e-05/0.3084, allocations: 4 kB / 0.7877 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.474e-05/0.3084, allocations: 7.438 kB / 0.7877 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of SimCode: time 3.5e-07/0.3084, allocations: 4.062 kB / 0.7877 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of Templates: time 0.002163/0.3106, allocations: 360.3 kB / 0.788 GB, free: 8.105 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)