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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002493/0.002493, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002938/0.002938, allocations: 173.6 kB / 22.76 MB, free: 1.664 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.613/1.613, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.494/3.494, allocations: 429.5 MB / 0.6729 GB, free: 4.016 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 2.435e-06/2.435e-06, allocations: 0 / 0.8775 GB, free: 6.602 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.253e-05/3.497e-05, allocations: 3.062 kB / 0.8775 GB, free: 6.598 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.002178/0.002213, allocations: 0.7119 MB / 0.8782 GB, free: 5.914 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001287/0.0035, allocations: 0.8296 MB / 0.879 GB, free: 5.074 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.029e-05/0.003541, allocations: 0 / 0.879 GB, free: 5.074 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.725e-05/0.003568, allocations: 3.938 kB / 0.879 GB, free: 5.07 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.04e-05/0.003658, allocations: 8.141 kB / 0.879 GB, free: 5.062 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 7.11e-05/0.003729, allocations: 17.77 kB / 0.879 GB, free: 5.047 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001029/0.003832, allocations: 47.78 kB / 0.8791 GB, free: 5 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.003948, allocations: 8 kB / 0.8791 GB, free: 4.992 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.767e-05/0.004046, allocations: 23.97 kB / 0.8791 GB, free: 4.969 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.565e-05/0.004091, allocations: 15.92 kB / 0.8791 GB, free: 4.953 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.071e-05/0.004112, allocations: 4.969 kB / 0.8791 GB, free: 4.949 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.021e-05/0.004122, allocations: 4 kB / 0.8791 GB, free: 4.945 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.76e-05/0.00414, allocations: 5.594 kB / 0.8792 GB, free: 4.941 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.524e-05/0.004175, allocations: 19.91 kB / 0.8792 GB, free: 4.922 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000103/0.004278, allocations: 39.92 kB / 0.8792 GB, free: 4.883 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.00428, allocations: 0 / 0.8792 GB, free: 4.883 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.31e-07/0.004281, allocations: 0 / 0.8792 GB, free: 4.883 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.004285, allocations: 2.469 kB / 0.8792 GB, free: 4.883 MB / 0.8386 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.0005845/0.004869, allocations: 384.1 kB / 0.8796 GB, free: 4.469 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.004911, allocations: 12.03 kB / 0.8796 GB, free: 4.457 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.064e-05/0.004952, allocations: 0.9375 kB / 0.8796 GB, free: 4.457 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/0.005082, allocations: 112.6 kB / 0.8797 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.005097, allocations: 6.438 kB / 0.8797 GB, free: 4.316 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.027e-06/0.005106, allocations: 384 / 0.8797 GB, free: 4.316 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001952/0.005301, allocations: 66.11 kB / 0.8798 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.00531, allocations: 192 / 0.8798 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.517e-06/0.00532, allocations: 384 / 0.8798 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.005324, allocations: 1.094 kB / 0.8798 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001823/0.005507, allocations: 49.56 kB / 0.8798 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004249/0.005932, allocations: 263.9 kB / 0.8801 GB, free: 3.906 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001648/0.006096, allocations: 54.97 kB / 0.8801 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001063/0.006203, allocations: 28.95 kB / 0.8802 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/0.006222, allocations: 3.984 kB / 0.8802 GB, free: 3.805 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/0.006257, allocations: 41.39 kB / 0.8802 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.006258, allocations: 0 / 0.8802 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0004044/0.006662, allocations: 97.55 kB / 0.8803 GB, free: 3.652 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002793/0.006942, allocations: 55.41 kB / 0.8803 GB, free: 3.586 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.007094, allocations: 173.9 kB / 0.8805 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.007116, allocations: 25.7 kB / 0.8805 GB, free: 3.367 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.022e-05/0.007206, allocations: 142.8 kB / 0.8807 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.704e-05/0.007233, allocations: 11.84 kB / 0.8807 GB, free: 3.211 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.563e-05/0.007278, allocations: 23.38 kB / 0.8807 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002703/0.007549, allocations: 0.4923 MB / 0.8812 GB, free: 2.676 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.124e-05/0.00764, allocations: 19.98 kB / 0.8812 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.52e-05/0.007735, allocations: 19.98 kB / 0.8812 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001652/0.0079, allocations: 47.66 kB / 0.8813 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.007902, allocations: 0 / 0.8813 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002172/0.008119, allocations: 73.67 kB / 0.8813 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.008136, allocations: 7.938 kB / 0.8813 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.00814, allocations: 4 kB / 0.8813 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.008154, allocations: 3.938 kB / 0.8813 GB, free: 2.492 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.676e-05/0.008251, allocations: 11.98 kB / 0.8814 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.008256, allocations: 0 / 0.8814 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.902e-05/0.008306, allocations: 7.984 kB / 0.8814 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.008316, allocations: 4 kB / 0.8814 GB, free: 2.469 MB / 0.8386 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 0.0001114/0.008428, allocations: 156.6 kB / 0.8815 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.817e-05/0.008456, allocations: 7.953 kB / 0.8815 GB, free: 2.297 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.951e-05/0.008485, allocations: 7.938 kB / 0.8815 GB, free: 2.289 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.008487, allocations: 4 kB / 0.8815 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.932e-06/0.008493, allocations: 4 kB / 0.8815 GB, free: 2.281 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.008498, allocations: 7.938 kB / 0.8816 GB, free: 2.273 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001768/0.008675, allocations: 124.6 kB / 0.8817 GB, free: 2.117 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.008676, allocations: 0 / 0.8817 GB, free: 2.117 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.895e-05/0.008745, allocations: 11.98 kB / 0.8817 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.008747, allocations: 0 / 0.8817 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.008754, allocations: 0 / 0.8817 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.008758, allocations: 3.938 kB / 0.8817 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.008759, allocations: 0 / 0.8817 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003199/0.009079, allocations: 227.8 kB / 0.8819 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.472e-05/0.009093, allocations: 7.953 kB / 0.8819 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.009108, allocations: 4 kB / 0.8819 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.949e-05/0.009188, allocations: 11.92 kB / 0.8819 GB, free: 1.836 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.231e-05/0.00923, allocations: 0 / 0.8819 GB, free: 1.836 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.009237, allocations: 4 kB / 0.8819 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.52e-05/0.009322, allocations: 131.2 kB / 0.8821 GB, free: 1.703 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7.1e-08/0.009322, allocations: 0 / 0.8821 GB, free: 1.703 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002168/0.009539, allocations: 8 kB / 0.8821 GB, free: 1.695 MB / 0.8386 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.009676, allocations: 95.62 kB / 0.8822 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002521/0.009929, allocations: 59.64 kB / 0.8822 GB, free: 1.527 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.00993, allocations: 3.938 kB / 0.8822 GB, free: 1.523 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001084/0.01004, allocations: 35.66 kB / 0.8822 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002588/0.0103, allocations: 12 kB / 0.8823 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003555/0.01065, allocations: 130.3 kB / 0.8824 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.136e-05/0.01073, allocations: 79.12 kB / 0.8825 GB, free: 1.219 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.004e-05/0.01076, allocations: 4 kB / 0.8825 GB, free: 1.215 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.73e-05/0.0108, allocations: 8.5 kB / 0.8825 GB, free: 1.207 MB / 0.8386 GB Notification: Performance of SimCode: time 4.71e-07/0.0108, allocations: 0 / 0.8825 GB, free: 1.207 MB / 0.8386 GB Notification: Performance of Templates: time 0.003603/0.0144, allocations: 0.7489 MB / 0.8832 GB, free: 488 kB / 0.8386 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe 2>&1) [Timeout 240] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 8.619608344975859]