Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.792/1.792, allocations: 297.4 MB / 312.6 MB, free: 2.953 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.001031/0.001031, allocations: 182.1 kB / 382.3 MB, free: 14.85 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.689/1.689, allocations: 225.7 MB / 0.6617 GB, free: 7.227 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.0008145/0.0008145, allocations: 96.97 kB / 0.7789 GB, free: 46.81 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003724/0.0003724, allocations: 12.69 kB / 0.9059 GB, free: 4.938 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7069/0.7073, allocations: 119.2 MB / 1.022 GB, free: 57.64 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Max): time 0.0009695/0.7083, allocations: 425 kB / 1.023 GB, free: 57.46 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001028/0.7094, allocations: 0.7997 MB / 1.023 GB, free: 57.05 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.695e-05/0.7094, allocations: 0 / 1.023 GB, free: 57.05 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.703e-05/0.7094, allocations: 10.31 kB / 1.023 GB, free: 57.04 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.362e-05/0.7095, allocations: 7.438 kB / 1.023 GB, free: 57.04 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 9.505e-05/0.7096, allocations: 12.12 kB / 1.023 GB, free: 57.03 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 8.377e-05/0.7097, allocations: 39.3 kB / 1.024 GB, free: 57.02 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.7098, allocations: 7.547 kB / 1.024 GB, free: 57.02 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.866e-05/0.7099, allocations: 17.33 kB / 1.024 GB, free: 57.01 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.439e-05/0.71, allocations: 17.48 kB / 1.024 GB, free: 57 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.113e-05/0.71, allocations: 5.125 kB / 1.024 GB, free: 57 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.425e-05/0.71, allocations: 3.594 kB / 1.024 GB, free: 57 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.148e-05/0.71, allocations: 9.406 kB / 1.024 GB, free: 56.99 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.127e-05/0.7101, allocations: 38.02 kB / 1.024 GB, free: 56.95 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001049/0.7102, allocations: 40.03 kB / 1.024 GB, free: 56.94 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.7102, allocations: 3.812 kB / 1.024 GB, free: 56.94 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.074e-06/0.7102, allocations: 0 / 1.024 GB, free: 56.94 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.271e-06/0.7102, allocations: 1.406 kB / 1.024 GB, free: 56.94 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.0004812/0.7107, allocations: 369.2 kB / 1.024 GB, free: 56.58 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.7108, allocations: 15.34 kB / 1.024 GB, free: 56.58 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.012e-05/0.7108, allocations: 5.594 kB / 1.024 GB, free: 56.57 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.445e-05/0.7109, allocations: 166 kB / 1.024 GB, free: 56.38 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.7109, allocations: 4.406 kB / 1.024 GB, free: 56.38 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/0.7109, allocations: 3.781 kB / 1.024 GB, free: 56.38 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002468/0.7112, allocations: 77 kB / 1.024 GB, free: 56.34 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.7112, allocations: 192 / 1.024 GB, free: 56.34 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.7112, allocations: 9.75 kB / 1.024 GB, free: 56.34 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.7112, allocations: 0 / 1.024 GB, free: 56.34 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002834/0.7115, allocations: 83.28 kB / 1.024 GB, free: 56.33 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003209/0.7119, allocations: 275.1 kB / 1.025 GB, free: 56.04 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001886/0.7121, allocations: 65.94 kB / 1.025 GB, free: 56.01 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001455/0.7122, allocations: 53.28 kB / 1.025 GB, free: 56 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.7122, allocations: 0.6562 kB / 1.025 GB, free: 56 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.897e-05/0.7123, allocations: 33.98 kB / 1.025 GB, free: 55.96 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.764e-06/0.7123, allocations: 2.203 kB / 1.025 GB, free: 55.96 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0005489/0.7128, allocations: 164.3 kB / 1.025 GB, free: 55.91 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/0.7129, allocations: 56.2 kB / 1.025 GB, free: 55.84 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.247e-05/0.7129, allocations: 110.9 kB / 1.025 GB, free: 55.74 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.305e-06/0.713, allocations: 25.7 kB / 1.025 GB, free: 55.71 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.004e-05/0.713, allocations: 88.25 kB / 1.025 GB, free: 55.62 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.873e-05/0.713, allocations: 17.64 kB / 1.025 GB, free: 55.61 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-06/0.713, allocations: 0 / 1.025 GB, free: 55.61 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.473e-05/0.7131, allocations: 316.2 kB / 1.026 GB, free: 55.29 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.7132, allocations: 44.61 kB / 1.026 GB, free: 55.29 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001369/0.7134, allocations: 40.66 kB / 1.026 GB, free: 55.28 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002716/0.7137, allocations: 93.77 kB / 1.026 GB, free: 55.26 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.7137, allocations: 7.938 kB / 1.026 GB, free: 55.25 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003115/0.714, allocations: 119.1 kB / 1.026 GB, free: 55.21 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.714, allocations: 8.125 kB / 1.026 GB, free: 55.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.714, allocations: 1.25 kB / 1.026 GB, free: 55.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.714, allocations: 0 / 1.026 GB, free: 55.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001273/0.7142, allocations: 20.42 kB / 1.026 GB, free: 55.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.7142, allocations: 5.969 kB / 1.026 GB, free: 55.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.891e-05/0.7143, allocations: 20.11 kB / 1.026 GB, free: 55.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.7143, allocations: 3.422 kB / 1.026 GB, free: 55.2 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 5.297e-05/0.7143, allocations: 117.1 kB / 1.026 GB, free: 55.07 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.281e-05/0.7144, allocations: 5 kB / 1.026 GB, free: 55.07 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003479/0.7147, allocations: 135.7 kB / 1.026 GB, free: 55.02 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.7147, allocations: 0 / 1.026 GB, free: 55.02 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.7148, allocations: 0.9844 kB / 1.026 GB, free: 55.02 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.7148, allocations: 4.969 kB / 1.026 GB, free: 55.02 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001219/0.7149, allocations: 174.2 kB / 1.026 GB, free: 54.82 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.7149, allocations: 0 / 1.026 GB, free: 54.82 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001001/0.715, allocations: 20.77 kB / 1.026 GB, free: 54.82 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.715, allocations: 1 kB / 1.026 GB, free: 54.82 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.715, allocations: 0.6562 kB / 1.026 GB, free: 54.82 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.715, allocations: 1.094 kB / 1.026 GB, free: 54.82 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.715, allocations: 0 / 1.026 GB, free: 54.82 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003328/0.7154, allocations: 221.9 kB / 1.027 GB, free: 54.66 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.925e-05/0.7154, allocations: 83.12 kB / 1.027 GB, free: 54.57 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.7154, allocations: 4.797 kB / 1.027 GB, free: 54.56 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.7155, allocations: 17.17 kB / 1.027 GB, free: 54.56 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.254e-05/0.7156, allocations: 6.062 kB / 1.027 GB, free: 54.56 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-06/0.7156, allocations: 3.938 kB / 1.027 GB, free: 54.56 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.976e-05/0.7156, allocations: 88.09 kB / 1.027 GB, free: 54.48 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7156, allocations: 4 kB / 1.027 GB, free: 54.48 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001867/0.7158, allocations: 5.969 kB / 1.027 GB, free: 54.48 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.0001166/0.7159, allocations: 105.4 kB / 1.027 GB, free: 54.39 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003347/0.7163, allocations: 90.06 kB / 1.027 GB, free: 54.38 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.7163, allocations: 0 / 1.027 GB, free: 54.38 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001499/0.7165, allocations: 53.17 kB / 1.027 GB, free: 54.36 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003039/0.7168, allocations: 12.92 kB / 1.027 GB, free: 54.36 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002891/0.7171, allocations: 131 kB / 1.027 GB, free: 54.23 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001299/0.7172, allocations: 0.6798 MB / 1.028 GB, free: 53.54 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.506e-05/0.7172, allocations: 6.906 kB / 1.028 GB, free: 53.53 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.575e-05/0.7173, allocations: 8.594 kB / 1.028 GB, free: 53.52 MB / 0.698 GB Notification: Performance of SimCode: time 3.11e-07/0.7173, allocations: 0 / 1.028 GB, free: 53.52 MB / 0.698 GB Notification: Performance of Templates: time 0.002269/0.7196, allocations: 0.5447 MB / 1.028 GB, free: 53.46 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe 2>&1)