Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001752/0.001752, allocations: 115.5 kB / 17.08 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001924/0.001924, allocations: 193.2 kB / 20.03 MB, free: 3.047 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.605/1.605, allocations: 222.9 MB / 245.7 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.034/3.034, allocations: 489.3 MB / 0.7687 GB, free: 3.75 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Divide,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|div1.u1|div1.u2|div1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Divide,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|div1.u1|div1.u2|div1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002047/0.002047, allocations: 63.89 kB / 1.103 GB, free: 0.7422 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9771/0.9791, allocations: 163.8 MB / 1.263 GB, free: 8.207 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.001934/0.9811, allocations: 0.7122 MB / 1.263 GB, free: 7.766 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.000923/0.9821, allocations: 0.8022 MB / 1.264 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.863e-05/0.9821, allocations: 4.75 kB / 1.264 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.425e-05/0.9821, allocations: 0 / 1.264 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.839e-05/0.9822, allocations: 17.81 kB / 1.264 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 5.877e-05/0.9823, allocations: 10.38 kB / 1.264 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.275e-05/0.9824, allocations: 38.64 kB / 1.264 GB, free: 7.117 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.9825, allocations: 14.69 kB / 1.264 GB, free: 7.109 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.813e-05/0.9826, allocations: 21.22 kB / 1.264 GB, free: 7.098 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.875e-05/0.9826, allocations: 22.84 kB / 1.264 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.9827, allocations: 3.469 kB / 1.264 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.051e-05/0.9827, allocations: 4.125 kB / 1.264 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.822e-05/0.9827, allocations: 6.75 kB / 1.264 GB, free: 7.082 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.167e-05/0.9827, allocations: 17.08 kB / 1.264 GB, free: 7.07 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001055/0.9828, allocations: 43.78 kB / 1.264 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.9828, allocations: 0 / 1.264 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.823e-06/0.9829, allocations: 1 kB / 1.264 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.9829, allocations: 0 / 1.264 GB, free: 7.055 MB / 0.9981 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.0004942/0.9834, allocations: 368.8 kB / 1.265 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.9834, allocations: 9.688 kB / 1.265 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.445e-05/0.9834, allocations: 7.391 kB / 1.265 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.364e-05/0.9835, allocations: 176 kB / 1.265 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.9836, allocations: 2.031 kB / 1.265 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.056e-05/0.9836, allocations: 5.938 kB / 1.265 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002711/0.9839, allocations: 64.23 kB / 1.265 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.9839, allocations: 5.156 kB / 1.265 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.9839, allocations: 4.547 kB / 1.265 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.9839, allocations: 0.8125 kB / 1.265 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003154/0.9842, allocations: 62.06 kB / 1.265 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003389/0.9846, allocations: 266.8 kB / 1.265 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002129/0.9848, allocations: 63.44 kB / 1.265 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001671/0.985, allocations: 40.69 kB / 1.265 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.168e-05/0.985, allocations: 0.875 kB / 1.265 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.635e-05/0.985, allocations: 32.06 kB / 1.265 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 2.224e-06/0.985, allocations: 4 kB / 1.265 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0005897/0.9856, allocations: 132.3 kB / 1.265 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.357e-05/0.9856, allocations: 52.72 kB / 1.266 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.981e-05/0.9857, allocations: 111.3 kB / 1.266 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.814e-06/0.9857, allocations: 26.52 kB / 1.266 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.791e-05/0.9858, allocations: 90.75 kB / 1.266 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.988e-05/0.9858, allocations: 14 kB / 1.266 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.347e-05/0.9858, allocations: 13.27 kB / 1.266 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.025e-05/0.9859, allocations: 317.8 kB / 1.266 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001686/0.9861, allocations: 30.59 kB / 1.266 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001553/0.9862, allocations: 35.97 kB / 1.266 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003167/0.9865, allocations: 65.52 kB / 1.266 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.9865, allocations: 11.81 kB / 1.266 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003653/0.9869, allocations: 98.44 kB / 1.266 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.9869, allocations: 9.656 kB / 1.266 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.987, allocations: 0.5625 kB / 1.266 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.987, allocations: 0.7188 kB / 1.266 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001401/0.9871, allocations: 19.39 kB / 1.266 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.9871, allocations: 1.484 kB / 1.266 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.516e-05/0.9872, allocations: 11.38 kB / 1.266 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.9872, allocations: 0.8438 kB / 1.266 GB, free: 5.262 MB / 0.9981 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.586e-05/0.9873, allocations: 120.1 kB / 1.266 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.592e-05/0.9873, allocations: 2.203 kB / 1.266 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.892e-05/0.9874, allocations: 6.094 kB / 1.266 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.9874, allocations: 1.594 kB / 1.266 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.9874, allocations: 0 / 1.266 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.9874, allocations: 0.8125 kB / 1.266 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001455/0.9875, allocations: 170 kB / 1.267 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.9876, allocations: 1.359 kB / 1.267 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/0.9877, allocations: 19.12 kB / 1.267 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.9877, allocations: 1.156 kB / 1.267 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.9877, allocations: 4.656 kB / 1.267 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.9877, allocations: 0 / 1.267 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.9877, allocations: 5.5 kB / 1.267 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003519/0.988, allocations: 197.5 kB / 1.267 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.002e-05/0.9881, allocations: 78.92 kB / 1.267 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.9881, allocations: 5 kB / 1.267 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.9882, allocations: 11.81 kB / 1.267 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.021e-05/0.9883, allocations: 7.078 kB / 1.267 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.9883, allocations: 1.062 kB / 1.267 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.221e-05/0.9883, allocations: 88.94 kB / 1.267 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9883, allocations: 0 / 1.267 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002216/0.9886, allocations: 6.031 kB / 1.267 GB, free: 4.586 MB / 0.9981 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.0001164/0.9887, allocations: 107.3 kB / 1.267 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003769/0.9891, allocations: 66.16 kB / 1.267 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.9891, allocations: 0 / 1.267 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001635/0.9893, allocations: 34.48 kB / 1.267 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003266/0.9896, allocations: 18.09 kB / 1.267 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002957/0.9899, allocations: 147.2 kB / 1.267 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001103/0.99, allocations: 0.6804 MB / 1.268 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.683e-05/0.9901, allocations: 13.66 kB / 1.268 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of SimCode: time 4.01e-07/0.9901, allocations: 3.938 kB / 1.268 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of Templates: time 0.002556/0.9926, allocations: 0.7578 MB / 1.269 GB, free: 3.551 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Divide.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.641202558996156]