Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.523/1.523, allocations: 291.7 MB / 306.8 MB, free: 7.699 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009863/0.0009864, allocations: 187.9 kB / 375.4 MB, free: 5.102 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 225.7 MB / 0.6538 GB, free: 13.61 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007997/0.0007998, allocations: 98.23 kB / 0.7699 GB, free: 50.27 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000507/0.0005071, allocations: 16.66 kB / 0.8956 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6771/0.6776, allocations: 118.1 MB / 1.011 GB, free: 57.63 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos): time 0.000914/0.6786, allocations: 378.6 kB / 1.011 GB, free: 57.62 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0009648/0.6796, allocations: 0.8006 MB / 1.012 GB, free: 57.59 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.652e-05/0.6796, allocations: 0.5 kB / 1.012 GB, free: 57.59 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.957e-05/0.6796, allocations: 5.5 kB / 1.012 GB, free: 57.59 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.244e-05/0.6797, allocations: 2.953 kB / 1.012 GB, free: 57.59 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001431/0.6799, allocations: 7.797 kB / 1.012 GB, free: 57.59 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.317e-05/0.68, allocations: 23.78 kB / 1.012 GB, free: 57.59 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.463e-05/0.6801, allocations: 3.203 kB / 1.012 GB, free: 57.59 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 6.091e-05/0.6801, allocations: 12.41 kB / 1.012 GB, free: 57.59 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.969e-05/0.6802, allocations: 11.19 kB / 1.012 GB, free: 57.58 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.6802, allocations: 2.625 kB / 1.012 GB, free: 57.58 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 9.998e-06/0.6802, allocations: 0 / 1.012 GB, free: 57.58 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.334e-05/0.6802, allocations: 4.719 kB / 1.012 GB, free: 57.58 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.241e-05/0.6803, allocations: 26.98 kB / 1.012 GB, free: 57.55 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 5.64e-05/0.6803, allocations: 15.16 kB / 1.012 GB, free: 57.55 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.6803, allocations: 0 / 1.012 GB, free: 57.55 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.454e-06/0.6803, allocations: 0 / 1.012 GB, free: 57.55 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.6803, allocations: 0 / 1.012 GB, free: 57.55 MB / 0.7136 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.0004105/0.6808, allocations: 343.7 kB / 1.013 GB, free: 57.2 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.6808, allocations: 10.41 kB / 1.013 GB, free: 57.2 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.631e-05/0.6808, allocations: 6.062 kB / 1.013 GB, free: 57.2 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.681, allocations: 163.2 kB / 1.013 GB, free: 57 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.681, allocations: 3.875 kB / 1.013 GB, free: 57 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.297e-06/0.681, allocations: 3.219 kB / 1.013 GB, free: 57 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001714/0.6812, allocations: 52.12 kB / 1.013 GB, free: 56.97 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.6812, allocations: 3.562 kB / 1.013 GB, free: 56.97 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.6812, allocations: 5.391 kB / 1.013 GB, free: 56.96 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.6812, allocations: 1.531 kB / 1.013 GB, free: 56.96 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001581/0.6814, allocations: 47.19 kB / 1.013 GB, free: 56.96 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002887/0.6817, allocations: 250.8 kB / 1.013 GB, free: 56.7 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001229/0.6818, allocations: 44.7 kB / 1.013 GB, free: 56.67 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.302e-05/0.6819, allocations: 28.5 kB / 1.013 GB, free: 56.66 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.025e-05/0.6819, allocations: 0.9688 kB / 1.013 GB, free: 56.66 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.574e-05/0.682, allocations: 34.38 kB / 1.013 GB, free: 56.62 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.282e-06/0.682, allocations: 1.656 kB / 1.013 GB, free: 56.62 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0003347/0.6823, allocations: 103.6 kB / 1.013 GB, free: 56.59 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.398e-05/0.6823, allocations: 51.41 kB / 1.013 GB, free: 56.52 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.949e-05/0.6824, allocations: 103.5 kB / 1.013 GB, free: 56.43 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.106e-06/0.6824, allocations: 25.7 kB / 1.013 GB, free: 56.39 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.826e-05/0.6824, allocations: 83.25 kB / 1.013 GB, free: 56.31 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.51e-05/0.6825, allocations: 15.69 kB / 1.013 GB, free: 56.3 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-06/0.6825, allocations: 0 / 1.013 GB, free: 56.3 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.196e-05/0.6825, allocations: 312.8 kB / 1.014 GB, free: 55.99 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.812e-05/0.6826, allocations: 25.48 kB / 1.014 GB, free: 55.99 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.769e-05/0.6827, allocations: 24.31 kB / 1.014 GB, free: 55.99 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.6828, allocations: 51.78 kB / 1.014 GB, free: 55.98 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.6828, allocations: 1.844 kB / 1.014 GB, free: 55.98 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001793/0.683, allocations: 84.78 kB / 1.014 GB, free: 55.94 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.6831, allocations: 5.344 kB / 1.014 GB, free: 55.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.6831, allocations: 0 / 1.014 GB, free: 55.94 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.6831, allocations: 0 / 1.014 GB, free: 55.94 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.272e-05/0.6832, allocations: 16.16 kB / 1.014 GB, free: 55.94 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.483e-06/0.6832, allocations: 2.562 kB / 1.014 GB, free: 55.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.478e-05/0.6833, allocations: 9.047 kB / 1.014 GB, free: 55.94 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.6833, allocations: 0 / 1.014 GB, free: 55.94 MB / 0.7136 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.083e-05/0.6833, allocations: 115.4 kB / 1.014 GB, free: 55.82 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.027e-05/0.6834, allocations: 0 / 1.014 GB, free: 55.82 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002167/0.6836, allocations: 91.94 kB / 1.014 GB, free: 55.78 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.6836, allocations: 0.5312 kB / 1.014 GB, free: 55.78 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.6836, allocations: 0.875 kB / 1.014 GB, free: 55.78 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.6836, allocations: 0 / 1.014 GB, free: 55.78 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001203/0.6837, allocations: 162 kB / 1.014 GB, free: 55.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.6837, allocations: 0.5312 kB / 1.014 GB, free: 55.59 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.418e-05/0.6838, allocations: 16.83 kB / 1.014 GB, free: 55.59 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.6838, allocations: 1.938 kB / 1.014 GB, free: 55.59 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.6838, allocations: 0 / 1.014 GB, free: 55.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.6838, allocations: 4.219 kB / 1.014 GB, free: 55.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.6838, allocations: 0 / 1.014 GB, free: 55.59 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002006/0.684, allocations: 178.8 kB / 1.015 GB, free: 55.46 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.048e-05/0.6841, allocations: 81.02 kB / 1.015 GB, free: 55.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.451e-05/0.6841, allocations: 0 / 1.015 GB, free: 55.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.182e-05/0.6842, allocations: 10.3 kB / 1.015 GB, free: 55.36 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.396e-05/0.6842, allocations: 11.09 kB / 1.015 GB, free: 55.36 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.6842, allocations: 0 / 1.015 GB, free: 55.36 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.544e-05/0.6843, allocations: 82.78 kB / 1.015 GB, free: 55.28 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6843, allocations: 0 / 1.015 GB, free: 55.28 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001895/0.6845, allocations: 5.594 kB / 1.015 GB, free: 55.28 MB / 0.7136 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.0001269/0.6846, allocations: 106.1 kB / 1.015 GB, free: 55.19 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002064/0.6848, allocations: 46.09 kB / 1.015 GB, free: 55.19 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/0.6848, allocations: 0.9688 kB / 1.015 GB, free: 55.19 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.136e-05/0.6849, allocations: 30.73 kB / 1.015 GB, free: 55.19 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002645/0.6852, allocations: 7.562 kB / 1.015 GB, free: 55.18 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002543/0.6854, allocations: 110.4 kB / 1.015 GB, free: 55.08 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001355/0.6856, allocations: 0.675 MB / 1.016 GB, free: 54.38 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.471e-05/0.6856, allocations: 3.25 kB / 1.016 GB, free: 54.38 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.25e-05/0.6857, allocations: 9.062 kB / 1.016 GB, free: 54.38 MB / 0.7136 GB Notification: Performance of SimCode: time 2.21e-07/0.6857, allocations: 0 / 1.016 GB, free: 54.38 MB / 0.7136 GB Notification: Performance of Templates: time 0.002043/0.6877, allocations: 357.6 kB / 1.016 GB, free: 54.36 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe 2>&1)