Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Average") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Average") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.876/1.876, allocations: 306.1 MB / 321.4 MB, free: 10.71 MB / 250.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.001261/0.001262, allocations: 179.5 kB / 393.1 MB, free: 4.066 MB / 314.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.744/1.744, allocations: 225.7 MB / 0.6743 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008144/0.0008144, allocations: 97.83 kB / 0.7935 GB, free: 40.09 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004031/0.0004036, allocations: 19.61 kB / 0.9225 GB, free: 8.648 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8337/0.8342, allocations: 121.3 MB / 1.041 GB, free: 58.46 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Average): time 0.0009273/0.8352, allocations: 437.3 kB / 1.041 GB, free: 58.22 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0008568/0.836, allocations: 0.7943 MB / 1.042 GB, free: 57.62 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.477e-05/0.8361, allocations: 1.375 kB / 1.042 GB, free: 57.62 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.602e-05/0.8361, allocations: 3.938 kB / 1.042 GB, free: 57.62 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 8.032e-05/0.8362, allocations: 5.531 kB / 1.042 GB, free: 57.61 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 5.833e-05/0.8362, allocations: 13.7 kB / 1.042 GB, free: 57.61 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 7.903e-05/0.8363, allocations: 39.19 kB / 1.042 GB, free: 57.59 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.8364, allocations: 8.109 kB / 1.042 GB, free: 57.59 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.462e-05/0.8365, allocations: 17.56 kB / 1.042 GB, free: 57.58 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.814e-05/0.8366, allocations: 18.78 kB / 1.042 GB, free: 57.57 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.934e-05/0.8366, allocations: 1.375 kB / 1.042 GB, free: 57.57 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 9.698e-06/0.8366, allocations: 2.75 kB / 1.042 GB, free: 57.57 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.711e-05/0.8366, allocations: 4.453 kB / 1.042 GB, free: 57.57 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.214e-05/0.8367, allocations: 42.58 kB / 1.042 GB, free: 57.53 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 8.196e-05/0.8368, allocations: 36.77 kB / 1.042 GB, free: 57.52 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.8368, allocations: 4.516 kB / 1.042 GB, free: 57.52 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.375e-06/0.8368, allocations: 1.375 kB / 1.042 GB, free: 57.52 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.018e-06/0.8368, allocations: 0.625 kB / 1.042 GB, free: 57.52 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004576/0.8373, allocations: 365.8 kB / 1.043 GB, free: 57.15 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.8373, allocations: 8.781 kB / 1.043 GB, free: 57.15 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.696e-05/0.8374, allocations: 14.38 kB / 1.043 GB, free: 57.14 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.207e-05/0.8375, allocations: 177.2 kB / 1.043 GB, free: 56.94 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.8375, allocations: 1.281 kB / 1.043 GB, free: 56.94 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.063e-05/0.8375, allocations: 1.5 kB / 1.043 GB, free: 56.94 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002575/0.8378, allocations: 82.78 kB / 1.043 GB, free: 56.9 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.8378, allocations: 1.625 kB / 1.043 GB, free: 56.9 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.8378, allocations: 3.938 kB / 1.043 GB, free: 56.89 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.8378, allocations: 3.906 kB / 1.043 GB, free: 56.89 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002763/0.8381, allocations: 80.97 kB / 1.043 GB, free: 56.89 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003419/0.8384, allocations: 272.4 kB / 1.043 GB, free: 56.61 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002007/0.8386, allocations: 63.12 kB / 1.043 GB, free: 56.57 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000152/0.8388, allocations: 52.06 kB / 1.043 GB, free: 56.56 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.104e-05/0.8388, allocations: 0.6562 kB / 1.043 GB, free: 56.56 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.8388, allocations: 35.16 kB / 1.043 GB, free: 56.52 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 2.234e-06/0.8389, allocations: 4.531 kB / 1.043 GB, free: 56.52 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0005217/0.8394, allocations: 166.1 kB / 1.044 GB, free: 56.47 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.644e-05/0.8394, allocations: 51.97 kB / 1.044 GB, free: 56.41 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.365e-05/0.8395, allocations: 107.3 kB / 1.044 GB, free: 56.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.767e-06/0.8395, allocations: 29.64 kB / 1.044 GB, free: 56.27 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.781e-05/0.8395, allocations: 94.08 kB / 1.044 GB, free: 56.18 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.693e-05/0.8396, allocations: 7.844 kB / 1.044 GB, free: 56.17 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-06/0.8396, allocations: 1.906 kB / 1.044 GB, free: 56.17 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.116e-05/0.8396, allocations: 318.8 kB / 1.044 GB, free: 55.85 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/0.8398, allocations: 41.91 kB / 1.044 GB, free: 55.85 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001296/0.8399, allocations: 47.66 kB / 1.044 GB, free: 55.84 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002535/0.8402, allocations: 88.23 kB / 1.044 GB, free: 55.82 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.8402, allocations: 3.938 kB / 1.044 GB, free: 55.82 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002875/0.8405, allocations: 120.3 kB / 1.044 GB, free: 55.77 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.8405, allocations: 8.969 kB / 1.044 GB, free: 55.77 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.8405, allocations: 0.6562 kB / 1.044 GB, free: 55.77 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.8405, allocations: 0.7812 kB / 1.044 GB, free: 55.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.8407, allocations: 28.42 kB / 1.044 GB, free: 55.76 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.8407, allocations: 0 / 1.044 GB, free: 55.76 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.564e-05/0.8408, allocations: 16.83 kB / 1.044 GB, free: 55.76 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.8408, allocations: 0 / 1.044 GB, free: 55.76 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 (3): * Single equations (assignments): 3 * 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 6.053e-05/0.8408, allocations: 120.1 kB / 1.045 GB, free: 55.64 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.286e-05/0.8409, allocations: 6.578 kB / 1.045 GB, free: 55.64 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.85e-05/0.8409, allocations: 9.875 kB / 1.045 GB, free: 55.63 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.8409, allocations: 0 / 1.045 GB, free: 55.63 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.8409, allocations: 0 / 1.045 GB, free: 55.63 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.8409, allocations: 4 kB / 1.045 GB, free: 55.63 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001248/0.8411, allocations: 174.5 kB / 1.045 GB, free: 55.43 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.8411, allocations: 0 / 1.045 GB, free: 55.43 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.63e-05/0.8412, allocations: 19.58 kB / 1.045 GB, free: 55.43 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.8412, allocations: 0 / 1.045 GB, free: 55.43 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.8412, allocations: 4 kB / 1.045 GB, free: 55.43 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.8412, allocations: 3.938 kB / 1.045 GB, free: 55.42 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.8412, allocations: 0 / 1.045 GB, free: 55.42 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003329/0.8415, allocations: 222 kB / 1.045 GB, free: 55.27 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.501e-05/0.8416, allocations: 81.02 kB / 1.045 GB, free: 55.18 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/0.8416, allocations: 6.609 kB / 1.045 GB, free: 55.17 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.8417, allocations: 15.84 kB / 1.045 GB, free: 55.17 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.876e-05/0.8418, allocations: 11.61 kB / 1.045 GB, free: 55.16 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.8418, allocations: 1.031 kB / 1.045 GB, free: 55.16 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.126e-05/0.8418, allocations: 87.47 kB / 1.045 GB, free: 55.09 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8418, allocations: 0 / 1.045 GB, free: 55.09 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000188/0.842, allocations: 5.375 kB / 1.045 GB, free: 55.09 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 (3): * Single equations (assignments): 3 * 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.0001203/0.8421, allocations: 106.5 kB / 1.045 GB, free: 55 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000345/0.8425, allocations: 94.06 kB / 1.045 GB, free: 54.98 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.8425, allocations: 0 / 1.045 GB, free: 54.98 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000144/0.8426, allocations: 51.73 kB / 1.045 GB, free: 54.97 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002762/0.8429, allocations: 7.812 kB / 1.045 GB, free: 54.97 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002834/0.8432, allocations: 137.1 kB / 1.046 GB, free: 54.84 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001084/0.8433, allocations: 0.6849 MB / 1.046 GB, free: 54.14 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.373e-05/0.8434, allocations: 1.312 kB / 1.046 GB, free: 54.14 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.735e-05/0.8434, allocations: 9.75 kB / 1.046 GB, free: 54.13 MB / 0.698 GB Notification: Performance of SimCode: time 3.91e-07/0.8434, allocations: 0 / 1.046 GB, free: 54.13 MB / 0.698 GB Notification: Performance of Templates: time 0.002233/0.8456, allocations: 0.5413 MB / 1.047 GB, free: 54.07 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe 2>&1)