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.Max.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.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Max") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.908/1.908, allocations: 306.1 MB / 321.4 MB, free: 10.75 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.001335/0.001335, allocations: 183 kB / 393.1 MB, free: 4.078 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.647/1.647, allocations: 225.7 MB / 0.6743 GB, free: 12.58 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.000863/0.000863, allocations: 95.98 kB / 0.7935 GB, free: 39.98 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004263/0.0004264, allocations: 12 kB / 0.9224 GB, free: 8.637 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7381/0.7385, allocations: 121.3 MB / 1.041 GB, free: 58.25 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Max): time 0.001002/0.7396, allocations: 437.2 kB / 1.041 GB, free: 58.03 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009024/0.7405, allocations: 0.7955 MB / 1.042 GB, free: 57.43 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.994e-05/0.7406, allocations: 0 / 1.042 GB, free: 57.43 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.001e-05/0.7406, allocations: 3.938 kB / 1.042 GB, free: 57.42 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 8.318e-05/0.7407, allocations: 6.844 kB / 1.042 GB, free: 57.42 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001091/0.7408, allocations: 12.33 kB / 1.042 GB, free: 57.41 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 8.511e-05/0.7409, allocations: 42.91 kB / 1.042 GB, free: 57.39 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.7411, allocations: 5.797 kB / 1.042 GB, free: 57.39 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 7.609e-05/0.7411, allocations: 20.2 kB / 1.042 GB, free: 57.38 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.674e-05/0.7412, allocations: 20.12 kB / 1.042 GB, free: 57.38 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.7412, allocations: 1.219 kB / 1.042 GB, free: 57.38 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.456e-05/0.7412, allocations: 4.562 kB / 1.042 GB, free: 57.38 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.756e-05/0.7413, allocations: 5.266 kB / 1.042 GB, free: 57.37 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.198e-05/0.7413, allocations: 39.05 kB / 1.042 GB, free: 57.33 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 9.027e-05/0.7414, allocations: 43.3 kB / 1.042 GB, free: 57.32 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.7414, allocations: 2.938 kB / 1.042 GB, free: 57.32 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.964e-06/0.7414, allocations: 0 / 1.042 GB, free: 57.32 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.7414, allocations: 0 / 1.042 GB, free: 57.32 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.0004914/0.7419, allocations: 364.8 kB / 1.043 GB, free: 56.95 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.412e-05/0.742, allocations: 10.73 kB / 1.043 GB, free: 56.95 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.924e-05/0.742, allocations: 7.594 kB / 1.043 GB, free: 56.95 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.7422, allocations: 177.1 kB / 1.043 GB, free: 56.74 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.7422, allocations: 1.969 kB / 1.043 GB, free: 56.74 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.298e-05/0.7422, allocations: 3.688 kB / 1.043 GB, free: 56.74 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002738/0.7425, allocations: 79.62 kB / 1.043 GB, free: 56.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.7425, allocations: 192 / 1.043 GB, free: 56.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.7425, allocations: 5.156 kB / 1.043 GB, free: 56.7 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.7425, allocations: 1.375 kB / 1.043 GB, free: 56.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003036/0.7428, allocations: 89.66 kB / 1.043 GB, free: 56.69 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003344/0.7432, allocations: 269 kB / 1.043 GB, free: 56.41 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002073/0.7434, allocations: 64.98 kB / 1.043 GB, free: 56.38 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001577/0.7436, allocations: 52.05 kB / 1.043 GB, free: 56.36 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/0.7436, allocations: 2.906 kB / 1.043 GB, free: 56.36 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.928e-05/0.7436, allocations: 32.02 kB / 1.043 GB, free: 56.32 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.543e-06/0.7436, allocations: 2.438 kB / 1.043 GB, free: 56.32 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0005799/0.7442, allocations: 167.6 kB / 1.044 GB, free: 56.27 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.945e-05/0.7443, allocations: 52.5 kB / 1.044 GB, free: 56.21 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.612e-05/0.7443, allocations: 107.6 kB / 1.044 GB, free: 56.11 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.816e-06/0.7444, allocations: 27.95 kB / 1.044 GB, free: 56.08 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.779e-05/0.7444, allocations: 90.89 kB / 1.044 GB, free: 55.99 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.207e-05/0.7444, allocations: 10.52 kB / 1.044 GB, free: 55.98 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-06/0.7444, allocations: 3.938 kB / 1.044 GB, free: 55.98 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.105e-05/0.7445, allocations: 319.6 kB / 1.044 GB, free: 55.66 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001629/0.7447, allocations: 45.83 kB / 1.044 GB, free: 55.65 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001331/0.7449, allocations: 40.94 kB / 1.044 GB, free: 55.65 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002726/0.7451, allocations: 90.39 kB / 1.044 GB, free: 55.63 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.7452, allocations: 3.938 kB / 1.044 GB, free: 55.62 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003222/0.7455, allocations: 123.2 kB / 1.044 GB, free: 55.58 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.7455, allocations: 9.094 kB / 1.044 GB, free: 55.57 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.7455, allocations: 4 kB / 1.044 GB, free: 55.57 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.7455, allocations: 0.8906 kB / 1.044 GB, free: 55.57 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/0.7457, allocations: 19.78 kB / 1.044 GB, free: 55.57 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/0.7457, allocations: 0 / 1.044 GB, free: 55.57 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.143e-05/0.7458, allocations: 17.62 kB / 1.044 GB, free: 55.57 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.7458, allocations: 7.781 kB / 1.044 GB, free: 55.57 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.368e-05/0.7459, allocations: 113.8 kB / 1.045 GB, free: 55.45 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.435e-05/0.7459, allocations: 6.969 kB / 1.045 GB, free: 55.44 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003674/0.7463, allocations: 131.9 kB / 1.045 GB, free: 55.39 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.7463, allocations: 1.125 kB / 1.045 GB, free: 55.39 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.7463, allocations: 0 / 1.045 GB, free: 55.39 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.7463, allocations: 3.25 kB / 1.045 GB, free: 55.39 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001392/0.7464, allocations: 164.5 kB / 1.045 GB, free: 55.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.7465, allocations: 1 kB / 1.045 GB, free: 55.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.88e-05/0.7466, allocations: 28.2 kB / 1.045 GB, free: 55.19 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.7466, allocations: 1.688 kB / 1.045 GB, free: 55.19 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-06/0.7466, allocations: 0 / 1.045 GB, free: 55.19 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.7466, allocations: 5.828 kB / 1.045 GB, free: 55.18 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.7466, allocations: 2.625 kB / 1.045 GB, free: 55.18 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003446/0.7469, allocations: 218.4 kB / 1.045 GB, free: 55.03 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.46e-05/0.747, allocations: 81.52 kB / 1.045 GB, free: 54.94 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.747, allocations: 8 kB / 1.045 GB, free: 54.93 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.7471, allocations: 21.23 kB / 1.045 GB, free: 54.93 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.985e-05/0.7472, allocations: 5.266 kB / 1.045 GB, free: 54.93 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.7472, allocations: 3.562 kB / 1.045 GB, free: 54.93 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.242e-05/0.7472, allocations: 87.67 kB / 1.045 GB, free: 54.84 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7472, allocations: 0 / 1.045 GB, free: 54.84 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000198/0.7474, allocations: 6.594 kB / 1.045 GB, free: 54.84 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.0001378/0.7476, allocations: 111.4 kB / 1.045 GB, free: 54.75 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003187/0.7479, allocations: 92.36 kB / 1.046 GB, free: 54.74 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.7479, allocations: 0 / 1.046 GB, free: 54.74 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001408/0.748, allocations: 49.59 kB / 1.046 GB, free: 54.73 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002958/0.7483, allocations: 20.14 kB / 1.046 GB, free: 54.72 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000332/0.7487, allocations: 128.5 kB / 1.046 GB, free: 54.59 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001151/0.7488, allocations: 0.6813 MB / 1.046 GB, free: 53.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.943e-05/0.7489, allocations: 0 / 1.046 GB, free: 53.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.83e-05/0.7489, allocations: 14.88 kB / 1.046 GB, free: 53.89 MB / 0.698 GB Notification: Performance of SimCode: time 3.11e-07/0.7489, allocations: 0 / 1.046 GB, free: 53.89 MB / 0.698 GB Notification: Performance of Templates: time 0.002402/0.7513, allocations: 0.5321 MB / 1.047 GB, free: 53.83 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Max -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe 2>&1)