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.001797/0.001797, allocations: 113.1 kB / 17.6 MB, free: 4.703 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.002105/0.002105, allocations: 186.7 kB / 20.78 MB, free: 1.547 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.619/1.619, allocations: 225.6 MB / 249.4 MB, free: 3.293 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.04/3.04, allocations: 496.2 MB / 0.7819 GB, free: 12.27 MB / 0.6231 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.001942/0.001942, allocations: 71.89 kB / 1.136 GB, free: 12.43 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.354/1.356, allocations: 173.6 MB / 1.305 GB, free: 33.5 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.002117/1.358, allocations: 0.7112 MB / 1.306 GB, free: 33.05 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0008597/1.359, allocations: 0.8118 MB / 1.307 GB, free: 32.43 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.403e-05/1.359, allocations: 0 / 1.307 GB, free: 32.43 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.045e-05/1.359, allocations: 3.938 kB / 1.307 GB, free: 32.43 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.127e-05/1.359, allocations: 7.922 kB / 1.307 GB, free: 32.42 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 6.244e-05/1.359, allocations: 21.31 kB / 1.307 GB, free: 32.41 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.346e-05/1.36, allocations: 43.44 kB / 1.307 GB, free: 32.39 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001368/1.36, allocations: 6.75 kB / 1.307 GB, free: 32.38 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.327e-05/1.36, allocations: 16.67 kB / 1.307 GB, free: 32.38 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.694e-05/1.36, allocations: 24.55 kB / 1.307 GB, free: 32.36 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.689e-05/1.36, allocations: 3.438 kB / 1.307 GB, free: 32.36 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.907e-06/1.36, allocations: 6.781 kB / 1.307 GB, free: 32.36 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.066e-05/1.36, allocations: 10.34 kB / 1.307 GB, free: 32.36 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.929e-05/1.36, allocations: 10.91 kB / 1.307 GB, free: 32.35 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001128/1.36, allocations: 52.45 kB / 1.307 GB, free: 32.32 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/1.36, allocations: 0 / 1.307 GB, free: 32.32 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.885e-06/1.36, allocations: 7.328 kB / 1.307 GB, free: 32.32 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.33e-06/1.36, allocations: 0 / 1.307 GB, free: 32.32 MB / 1.061 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.0005141/1.36, allocations: 368 kB / 1.308 GB, free: 31.95 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/1.361, allocations: 8.156 kB / 1.308 GB, free: 31.95 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.108e-05/1.361, allocations: 7.703 kB / 1.308 GB, free: 31.95 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.523e-05/1.361, allocations: 162.8 kB / 1.308 GB, free: 31.75 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/1.361, allocations: 384 / 1.308 GB, free: 31.75 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.234e-05/1.361, allocations: 7.188 kB / 1.308 GB, free: 31.75 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002315/1.361, allocations: 69.5 kB / 1.308 GB, free: 31.71 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/1.361, allocations: 192 / 1.308 GB, free: 31.71 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/1.361, allocations: 3.938 kB / 1.308 GB, free: 31.7 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/1.361, allocations: 0 / 1.308 GB, free: 31.7 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002521/1.361, allocations: 67.81 kB / 1.308 GB, free: 31.69 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003387/1.362, allocations: 272.8 kB / 1.308 GB, free: 31.4 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001767/1.362, allocations: 55.42 kB / 1.308 GB, free: 31.37 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001296/1.362, allocations: 36.77 kB / 1.308 GB, free: 31.36 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/1.362, allocations: 8 kB / 1.308 GB, free: 31.35 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/1.362, allocations: 37.83 kB / 1.308 GB, free: 31.31 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/1.362, allocations: 0 / 1.308 GB, free: 31.31 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0004807/1.362, allocations: 123.5 kB / 1.308 GB, free: 31.27 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/1.362, allocations: 58.38 kB / 1.308 GB, free: 31.2 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.433e-05/1.362, allocations: 105.8 kB / 1.308 GB, free: 31.1 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 9.297e-06/1.362, allocations: 25.7 kB / 1.309 GB, free: 31.07 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.245e-05/1.363, allocations: 87.02 kB / 1.309 GB, free: 30.98 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.369e-05/1.363, allocations: 15.08 kB / 1.309 GB, free: 30.97 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.127e-05/1.363, allocations: 16.59 kB / 1.309 GB, free: 30.95 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.883e-05/1.363, allocations: 313.6 kB / 1.309 GB, free: 30.64 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001309/1.363, allocations: 35.41 kB / 1.309 GB, free: 30.63 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001137/1.363, allocations: 30.75 kB / 1.309 GB, free: 30.62 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002226/1.363, allocations: 71.67 kB / 1.309 GB, free: 30.61 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/1.363, allocations: 11.88 kB / 1.309 GB, free: 30.59 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002678/1.363, allocations: 98.14 kB / 1.309 GB, free: 30.55 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/1.363, allocations: 5.719 kB / 1.309 GB, free: 30.55 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/1.363, allocations: 0 / 1.309 GB, free: 30.55 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/1.363, allocations: 3.938 kB / 1.309 GB, free: 30.55 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/1.364, allocations: 18.28 kB / 1.309 GB, free: 30.55 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/1.364, allocations: 0 / 1.309 GB, free: 30.55 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.99e-05/1.364, allocations: 16.97 kB / 1.309 GB, free: 30.54 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.839e-06/1.364, allocations: 2.75 kB / 1.309 GB, free: 30.54 MB / 1.061 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.564e-05/1.364, allocations: 109.8 kB / 1.309 GB, free: 30.42 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.329e-05/1.364, allocations: 10.73 kB / 1.309 GB, free: 30.41 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.867e-05/1.364, allocations: 11.28 kB / 1.309 GB, free: 30.4 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.227e-06/1.364, allocations: 2.719 kB / 1.309 GB, free: 30.4 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/1.364, allocations: 0 / 1.309 GB, free: 30.4 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/1.364, allocations: 0 / 1.309 GB, free: 30.4 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001483/1.364, allocations: 175.8 kB / 1.31 GB, free: 30.2 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/1.364, allocations: 4 kB / 1.31 GB, free: 30.19 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.346e-05/1.364, allocations: 12 kB / 1.31 GB, free: 30.19 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/1.364, allocations: 2.906 kB / 1.31 GB, free: 30.19 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/1.364, allocations: 3.328 kB / 1.31 GB, free: 30.19 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/1.364, allocations: 0 / 1.31 GB, free: 30.19 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/1.364, allocations: 0 / 1.31 GB, free: 30.19 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003032/1.364, allocations: 198.1 kB / 1.31 GB, free: 30.04 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.233e-05/1.364, allocations: 83.86 kB / 1.31 GB, free: 29.95 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/1.364, allocations: 0 / 1.31 GB, free: 29.95 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.406e-05/1.364, allocations: 9.047 kB / 1.31 GB, free: 29.95 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.503e-05/1.364, allocations: 10.2 kB / 1.31 GB, free: 29.94 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/1.364, allocations: 3.938 kB / 1.31 GB, free: 29.94 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.004e-05/1.365, allocations: 91.17 kB / 1.31 GB, free: 29.86 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.365, allocations: 4 kB / 1.31 GB, free: 29.86 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002045/1.365, allocations: 5.594 kB / 1.31 GB, free: 29.86 MB / 1.061 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.0001505/1.365, allocations: 98.94 kB / 1.31 GB, free: 29.77 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003156/1.365, allocations: 65.81 kB / 1.31 GB, free: 29.76 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/1.365, allocations: 0 / 1.31 GB, free: 29.76 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001229/1.365, allocations: 39.16 kB / 1.31 GB, free: 29.75 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003238/1.366, allocations: 17 kB / 1.31 GB, free: 29.74 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003462/1.366, allocations: 146.3 kB / 1.31 GB, free: 29.62 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001349/1.366, allocations: 0.6779 MB / 1.311 GB, free: 28.93 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.472e-05/1.366, allocations: 6.438 kB / 1.311 GB, free: 28.92 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.199e-05/1.366, allocations: 10.34 kB / 1.311 GB, free: 28.91 MB / 1.061 GB Notification: Performance of SimCode: time 6.41e-07/1.366, allocations: 0 / 1.311 GB, free: 28.91 MB / 1.061 GB Notification: Performance of Templates: time 0.003224/1.369, allocations: 0.6862 MB / 1.312 GB, free: 28.84 MB / 1.061 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe 2>&1) [Timeout 400] 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: 10.395628868602216]