Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.749/1.749, allocations: 288.2 MB / 303.2 MB, free: 8.168 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001179/0.001179, allocations: 179.7 kB / 371.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.692/1.692, allocations: 205.4 MB / 0.6305 GB, free: 9.895 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001109/0.001109, allocations: 97.72 kB / 0.7439 GB, free: 5.82 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004213/0.0004214, allocations: 13.88 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2426/0.243, allocations: 115.3 MB / 0.9795 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7348/0.9779, allocations: 137.6 MB / 1.114 GB, free: 16.29 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001963/0.9781, allocations: 68.72 kB / 1.114 GB, free: 16.29 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002159/0.9803, allocations: 0.6643 MB / 1.115 GB, free: 31.96 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.984e-06/0.9803, allocations: 0 / 1.115 GB, free: 31.96 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.17e-05/0.9804, allocations: 3.969 kB / 1.115 GB, free: 31.96 MB / 0.698 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.0003575/0.9807, allocations: 334.8 kB / 1.115 GB, free: 31.61 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.586e-05/0.9808, allocations: 11.67 kB / 1.115 GB, free: 31.61 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.502e-05/0.9808, allocations: 34.41 kB / 1.115 GB, free: 31.57 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.3e-05/0.9809, allocations: 3.906 kB / 1.115 GB, free: 31.57 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.62e-05/0.981, allocations: 173.4 kB / 1.115 GB, free: 31.36 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.981, allocations: 3.875 kB / 1.115 GB, free: 31.36 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.914e-06/0.981, allocations: 0 / 1.115 GB, free: 31.36 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.9812, allocations: 61.28 kB / 1.115 GB, free: 31.32 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.9812, allocations: 0 / 1.115 GB, free: 31.32 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.9812, allocations: 0 / 1.115 GB, free: 31.32 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.9812, allocations: 0 / 1.115 GB, free: 31.32 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001667/0.9814, allocations: 45.47 kB / 1.115 GB, free: 31.32 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003802/0.9818, allocations: 265.7 kB / 1.115 GB, free: 31.05 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000112/0.9819, allocations: 42.08 kB / 1.116 GB, free: 31.03 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.9819, allocations: 4 kB / 1.116 GB, free: 31.02 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.862e-05/0.982, allocations: 37.06 kB / 1.116 GB, free: 30.98 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.982, allocations: 0 / 1.116 GB, free: 30.98 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0003378/0.9823, allocations: 93.02 kB / 1.116 GB, free: 30.95 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.806e-05/0.9823, allocations: 56.77 kB / 1.116 GB, free: 30.89 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.712e-05/0.9824, allocations: 93.47 kB / 1.116 GB, free: 30.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.09e-05/0.9824, allocations: 25.7 kB / 1.116 GB, free: 30.77 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.322e-05/0.9825, allocations: 82.95 kB / 1.116 GB, free: 30.68 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.498e-05/0.9825, allocations: 7.734 kB / 1.116 GB, free: 30.68 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-06/0.9825, allocations: 6.422 kB / 1.116 GB, free: 30.68 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.156e-05/0.9826, allocations: 321.4 kB / 1.116 GB, free: 30.36 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.98e-05/0.9827, allocations: 23.8 kB / 1.116 GB, free: 30.36 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.661e-05/0.9828, allocations: 20.73 kB / 1.116 GB, free: 30.36 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.43e-05/0.9828, allocations: 27.62 kB / 1.116 GB, free: 30.35 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.9829, allocations: 0 / 1.116 GB, free: 30.35 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001769/0.983, allocations: 69.95 kB / 1.116 GB, free: 30.32 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.9831, allocations: 5.391 kB / 1.116 GB, free: 30.32 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-06/0.9831, allocations: 7.875 kB / 1.116 GB, free: 30.32 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.9831, allocations: 0 / 1.116 GB, free: 30.32 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.204e-05/0.9832, allocations: 14.19 kB / 1.116 GB, free: 30.31 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.9832, allocations: 0 / 1.116 GB, free: 30.31 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.411e-05/0.9833, allocations: 15.08 kB / 1.116 GB, free: 30.31 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.9833, allocations: 0 / 1.116 GB, free: 30.31 MB / 0.698 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 6.56e-05/0.9833, allocations: 112.5 kB / 1.116 GB, free: 30.19 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.303e-05/0.9834, allocations: 7.875 kB / 1.117 GB, free: 30.19 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000223/0.9836, allocations: 83.56 kB / 1.117 GB, free: 30.15 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.9836, allocations: 0 / 1.117 GB, free: 30.15 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.9836, allocations: 0.875 kB / 1.117 GB, free: 30.15 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.9836, allocations: 192 / 1.117 GB, free: 30.15 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001246/0.9838, allocations: 163.4 kB / 1.117 GB, free: 29.96 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.9838, allocations: 3.984 kB / 1.117 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.611e-05/0.9838, allocations: 13.48 kB / 1.117 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.9838, allocations: 1.969 kB / 1.117 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.9839, allocations: 6.516 kB / 1.117 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.9839, allocations: 0 / 1.117 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.9839, allocations: 0 / 1.117 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002202/0.9841, allocations: 180.1 kB / 1.117 GB, free: 29.81 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.749e-05/0.9841, allocations: 77.11 kB / 1.117 GB, free: 29.72 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/0.9842, allocations: 3.312 kB / 1.117 GB, free: 29.72 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.289e-05/0.9842, allocations: 14.8 kB / 1.117 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.953e-05/0.9843, allocations: 0 / 1.117 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.9843, allocations: 2.672 kB / 1.117 GB, free: 29.71 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.212e-05/0.9843, allocations: 79.16 kB / 1.117 GB, free: 29.64 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9843, allocations: 0 / 1.117 GB, free: 29.64 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002017/0.9845, allocations: 6.594 kB / 1.117 GB, free: 29.64 MB / 0.698 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.0004911/0.985, allocations: 0.7117 MB / 1.118 GB, free: 28.97 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000198/0.9853, allocations: 53.89 kB / 1.118 GB, free: 28.97 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.9853, allocations: 0 / 1.118 GB, free: 28.97 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8.421e-05/0.9854, allocations: 24.98 kB / 1.118 GB, free: 28.97 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001854/0.9855, allocations: 1.312 kB / 1.118 GB, free: 28.97 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003742/0.9859, allocations: 142.6 kB / 1.118 GB, free: 28.81 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001997/0.9861, allocations: 0.6771 MB / 1.119 GB, free: 28.12 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.641e-05/0.9862, allocations: 1.344 kB / 1.119 GB, free: 28.12 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.12e-05/0.9862, allocations: 11 kB / 1.119 GB, free: 28.11 MB / 0.698 GB Notification: Performance of SimCode: time 3.1e-07/0.9862, allocations: 1.25 kB / 1.119 GB, free: 28.11 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01049/0.9967, allocations: 1.007 MB / 1.12 GB, free: 27.97 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000163/0.9969, allocations: 191.5 kB / 1.12 GB, free: 27.73 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.49/2.487, allocations: 0 / 1.12 GB, free: 27.73 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe 2>&1)