Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.176/2.176, allocations: 251.1 MB / 266.7 MB, free: 11.55 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.001357/0.001357, allocations: 173.9 kB / 326.2 MB, free: 2.867 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.373/2.373, allocations: 205.4 MB / 0.5772 GB, free: 21.19 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.0009384/0.0009379, allocations: 95.72 kB / 0.6817 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005192/0.0005194, allocations: 20.19 kB / 0.7957 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2081/0.2087, allocations: 106.3 MB / 0.8995 GB, free: 66.01 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2302/0.4389, allocations: 131.3 MB / 1.028 GB, free: 14.56 MB / 0.6824 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002924/0.4393, allocations: 75.95 kB / 1.028 GB, free: 14.48 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 0.002596/0.4419, allocations: 0.6701 MB / 1.028 GB, free: 13.81 MB / 0.6824 GB Notification: Performance of FrontEnd: time 2.795e-06/0.4419, allocations: 0 / 1.028 GB, free: 13.81 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 8.416e-06/0.442, allocations: 4 kB / 1.028 GB, free: 13.81 MB / 0.6824 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.0005243/0.4425, allocations: 339.5 kB / 1.029 GB, free: 13.43 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 5.868e-05/0.4426, allocations: 12.03 kB / 1.029 GB, free: 13.41 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.902e-05/0.4426, allocations: 0.9375 kB / 1.029 GB, free: 13.41 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.4428, allocations: 172.3 kB / 1.029 GB, free: 13.21 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.4428, allocations: 8.312 kB / 1.029 GB, free: 13.2 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.742e-05/0.4428, allocations: 4.312 kB / 1.029 GB, free: 13.2 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002672/0.4431, allocations: 58.23 kB / 1.029 GB, free: 13.13 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.4431, allocations: 192 / 1.029 GB, free: 13.13 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.91e-05/0.4432, allocations: 3.938 kB / 1.029 GB, free: 13.13 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.4432, allocations: 0 / 1.029 GB, free: 13.13 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002989/0.4435, allocations: 43.97 kB / 1.029 GB, free: 13.09 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005765/0.4441, allocations: 261 kB / 1.029 GB, free: 12.78 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002102/0.4443, allocations: 54.44 kB / 1.029 GB, free: 12.72 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001657/0.4445, allocations: 28.89 kB / 1.029 GB, free: 12.69 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 2.561e-05/0.4445, allocations: 0 / 1.029 GB, free: 12.69 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/0.4446, allocations: 34.56 kB / 1.029 GB, free: 12.64 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=2): time 1.684e-06/0.4446, allocations: 4 kB / 1.029 GB, free: 12.64 MB / 0.6824 GB Notification: Performance of matching and sorting (n=2): time 0.0005909/0.4452, allocations: 93.55 kB / 1.03 GB, free: 12.54 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.068e-05/0.4453, allocations: 55.53 kB / 1.03 GB, free: 12.48 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.404e-05/0.4454, allocations: 101.8 kB / 1.03 GB, free: 12.37 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.4454, allocations: 25.7 kB / 1.03 GB, free: 12.34 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 5.697e-05/0.4455, allocations: 88.14 kB / 1.03 GB, free: 12.25 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 2.317e-05/0.4455, allocations: 7.891 kB / 1.03 GB, free: 12.24 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-06/0.4455, allocations: 0 / 1.03 GB, free: 12.24 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.4457, allocations: 310.8 kB / 1.03 GB, free: 11.93 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001523/0.4458, allocations: 27.98 kB / 1.03 GB, free: 11.9 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000143/0.446, allocations: 15.98 kB / 1.03 GB, free: 11.88 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001542/0.4461, allocations: 27.97 kB / 1.03 GB, free: 11.86 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.4462, allocations: 0 / 1.03 GB, free: 11.86 MB / 0.6824 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003526/0.4465, allocations: 81.61 kB / 1.03 GB, free: 11.77 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.4466, allocations: 5.562 kB / 1.03 GB, free: 11.77 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.4466, allocations: 0 / 1.03 GB, free: 11.77 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.4466, allocations: 4 kB / 1.03 GB, free: 11.76 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.4468, allocations: 16.02 kB / 1.03 GB, free: 11.75 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.4468, allocations: 0 / 1.03 GB, free: 11.75 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.576e-05/0.4469, allocations: 11.92 kB / 1.03 GB, free: 11.73 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.4469, allocations: 4 kB / 1.03 GB, free: 11.73 MB / 0.6824 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 9.444e-05/0.447, allocations: 113.8 kB / 1.03 GB, free: 11.61 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.023e-05/0.4471, allocations: 0 / 1.03 GB, free: 11.61 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000399/0.4475, allocations: 80.78 kB / 1.03 GB, free: 11.52 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-06/0.4475, allocations: 4.125 kB / 1.03 GB, free: 11.52 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.4475, allocations: 0 / 1.03 GB, free: 11.52 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/0.4475, allocations: 7.984 kB / 1.03 GB, free: 11.51 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002111/0.4477, allocations: 165.6 kB / 1.031 GB, free: 11.3 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.4478, allocations: 0 / 1.031 GB, free: 11.3 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/0.4479, allocations: 16.02 kB / 1.031 GB, free: 11.29 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.4479, allocations: 0 / 1.031 GB, free: 11.29 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.4479, allocations: 0 / 1.031 GB, free: 11.29 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.4479, allocations: 0 / 1.031 GB, free: 11.29 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.4479, allocations: 0 / 1.031 GB, free: 11.29 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004159/0.4484, allocations: 187.3 kB / 1.031 GB, free: 11.09 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 4.667e-05/0.4484, allocations: 77.11 kB / 1.031 GB, free: 10.99 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.625e-05/0.4484, allocations: 0 / 1.031 GB, free: 10.99 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001258/0.4486, allocations: 7.984 kB / 1.031 GB, free: 10.98 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.573e-05/0.4486, allocations: 4 kB / 1.031 GB, free: 10.98 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.4487, allocations: 0 / 1.031 GB, free: 10.98 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 5.595e-05/0.4487, allocations: 87.31 kB / 1.031 GB, free: 10.89 MB / 0.6824 GB Notification: Performance of sort global known variables: time 4.01e-07/0.4487, allocations: 0 / 1.031 GB, free: 10.89 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.0002669/0.449, allocations: 4 kB / 1.031 GB, free: 10.89 MB / 0.6824 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.000152/0.4492, allocations: 99.23 kB / 1.031 GB, free: 10.78 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.0003553/0.4495, allocations: 51.91 kB / 1.031 GB, free: 10.73 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.4496, allocations: 0 / 1.031 GB, free: 10.73 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 0.000158/0.4497, allocations: 23.98 kB / 1.031 GB, free: 10.71 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003378/0.4501, allocations: 7.922 kB / 1.031 GB, free: 10.7 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003689/0.4505, allocations: 108.8 kB / 1.031 GB, free: 10.57 MB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002989/0.4508, allocations: 0.677 MB / 1.032 GB, free: 9.863 MB / 0.6824 GB Notification: Performance of simCode: alias equations: time 3.214e-05/0.4508, allocations: 3.938 kB / 1.032 GB, free: 9.859 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.314e-05/0.4509, allocations: 11.44 kB / 1.032 GB, free: 9.848 MB / 0.6824 GB Notification: Performance of SimCode: time 9.32e-07/0.4509, allocations: 0 / 1.032 GB, free: 9.848 MB / 0.6824 GB Notification: Performance of Templates: time 0.002904/0.4538, allocations: 350.2 kB / 1.032 GB, free: 9.508 MB / 0.6824 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe 2>&1)