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.001238/0.001239, allocations: 105.1 kB / 16.29 MB, free: 6.43 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.001401/0.001401, allocations: 184.7 kB / 17.22 MB, free: 5.934 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.582/1.582, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.042/2.042, allocations: 292.3 MB / 0.5495 GB, free: 17.63 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.00154/0.00154, allocations: 71.91 kB / 0.6722 GB, free: 6.453 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2874/0.289, allocations: 114.5 MB / 0.7841 GB, free: 3.789 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos): time 0.002053/0.2911, allocations: 0.6559 MB / 0.7847 GB, free: 3.125 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009429/0.2921, allocations: 0.8127 MB / 0.7855 GB, free: 2.297 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.414e-05/0.2921, allocations: 0 / 0.7855 GB, free: 2.297 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.423e-05/0.2922, allocations: 3.938 kB / 0.7855 GB, free: 2.293 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.628e-05/0.2922, allocations: 7.938 kB / 0.7855 GB, free: 2.285 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000142/0.2924, allocations: 4 kB / 0.7855 GB, free: 2.281 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.527e-05/0.2925, allocations: 27.92 kB / 0.7856 GB, free: 2.254 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.2926, allocations: 15.97 kB / 0.7856 GB, free: 2.238 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.817e-05/0.2927, allocations: 7.938 kB / 0.7856 GB, free: 2.23 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.336e-05/0.2927, allocations: 15.91 kB / 0.7856 GB, free: 2.215 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.698e-05/0.2927, allocations: 4 kB / 0.7856 GB, free: 2.211 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.959e-06/0.2927, allocations: 0 / 0.7856 GB, free: 2.211 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.738e-05/0.2928, allocations: 4 kB / 0.7856 GB, free: 2.207 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.109e-05/0.2928, allocations: 15.94 kB / 0.7856 GB, free: 2.191 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 7.888e-05/0.2929, allocations: 15.97 kB / 0.7856 GB, free: 2.176 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.2929, allocations: 0 / 0.7856 GB, free: 2.176 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2929, allocations: 0 / 0.7856 GB, free: 2.176 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.061e-05/0.2929, allocations: 3.984 kB / 0.7856 GB, free: 2.172 MB / 0.6544 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.0005041/0.2934, allocations: 335.6 kB / 0.786 GB, free: 1.793 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.639e-05/0.2935, allocations: 16.02 kB / 0.786 GB, free: 1.777 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.173e-05/0.2935, allocations: 0.9375 kB / 0.786 GB, free: 1.777 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001472/0.2937, allocations: 160.4 kB / 0.7861 GB, free: 1.582 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.2937, allocations: 8.375 kB / 0.7861 GB, free: 1.574 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.41e-05/0.2937, allocations: 384 / 0.7861 GB, free: 1.574 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001871/0.2939, allocations: 58.11 kB / 0.7862 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.2939, allocations: 192 / 0.7862 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.2939, allocations: 3.938 kB / 0.7862 GB, free: 1.508 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.2939, allocations: 0 / 0.7862 GB, free: 1.508 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001488/0.2941, allocations: 35.95 kB / 0.7862 GB, free: 1.473 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000379/0.2945, allocations: 245 kB / 0.7865 GB, free: 1.184 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.2946, allocations: 38.5 kB / 0.7865 GB, free: 1.137 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.809e-05/0.2947, allocations: 20.91 kB / 0.7865 GB, free: 1.113 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.305e-05/0.2947, allocations: 7.922 kB / 0.7865 GB, free: 1.105 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.2948, allocations: 38.56 kB / 0.7866 GB, free: 1.059 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 9.31e-07/0.2948, allocations: 0 / 0.7866 GB, free: 1.059 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0003374/0.2951, allocations: 81.55 kB / 0.7867 GB, free: 0.9727 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.524e-05/0.2952, allocations: 55.41 kB / 0.7867 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.375e-05/0.2952, allocations: 93.86 kB / 0.7868 GB, free: 0.8047 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.2953, allocations: 25.7 kB / 0.7868 GB, free: 0.7734 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.554e-05/0.2953, allocations: 88.27 kB / 0.7869 GB, free: 0.6836 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.556e-05/0.2953, allocations: 11.88 kB / 0.7869 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.293e-05/0.2954, allocations: 13.72 kB / 0.7869 GB, free: 0.6523 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.2955, allocations: 314.8 kB / 0.7872 GB, free: 344 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.847e-05/0.2956, allocations: 15.98 kB / 0.7872 GB, free: 328 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.352e-05/0.2957, allocations: 23.92 kB / 0.7873 GB, free: 304 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001306/0.2958, allocations: 44.88 kB / 0.7873 GB, free: 256 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2958, allocations: 0 / 0.7873 GB, free: 256 kB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001811/0.296, allocations: 65.59 kB / 0.7874 GB, free: 184 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.296, allocations: 8 kB / 0.7874 GB, free: 176 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.296, allocations: 0 / 0.7874 GB, free: 176 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.2961, allocations: 0 / 0.7874 GB, free: 176 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.615e-05/0.2962, allocations: 4 kB / 0.7874 GB, free: 172 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.2962, allocations: 8.031 kB / 0.7874 GB, free: 164 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.704e-05/0.2962, allocations: 3.984 kB / 0.7874 GB, free: 160 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-06/0.2962, allocations: 7.938 kB / 0.7874 GB, free: 152 kB / 0.6544 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 7.864e-05/0.2963, allocations: 117.7 kB / 0.7875 GB, free: 24 kB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.093e-05/0.2963, allocations: 0 / 0.7875 GB, free: 24 kB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3894/0.6857, allocations: 68.42 kB / 0.7876 GB, free: 49.19 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.6858, allocations: 4.891 kB / 0.7876 GB, free: 49.19 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.6858, allocations: 0 / 0.7876 GB, free: 49.19 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.6858, allocations: 0.6562 kB / 0.7876 GB, free: 49.19 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000159/0.686, allocations: 156.3 kB / 0.7877 GB, free: 49 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.686, allocations: 6.266 kB / 0.7877 GB, free: 49 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.445e-05/0.6861, allocations: 8.688 kB / 0.7877 GB, free: 49 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.6861, allocations: 0 / 0.7877 GB, free: 49 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.6861, allocations: 1.172 kB / 0.7877 GB, free: 49 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/0.6861, allocations: 2.453 kB / 0.7878 GB, free: 49 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.6861, allocations: 0 / 0.7878 GB, free: 49 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000218/0.6863, allocations: 167.5 kB / 0.7879 GB, free: 48.87 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.003e-05/0.6864, allocations: 83.75 kB / 0.788 GB, free: 48.78 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.6864, allocations: 0.75 kB / 0.788 GB, free: 48.78 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.178e-05/0.6865, allocations: 14.55 kB / 0.788 GB, free: 48.78 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.562e-05/0.6865, allocations: 3.312 kB / 0.788 GB, free: 48.78 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.401e-06/0.6865, allocations: 0.8438 kB / 0.788 GB, free: 48.78 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.836e-05/0.6866, allocations: 81.61 kB / 0.7881 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6866, allocations: 0 / 0.7881 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002573/0.6868, allocations: 2.5 kB / 0.7881 GB, free: 48.7 MB / 0.6544 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.0001213/0.6869, allocations: 103 kB / 0.7882 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001965/0.6872, allocations: 40.08 kB / 0.7882 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.6872, allocations: 0 / 0.7882 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.104e-05/0.6872, allocations: 19.22 kB / 0.7882 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003847/0.6876, allocations: 9.625 kB / 0.7883 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002479/0.6879, allocations: 96.98 kB / 0.7883 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001039/0.688, allocations: 0.679 MB / 0.789 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.142e-05/0.688, allocations: 6.094 kB / 0.789 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.145e-05/0.6881, allocations: 12.55 kB / 0.789 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of SimCode: time 3.81e-07/0.6881, allocations: 0 / 0.789 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of Templates: time 0.002317/0.6904, allocations: 433.5 kB / 0.7894 GB, free: 47.82 MB / 0.6544 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe 2>&1)