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.Modulo.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.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.715/1.715, allocations: 306.1 MB / 321.4 MB, free: 10.79 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.001008/0.001008, allocations: 182.7 kB / 393.1 MB, free: 4.102 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.516/1.516, allocations: 225.7 MB / 0.6743 GB, free: 12.61 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.0007967/0.0007968, allocations: 96.64 kB / 0.7935 GB, free: 40.04 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004083/0.0004083, allocations: 9.781 kB / 0.9224 GB, free: 8.664 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8586/0.859, allocations: 121.3 MB / 1.041 GB, free: 58.21 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo): time 0.001022/0.8601, allocations: 431.8 kB / 1.041 GB, free: 57.99 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009974/0.8611, allocations: 0.8613 MB / 1.042 GB, free: 57.34 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.861e-05/0.8611, allocations: 0 / 1.042 GB, free: 57.34 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.531e-05/0.8612, allocations: 3.938 kB / 1.042 GB, free: 57.34 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 8.899e-05/0.8613, allocations: 2.125 kB / 1.042 GB, free: 57.34 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001652/0.8614, allocations: 15.16 kB / 1.042 GB, free: 57.33 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 9.096e-05/0.8615, allocations: 40.09 kB / 1.042 GB, free: 57.31 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.8617, allocations: 10.92 kB / 1.042 GB, free: 57.31 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.056e-05/0.8618, allocations: 15.64 kB / 1.042 GB, free: 57.3 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.729e-05/0.8618, allocations: 20.53 kB / 1.042 GB, free: 57.29 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.946e-05/0.8618, allocations: 2.656 kB / 1.042 GB, free: 57.29 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.25e-05/0.8619, allocations: 1.406 kB / 1.042 GB, free: 57.29 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.137e-05/0.8619, allocations: 6.344 kB / 1.042 GB, free: 57.29 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.013e-05/0.8619, allocations: 43.39 kB / 1.042 GB, free: 57.25 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 9.136e-05/0.862, allocations: 37.89 kB / 1.042 GB, free: 57.23 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.8621, allocations: 0 / 1.042 GB, free: 57.23 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.164e-06/0.8621, allocations: 5.344 kB / 1.042 GB, free: 57.23 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.8621, allocations: 1.156 kB / 1.042 GB, free: 57.23 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.0005396/0.8626, allocations: 367.9 kB / 1.043 GB, free: 56.87 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.8627, allocations: 8.906 kB / 1.043 GB, free: 56.87 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.045e-05/0.8627, allocations: 7.438 kB / 1.043 GB, free: 56.86 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.8628, allocations: 176.2 kB / 1.043 GB, free: 56.66 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.8629, allocations: 6 kB / 1.043 GB, free: 56.66 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.66e-05/0.8629, allocations: 3.906 kB / 1.043 GB, free: 56.66 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000281/0.8632, allocations: 78.2 kB / 1.043 GB, free: 56.62 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/0.8632, allocations: 3.188 kB / 1.043 GB, free: 56.62 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.8632, allocations: 7.734 kB / 1.043 GB, free: 56.61 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.8632, allocations: 0 / 1.043 GB, free: 56.61 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003146/0.8635, allocations: 86.97 kB / 1.043 GB, free: 56.61 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003964/0.8639, allocations: 269.4 kB / 1.043 GB, free: 56.32 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002222/0.8642, allocations: 68.45 kB / 1.043 GB, free: 56.29 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001597/0.8643, allocations: 50.64 kB / 1.043 GB, free: 56.28 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.8644, allocations: 3.938 kB / 1.043 GB, free: 56.27 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.8644, allocations: 36.55 kB / 1.043 GB, free: 56.23 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.8644, allocations: 0 / 1.043 GB, free: 56.23 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.000558/0.865, allocations: 166.9 kB / 1.044 GB, free: 56.18 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.797e-05/0.865, allocations: 54.34 kB / 1.044 GB, free: 56.12 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.508e-05/0.8651, allocations: 104.2 kB / 1.044 GB, free: 56.02 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/0.8651, allocations: 30.67 kB / 1.044 GB, free: 55.98 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.259e-05/0.8651, allocations: 90.36 kB / 1.044 GB, free: 55.89 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.944e-05/0.8652, allocations: 9.344 kB / 1.044 GB, free: 55.88 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-06/0.8652, allocations: 2.031 kB / 1.044 GB, free: 55.88 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.515e-05/0.8652, allocations: 319.2 kB / 1.044 GB, free: 55.57 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001437/0.8654, allocations: 42.83 kB / 1.044 GB, free: 55.56 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001342/0.8655, allocations: 40.05 kB / 1.044 GB, free: 55.55 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002774/0.8658, allocations: 92.47 kB / 1.044 GB, free: 55.54 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.8658, allocations: 7.281 kB / 1.044 GB, free: 55.53 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003114/0.8661, allocations: 116.2 kB / 1.044 GB, free: 55.48 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.8662, allocations: 11.81 kB / 1.045 GB, free: 55.48 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.8662, allocations: 4 kB / 1.045 GB, free: 55.48 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.8662, allocations: 0 / 1.045 GB, free: 55.48 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/0.8664, allocations: 22.14 kB / 1.045 GB, free: 55.48 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.8664, allocations: 1.219 kB / 1.045 GB, free: 55.48 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.837e-05/0.8665, allocations: 15.72 kB / 1.045 GB, free: 55.48 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.8665, allocations: 5.188 kB / 1.045 GB, free: 55.47 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.798e-05/0.8665, allocations: 116.8 kB / 1.045 GB, free: 55.35 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.256e-05/0.8666, allocations: 6.062 kB / 1.045 GB, free: 55.35 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.985e-05/0.8666, allocations: 5.062 kB / 1.045 GB, free: 55.35 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.8666, allocations: 4.969 kB / 1.045 GB, free: 55.34 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.8666, allocations: 0 / 1.045 GB, free: 55.34 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.8666, allocations: 0.6094 kB / 1.045 GB, free: 55.34 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001348/0.8668, allocations: 175.8 kB / 1.045 GB, free: 55.14 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.8668, allocations: 0 / 1.045 GB, free: 55.14 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.717e-05/0.8669, allocations: 25.23 kB / 1.045 GB, free: 55.14 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.8669, allocations: 3.406 kB / 1.045 GB, free: 55.14 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.8669, allocations: 3.938 kB / 1.045 GB, free: 55.13 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.8669, allocations: 0 / 1.045 GB, free: 55.13 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.8669, allocations: 0 / 1.045 GB, free: 55.13 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003682/0.8673, allocations: 223.2 kB / 1.045 GB, free: 54.98 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.542e-05/0.8673, allocations: 84.98 kB / 1.045 GB, free: 54.88 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.8673, allocations: 4 kB / 1.045 GB, free: 54.88 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.8675, allocations: 16.72 kB / 1.045 GB, free: 54.88 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.976e-05/0.8675, allocations: 10.39 kB / 1.045 GB, free: 54.88 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.8675, allocations: 0 / 1.045 GB, free: 54.88 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.299e-05/0.8676, allocations: 86.36 kB / 1.045 GB, free: 54.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8676, allocations: 0 / 1.045 GB, free: 54.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001912/0.8678, allocations: 8.812 kB / 1.045 GB, free: 54.8 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.0001487/0.8679, allocations: 108 kB / 1.045 GB, free: 54.71 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003539/0.8683, allocations: 92.86 kB / 1.045 GB, free: 54.69 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.8683, allocations: 1.719 kB / 1.045 GB, free: 54.69 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001552/0.8684, allocations: 44.58 kB / 1.046 GB, free: 54.69 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003004/0.8688, allocations: 11.38 kB / 1.046 GB, free: 54.68 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003424/0.8691, allocations: 134.4 kB / 1.046 GB, free: 54.55 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001476/0.8693, allocations: 0.6794 MB / 1.046 GB, free: 53.86 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.299e-05/0.8693, allocations: 4.719 kB / 1.046 GB, free: 53.85 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.504e-05/0.8693, allocations: 10.55 kB / 1.046 GB, free: 53.84 MB / 0.698 GB Notification: Performance of SimCode: time 3.1e-07/0.8694, allocations: 1.25 kB / 1.046 GB, free: 53.84 MB / 0.698 GB Notification: Performance of Templates: time 0.002981/0.8723, allocations: 0.5758 MB / 1.047 GB, free: 53.78 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe 2>&1)