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.Divide.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.Divide,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Divide,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.832/1.832, allocations: 306.1 MB / 321.4 MB, free: 10.72 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.001006/0.001006, allocations: 183.5 kB / 393.1 MB, free: 4.07 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.464/1.464, allocations: 225.7 MB / 0.6743 GB, free: 12.59 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.0009018/0.0009018, allocations: 100.7 kB / 0.7935 GB, free: 40.08 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.00036/0.00036, allocations: 12 kB / 0.9224 GB, free: 8.684 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7503/0.7506, 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.Divide): time 0.0012/0.7519, allocations: 429.3 kB / 1.041 GB, free: 58.25 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001055/0.753, allocations: 0.8041 MB / 1.042 GB, free: 57.64 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.266e-05/0.753, allocations: 0 / 1.042 GB, free: 57.64 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.977e-05/0.7531, allocations: 3.938 kB / 1.042 GB, free: 57.63 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 9.302e-05/0.7532, allocations: 2.25 kB / 1.042 GB, free: 57.63 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 6.893e-05/0.7533, allocations: 18.89 kB / 1.042 GB, free: 57.62 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001033/0.7534, allocations: 38.52 kB / 1.042 GB, free: 57.61 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.7535, allocations: 5.984 kB / 1.042 GB, free: 57.61 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 7.991e-05/0.7536, allocations: 21.62 kB / 1.042 GB, free: 57.59 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.249e-05/0.7536, allocations: 18.86 kB / 1.042 GB, free: 57.59 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.243e-05/0.7537, allocations: 2.562 kB / 1.042 GB, free: 57.59 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.018e-05/0.7537, allocations: 3.938 kB / 1.042 GB, free: 57.59 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.066e-05/0.7537, allocations: 6.203 kB / 1.042 GB, free: 57.58 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.932e-05/0.7538, allocations: 44.16 kB / 1.042 GB, free: 57.54 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 9.611e-05/0.7539, allocations: 30.09 kB / 1.042 GB, free: 57.53 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/0.7539, allocations: 1.219 kB / 1.042 GB, free: 57.53 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.355e-06/0.7539, allocations: 2.281 kB / 1.042 GB, free: 57.53 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.7539, allocations: 0 / 1.042 GB, free: 57.53 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.0005821/0.7545, allocations: 373.3 kB / 1.043 GB, free: 57.16 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.419e-05/0.7546, allocations: 8.938 kB / 1.043 GB, free: 57.16 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.758e-05/0.7546, allocations: 12.25 kB / 1.043 GB, free: 57.16 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.7547, allocations: 170.9 kB / 1.043 GB, free: 56.95 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.7548, allocations: 3.188 kB / 1.043 GB, free: 56.95 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.305e-05/0.7548, allocations: 2.656 kB / 1.043 GB, free: 56.95 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003017/0.7551, allocations: 81.84 kB / 1.043 GB, free: 56.91 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.7551, allocations: 192 / 1.043 GB, free: 56.91 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.7551, allocations: 3.938 kB / 1.043 GB, free: 56.91 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.7551, allocations: 2.938 kB / 1.043 GB, free: 56.91 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003026/0.7555, allocations: 87.34 kB / 1.043 GB, free: 56.9 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004021/0.7559, allocations: 272.2 kB / 1.043 GB, free: 56.62 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002382/0.7561, allocations: 69.72 kB / 1.043 GB, free: 56.59 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000161/0.7563, allocations: 51.97 kB / 1.043 GB, free: 56.57 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.436e-05/0.7563, allocations: 0 / 1.043 GB, free: 56.57 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.7563, allocations: 33.03 kB / 1.043 GB, free: 56.53 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.7563, allocations: 3.938 kB / 1.043 GB, free: 56.53 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0005709/0.7569, allocations: 163.1 kB / 1.044 GB, free: 56.48 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.301e-05/0.757, allocations: 53.12 kB / 1.044 GB, free: 56.42 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.901e-05/0.7571, allocations: 113.7 kB / 1.044 GB, free: 56.31 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.7571, allocations: 25.7 kB / 1.044 GB, free: 56.28 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.604e-05/0.7571, allocations: 92.14 kB / 1.044 GB, free: 56.19 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.351e-05/0.7572, allocations: 13.84 kB / 1.044 GB, free: 56.18 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-06/0.7572, allocations: 0 / 1.044 GB, free: 56.18 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.184e-05/0.7573, allocations: 314.8 kB / 1.044 GB, free: 55.87 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.7574, allocations: 53.39 kB / 1.044 GB, free: 55.86 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.7576, allocations: 41.91 kB / 1.044 GB, free: 55.85 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002702/0.7578, allocations: 85.92 kB / 1.044 GB, free: 55.83 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.7578, allocations: 3.938 kB / 1.044 GB, free: 55.83 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003055/0.7582, allocations: 122.8 kB / 1.044 GB, free: 55.78 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.7582, allocations: 9.906 kB / 1.044 GB, free: 55.78 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.7582, allocations: 0 / 1.044 GB, free: 55.78 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.7582, allocations: 7.625 kB / 1.044 GB, free: 55.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.7584, allocations: 16.42 kB / 1.044 GB, free: 55.77 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.7584, allocations: 0 / 1.044 GB, free: 55.77 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.831e-05/0.7585, allocations: 17.09 kB / 1.044 GB, free: 55.77 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.7585, allocations: 3.5 kB / 1.044 GB, free: 55.77 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.234e-05/0.7585, allocations: 118.4 kB / 1.045 GB, free: 55.65 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.294e-05/0.7586, allocations: 7.438 kB / 1.045 GB, free: 55.64 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.308e-05/0.7586, allocations: 9.219 kB / 1.045 GB, free: 55.64 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.7586, allocations: 0 / 1.045 GB, free: 55.64 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.7586, allocations: 0 / 1.045 GB, free: 55.64 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.421e-06/0.7586, allocations: 2.953 kB / 1.045 GB, free: 55.64 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001379/0.7588, allocations: 165.5 kB / 1.045 GB, free: 55.45 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.7588, allocations: 1.156 kB / 1.045 GB, free: 55.45 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.524e-05/0.7589, allocations: 25.23 kB / 1.045 GB, free: 55.44 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.7589, allocations: 1.594 kB / 1.045 GB, free: 55.44 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.7589, allocations: 4 kB / 1.045 GB, free: 55.44 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.7589, allocations: 0 / 1.045 GB, free: 55.44 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.7589, allocations: 6.031 kB / 1.045 GB, free: 55.43 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000348/0.7593, allocations: 213 kB / 1.045 GB, free: 55.29 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.742e-05/0.7593, allocations: 83.02 kB / 1.045 GB, free: 55.19 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.7593, allocations: 7.938 kB / 1.045 GB, free: 55.18 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.7594, allocations: 25.66 kB / 1.045 GB, free: 55.18 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.598e-05/0.7595, allocations: 7.688 kB / 1.045 GB, free: 55.18 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.7595, allocations: 0 / 1.045 GB, free: 55.18 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.249e-05/0.7595, allocations: 85.72 kB / 1.045 GB, free: 55.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7595, allocations: 0 / 1.045 GB, free: 55.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001842/0.7597, allocations: 5.094 kB / 1.045 GB, free: 55.1 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.0001394/0.7599, allocations: 110.1 kB / 1.045 GB, free: 55.01 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000345/0.7602, allocations: 94.41 kB / 1.045 GB, free: 54.99 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.7602, allocations: 0 / 1.045 GB, free: 54.99 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001484/0.7604, allocations: 45.23 kB / 1.045 GB, free: 54.99 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002836/0.7607, allocations: 16.25 kB / 1.045 GB, free: 54.98 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003432/0.761, allocations: 129 kB / 1.046 GB, free: 54.85 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001835/0.7612, allocations: 0.6859 MB / 1.046 GB, free: 54.15 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.626e-05/0.7613, allocations: 2.359 kB / 1.046 GB, free: 54.15 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.848e-05/0.7613, allocations: 11.44 kB / 1.046 GB, free: 54.14 MB / 0.698 GB Notification: Performance of SimCode: time 2.81e-07/0.7613, allocations: 0 / 1.046 GB, free: 54.14 MB / 0.698 GB Notification: Performance of Templates: time 0.002663/0.764, allocations: 0.5363 MB / 1.047 GB, free: 54.08 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.pipe 2>&1)