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.Exp.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.Exp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Exp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.54/1.54, allocations: 291.7 MB / 306.8 MB, free: 7.684 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.0009538/0.0009539, allocations: 181.5 kB / 375.4 MB, free: 5.113 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.383/1.383, allocations: 225.7 MB / 0.6538 GB, free: 13.63 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.0008465/0.0008463, allocations: 104 kB / 0.7699 GB, free: 50.24 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000381/0.0003811, allocations: 12 kB / 0.8956 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7447/0.7451, allocations: 118.1 MB / 1.011 GB, free: 57.32 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Exp): time 0.0008639/0.746, allocations: 379.2 kB / 1.011 GB, free: 57.31 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00112/0.7471, allocations: 0.7926 MB / 1.012 GB, free: 57.28 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.016e-05/0.7472, allocations: 5.062 kB / 1.012 GB, free: 57.28 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.28e-05/0.7472, allocations: 3.938 kB / 1.012 GB, free: 57.28 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.025e-05/0.7473, allocations: 4.094 kB / 1.012 GB, free: 57.28 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001657/0.7474, allocations: 6.062 kB / 1.012 GB, free: 57.28 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.917e-05/0.7475, allocations: 21.7 kB / 1.012 GB, free: 57.27 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.7476, allocations: 9.766 kB / 1.012 GB, free: 57.27 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 6.456e-05/0.7477, allocations: 8.25 kB / 1.012 GB, free: 57.27 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.836e-05/0.7478, allocations: 9.594 kB / 1.012 GB, free: 57.27 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.7478, allocations: 1.031 kB / 1.012 GB, free: 57.27 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.198e-05/0.7478, allocations: 1.875 kB / 1.012 GB, free: 57.27 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.412e-05/0.7478, allocations: 4.203 kB / 1.012 GB, free: 57.27 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.993e-05/0.7479, allocations: 29.55 kB / 1.012 GB, free: 57.24 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 7.236e-05/0.7479, allocations: 10.88 kB / 1.012 GB, free: 57.24 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/0.748, allocations: 2.844 kB / 1.012 GB, free: 57.24 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.795e-06/0.748, allocations: 0 / 1.012 GB, free: 57.24 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.748, allocations: 0.5312 kB / 1.012 GB, free: 57.24 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.0004858/0.7485, allocations: 338.9 kB / 1.012 GB, free: 56.89 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.7485, allocations: 13.06 kB / 1.013 GB, free: 56.89 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.308e-05/0.7486, allocations: 7.812 kB / 1.013 GB, free: 56.88 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001095/0.7487, allocations: 161.5 kB / 1.013 GB, free: 56.69 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.7487, allocations: 3.062 kB / 1.013 GB, free: 56.69 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.37e-05/0.7487, allocations: 2.625 kB / 1.013 GB, free: 56.69 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/0.7489, allocations: 57.69 kB / 1.013 GB, free: 56.66 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.7489, allocations: 192 / 1.013 GB, free: 56.66 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.749, allocations: 8.25 kB / 1.013 GB, free: 56.65 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.749, allocations: 0.7188 kB / 1.013 GB, free: 56.65 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001653/0.7491, allocations: 44.62 kB / 1.013 GB, free: 56.65 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003153/0.7495, allocations: 248.4 kB / 1.013 GB, free: 56.39 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001156/0.7496, allocations: 47.14 kB / 1.013 GB, free: 56.36 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.07e-05/0.7497, allocations: 28.78 kB / 1.013 GB, free: 56.35 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/0.7497, allocations: 3.578 kB / 1.013 GB, free: 56.35 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/0.7497, allocations: 33.53 kB / 1.013 GB, free: 56.31 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.943e-06/0.7497, allocations: 1.734 kB / 1.013 GB, free: 56.31 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0003303/0.7501, allocations: 108.8 kB / 1.013 GB, free: 56.27 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.614e-05/0.7501, allocations: 51.41 kB / 1.013 GB, free: 56.21 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.388e-05/0.7502, allocations: 99.34 kB / 1.013 GB, free: 56.11 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.893e-06/0.7502, allocations: 27.08 kB / 1.013 GB, free: 56.08 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.622e-05/0.7502, allocations: 83.77 kB / 1.013 GB, free: 56 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.625e-05/0.7502, allocations: 9.641 kB / 1.013 GB, free: 55.99 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.287e-06/0.7502, allocations: 4.531 kB / 1.013 GB, free: 55.99 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.94e-05/0.7503, allocations: 312.9 kB / 1.014 GB, free: 55.68 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.644e-05/0.7504, allocations: 22.25 kB / 1.014 GB, free: 55.68 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.845e-05/0.7505, allocations: 29.67 kB / 1.014 GB, free: 55.68 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001364/0.7506, allocations: 49.81 kB / 1.014 GB, free: 55.67 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.7506, allocations: 0.8438 kB / 1.014 GB, free: 55.67 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001725/0.7508, allocations: 85.12 kB / 1.014 GB, free: 55.63 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.7508, allocations: 2.594 kB / 1.014 GB, free: 55.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.7508, allocations: 3.656 kB / 1.014 GB, free: 55.63 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.7508, allocations: 1.219 kB / 1.014 GB, free: 55.63 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.451e-05/0.7509, allocations: 11.86 kB / 1.014 GB, free: 55.63 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.751, allocations: 1.5 kB / 1.014 GB, free: 55.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.383e-05/0.751, allocations: 9.703 kB / 1.014 GB, free: 55.63 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.751, allocations: 1.844 kB / 1.014 GB, free: 55.63 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 5.021e-05/0.7511, allocations: 116.5 kB / 1.014 GB, free: 55.51 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.086e-05/0.7511, allocations: 2.844 kB / 1.014 GB, free: 55.51 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002128/0.7513, allocations: 89.03 kB / 1.014 GB, free: 55.47 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.7513, allocations: 0 / 1.014 GB, free: 55.47 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.7513, allocations: 0 / 1.014 GB, free: 55.47 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.7513, allocations: 0.5625 kB / 1.014 GB, free: 55.47 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000113/0.7515, allocations: 161.7 kB / 1.014 GB, free: 55.28 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.7515, allocations: 2.312 kB / 1.014 GB, free: 55.28 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.275e-05/0.7515, allocations: 12.81 kB / 1.014 GB, free: 55.28 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.7515, allocations: 1.266 kB / 1.014 GB, free: 55.28 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.004e-06/0.7515, allocations: 3.938 kB / 1.014 GB, free: 55.28 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.7515, allocations: 0.7812 kB / 1.014 GB, free: 55.28 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.7516, allocations: 0 / 1.014 GB, free: 55.28 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001973/0.7518, allocations: 171.7 kB / 1.015 GB, free: 55.14 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.048e-05/0.7518, allocations: 85.69 kB / 1.015 GB, free: 55.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.253e-05/0.7518, allocations: 2.844 kB / 1.015 GB, free: 55.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.81e-05/0.7519, allocations: 9.031 kB / 1.015 GB, free: 55.05 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.912e-05/0.7519, allocations: 11.06 kB / 1.015 GB, free: 55.04 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.7519, allocations: 0 / 1.015 GB, free: 55.04 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.175e-05/0.752, allocations: 81.75 kB / 1.015 GB, free: 54.97 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.752, allocations: 1 kB / 1.015 GB, free: 54.97 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001969/0.7522, allocations: 2.969 kB / 1.015 GB, free: 54.97 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.0001062/0.7523, allocations: 106 kB / 1.015 GB, free: 54.88 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001986/0.7525, allocations: 47.44 kB / 1.015 GB, free: 54.88 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.7525, allocations: 3.781 kB / 1.015 GB, free: 54.88 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.012e-05/0.7526, allocations: 26.83 kB / 1.015 GB, free: 54.88 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000256/0.7528, allocations: 8.734 kB / 1.015 GB, free: 54.87 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002625/0.7531, allocations: 109.3 kB / 1.015 GB, free: 54.77 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001394/0.7533, allocations: 0.6786 MB / 1.016 GB, free: 54.07 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.44e-05/0.7533, allocations: 1.031 kB / 1.016 GB, free: 54.07 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.943e-05/0.7533, allocations: 10.06 kB / 1.016 GB, free: 54.06 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/0.7533, allocations: 416 / 1.016 GB, free: 54.06 MB / 0.7136 GB Notification: Performance of Templates: time 0.002063/0.7554, allocations: 353.2 kB / 1.016 GB, free: 54.05 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe 2>&1)