Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_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.008745/0.008745, allocations: 102.8 kB / 15.73 MB, free: 6.484 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.001736/0.001736, allocations: 196.4 kB / 16.68 MB, free: 6.375 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.806/1.806, allocations: 205.1 MB / 222.5 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.678/1.678, allocations: 251.7 MB / 0.5094 GB, free: 3.133 MB / 414.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.001777/0.001777, allocations: 75.91 kB / 0.7258 GB, free: 8.973 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3144, allocations: 104.7 MB / 0.8281 GB, free: 172 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos): time 0.003147/0.3176, allocations: 1.379 MB / 0.8294 GB, free: 14.78 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0004222/0.3181, allocations: 124.9 kB / 0.8296 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.196e-05/0.3181, allocations: 0 / 0.8296 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.796e-05/0.3182, allocations: 0 / 0.8296 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.345e-05/0.3183, allocations: 11.94 kB / 0.8296 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001677/0.3185, allocations: 15.97 kB / 0.8296 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.023e-05/0.3185, allocations: 23.92 kB / 0.8296 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.3187, allocations: 4 kB / 0.8296 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.88e-05/0.3187, allocations: 15.92 kB / 0.8296 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.857e-05/0.3188, allocations: 8 kB / 0.8296 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.3188, allocations: 0 / 0.8296 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.898e-06/0.3188, allocations: 4 kB / 0.8296 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.192e-05/0.3189, allocations: 7.922 kB / 0.8297 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.18e-05/0.3189, allocations: 8 kB / 0.8297 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001076/0.319, allocations: 23.89 kB / 0.8297 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.319, allocations: 7.938 kB / 0.8297 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.026e-06/0.319, allocations: 0 / 0.8297 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.319, allocations: 0 / 0.8297 GB, free: 14.53 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.0005737/0.3196, allocations: 339.3 kB / 0.83 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/0.3197, allocations: 8.031 kB / 0.83 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.215e-05/0.3197, allocations: 4.938 kB / 0.83 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.3199, allocations: 168.3 kB / 0.8302 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.3199, allocations: 4.375 kB / 0.8302 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/0.3199, allocations: 384 / 0.8302 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001858/0.3201, allocations: 50.23 kB / 0.8302 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.3201, allocations: 192 / 0.8302 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.3201, allocations: 7.938 kB / 0.8302 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.3202, allocations: 0 / 0.8302 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001519/0.3203, allocations: 27.97 kB / 0.8303 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004726/0.3208, allocations: 252.9 kB / 0.8305 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001265/0.3209, allocations: 42.48 kB / 0.8306 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.57e-05/0.321, allocations: 24.91 kB / 0.8306 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.321, allocations: 3.938 kB / 0.8306 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.3211, allocations: 34.56 kB / 0.8306 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.3211, allocations: 0 / 0.8306 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0003458/0.3214, allocations: 85.58 kB / 0.8307 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.3215, allocations: 51.41 kB / 0.8307 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.924e-05/0.3216, allocations: 101.8 kB / 0.8308 GB, free: 13.15 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.3216, allocations: 29.7 kB / 0.8309 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.679e-05/0.3216, allocations: 84.27 kB / 0.831 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.958e-05/0.3217, allocations: 3.906 kB / 0.831 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.013e-05/0.3217, allocations: 13.72 kB / 0.831 GB, free: 13.01 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.3218, allocations: 318.8 kB / 0.8313 GB, free: 12.69 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.843e-05/0.3219, allocations: 11.98 kB / 0.8313 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.021e-05/0.322, allocations: 19.98 kB / 0.8313 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000186/0.3222, allocations: 40.88 kB / 0.8313 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3222, allocations: 0 / 0.8313 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001857/0.3224, allocations: 69.55 kB / 0.8314 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.3224, allocations: 4 kB / 0.8314 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3224, allocations: 0 / 0.8314 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.3225, allocations: 4 kB / 0.8314 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.986e-05/0.3225, allocations: 12.02 kB / 0.8314 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.3226, allocations: 0 / 0.8314 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.916e-05/0.3226, allocations: 15.83 kB / 0.8314 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.3226, allocations: 0 / 0.8314 GB, free: 12.5 MB / 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 8.123e-05/0.3227, allocations: 117.8 kB / 0.8316 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.081e-05/0.3227, allocations: 0 / 0.8316 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002142/0.323, allocations: 72.66 kB / 0.8316 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.323, allocations: 8.031 kB / 0.8316 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.323, allocations: 0 / 0.8316 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.323, allocations: 0 / 0.8316 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001693/0.3232, allocations: 165.6 kB / 0.8318 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3232, allocations: 0 / 0.8318 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.664e-05/0.3232, allocations: 11.98 kB / 0.8318 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.3232, allocations: 4 kB / 0.8318 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.3233, allocations: 0 / 0.8318 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.3233, allocations: 0 / 0.8318 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.3233, allocations: 3.984 kB / 0.8318 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002397/0.3235, allocations: 167.4 kB / 0.832 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.352e-05/0.3236, allocations: 77.11 kB / 0.832 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.3236, allocations: 0 / 0.832 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.279e-05/0.3237, allocations: 7.984 kB / 0.832 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.268e-05/0.3237, allocations: 11.94 kB / 0.8321 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.3237, allocations: 4.031 kB / 0.8321 GB, free: 11.76 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.146e-05/0.3238, allocations: 79.28 kB / 0.8321 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3238, allocations: 0 / 0.8321 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000227/0.324, allocations: 0 / 0.8321 GB, free: 11.68 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.0001663/0.3242, allocations: 103.2 kB / 0.8322 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002067/0.3244, allocations: 35.97 kB / 0.8323 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.3244, allocations: 12.06 kB / 0.8323 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.353e-05/0.3245, allocations: 11.98 kB / 0.8323 GB, free: 11.51 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002927/0.3248, allocations: 14.33 kB / 0.8323 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003328/0.3251, allocations: 105.5 kB / 0.8324 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003372/0.3255, allocations: 0.6766 MB / 0.8331 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.468e-05/0.3255, allocations: 0 / 0.8331 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.675e-05/0.3256, allocations: 19.5 kB / 0.8331 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.3256, allocations: 0 / 0.8331 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of Templates: time 0.003135/0.3287, allocations: 430.2 kB / 0.8335 GB, free: 10.23 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe 2>&1)