Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001864/0.001864, allocations: 113.8 kB / 17.61 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.002044/0.002044, allocations: 186 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.543/1.543, allocations: 225.6 MB / 249.4 MB, free: 3.141 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.673/2.673, allocations: 443.5 MB / 0.7304 GB, free: 13.91 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_Buildings.Controls.OBC.CDL.Reals.Validation.Divide") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 71.88 kB / 1.059 GB, free: 352 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3675/0.3695, allocations: 160.7 MB / 1.216 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.002369/0.3719, allocations: 0.7025 MB / 1.217 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00112/0.373, allocations: 0.8078 MB / 1.218 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.042e-05/0.373, allocations: 4 kB / 1.218 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.631e-05/0.3731, allocations: 3.938 kB / 1.218 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.839e-05/0.3732, allocations: 3.938 kB / 1.218 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 7.324e-05/0.3732, allocations: 7.984 kB / 1.218 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001018/0.3733, allocations: 47.86 kB / 1.218 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001413/0.3735, allocations: 15.98 kB / 1.218 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.589e-05/0.3736, allocations: 15.92 kB / 1.218 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.897e-05/0.3736, allocations: 23.91 kB / 1.218 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.036e-05/0.3736, allocations: 4 kB / 1.218 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.081e-05/0.3736, allocations: 4 kB / 1.218 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.106e-05/0.3737, allocations: 7.984 kB / 1.218 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.621e-05/0.3737, allocations: 19.88 kB / 1.218 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000106/0.3738, allocations: 39.81 kB / 1.218 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.3738, allocations: 0 / 1.218 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3738, allocations: 0 / 1.218 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.004e-05/0.3738, allocations: 3.984 kB / 1.218 GB, free: 13.58 MB / 0.9669 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.0006336/0.3744, allocations: 371.3 kB / 1.218 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.3745, allocations: 12.03 kB / 1.218 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.723e-05/0.3745, allocations: 4.891 kB / 1.218 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001691/0.3747, allocations: 172.3 kB / 1.218 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.3747, allocations: 384 / 1.218 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.381e-05/0.3747, allocations: 8.359 kB / 1.218 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002535/0.375, allocations: 70.2 kB / 1.218 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.375, allocations: 4.188 kB / 1.218 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.375, allocations: 3.938 kB / 1.218 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.375, allocations: 0 / 1.218 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002687/0.3753, allocations: 67.86 kB / 1.219 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004412/0.3757, allocations: 272.9 kB / 1.219 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002029/0.3759, allocations: 58.47 kB / 1.219 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001429/0.3761, allocations: 40.91 kB / 1.219 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.747e-05/0.3761, allocations: 0 / 1.219 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/0.3761, allocations: 34.56 kB / 1.219 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 8.51e-07/0.3761, allocations: 0 / 1.219 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0005294/0.3766, allocations: 129.5 kB / 1.219 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.842e-05/0.3767, allocations: 51.41 kB / 1.219 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.3768, allocations: 113.8 kB / 1.219 GB, free: 12 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.3768, allocations: 25.7 kB / 1.219 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.359e-05/0.3769, allocations: 92.12 kB / 1.219 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.612e-05/0.3769, allocations: 11.91 kB / 1.219 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.74e-05/0.3769, allocations: 13.72 kB / 1.219 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.3771, allocations: 314.8 kB / 1.22 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.3772, allocations: 31.95 kB / 1.22 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001174/0.3773, allocations: 27.97 kB / 1.22 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002555/0.3776, allocations: 72.78 kB / 1.22 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.3776, allocations: 3.938 kB / 1.22 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002974/0.3779, allocations: 97.56 kB / 1.22 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.3779, allocations: 8 kB / 1.22 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.3779, allocations: 0 / 1.22 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.3779, allocations: 0 / 1.22 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.3781, allocations: 19.97 kB / 1.22 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.3781, allocations: 0 / 1.22 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.268e-05/0.3781, allocations: 11.98 kB / 1.22 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.3781, allocations: 0 / 1.22 GB, free: 11.25 MB / 0.9669 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 8.944e-05/0.3782, allocations: 117.8 kB / 1.22 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.288e-05/0.3782, allocations: 7.953 kB / 1.22 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.008e-05/0.3783, allocations: 7.906 kB / 1.22 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.79e-06/0.3783, allocations: 7.984 kB / 1.22 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.3783, allocations: 0 / 1.22 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.3783, allocations: 3.938 kB / 1.22 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001865/0.3785, allocations: 165.9 kB / 1.22 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3785, allocations: 0 / 1.22 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.548e-05/0.3786, allocations: 19.98 kB / 1.22 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.3786, allocations: 7.938 kB / 1.22 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.3786, allocations: 4 kB / 1.22 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3786, allocations: 0 / 1.22 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.3786, allocations: 3.984 kB / 1.22 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003431/0.3789, allocations: 195.3 kB / 1.22 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.116e-05/0.379, allocations: 85 kB / 1.221 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.379, allocations: 8 kB / 1.221 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.3791, allocations: 11.98 kB / 1.221 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.573e-05/0.3791, allocations: 7.984 kB / 1.221 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-06/0.3792, allocations: 0 / 1.221 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.235e-05/0.3792, allocations: 91.27 kB / 1.221 GB, free: 10.42 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3792, allocations: 0 / 1.221 GB, free: 10.42 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002227/0.3794, allocations: 4 kB / 1.221 GB, free: 10.42 MB / 0.9669 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.0001668/0.3796, allocations: 103.2 kB / 1.221 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003362/0.3799, allocations: 67.86 kB / 1.221 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3799, allocations: 0 / 1.221 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000134/0.3801, allocations: 31.97 kB / 1.221 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/0.3804, allocations: 19.92 kB / 1.221 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003805/0.3808, allocations: 140.1 kB / 1.221 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003207/0.3811, allocations: 0.6768 MB / 1.222 GB, free: 9.328 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.191e-05/0.3811, allocations: 4 kB / 1.222 GB, free: 9.324 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.315e-05/0.3812, allocations: 11.44 kB / 1.222 GB, free: 9.312 MB / 0.9669 GB Notification: Performance of SimCode: time 4.71e-07/0.3812, allocations: 0 / 1.222 GB, free: 9.312 MB / 0.9669 GB Notification: Performance of Templates: time 0.003611/0.3848, allocations: 0.6774 MB / 1.222 GB, free: 8.641 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Divide -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Divide_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Divide.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.79638990201056]