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.0009734/0.0009734, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.001529/0.001529, allocations: 177 kB / 23.36 MB, free: 1.129 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 0.9685/0.9685, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] 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 2.408/2.408, allocations: 438.8 MB / 0.6827 GB, free: 13.62 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.735e-06/2.735e-06, allocations: 0 / 0.8387 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.375e-05/2.648e-05, allocations: 2.312 kB / 0.8387 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.001988/0.002015, allocations: 0.7144 MB / 0.8394 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001054/0.003069, allocations: 0.847 MB / 0.8402 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.146e-05/0.00311, allocations: 0 / 0.8402 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.031e-05/0.003141, allocations: 3.938 kB / 0.8402 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 8.12e-05/0.003222, allocations: 15.86 kB / 0.8402 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 6.694e-05/0.003289, allocations: 11.98 kB / 0.8402 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 8.196e-05/0.003371, allocations: 39.86 kB / 0.8402 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 8.314e-05/0.003454, allocations: 11.98 kB / 0.8403 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 9.054e-05/0.003544, allocations: 19.98 kB / 0.8403 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.458e-05/0.003589, allocations: 23.91 kB / 0.8403 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.187e-05/0.003611, allocations: 4 kB / 0.8403 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 8.506e-06/0.003619, allocations: 4 kB / 0.8403 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.816e-05/0.003638, allocations: 7.984 kB / 0.8403 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.064e-05/0.003658, allocations: 8 kB / 0.8403 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 8.493e-05/0.003743, allocations: 31.84 kB / 0.8404 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.003746, allocations: 4 kB / 0.8404 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.91e-07/0.003747, allocations: 0 / 0.8404 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.286e-06/0.00375, allocations: 0 / 0.8404 GB, free: 12.4 MB / 0.8073 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.0003347/0.004085, allocations: 256.8 kB / 0.8406 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.004121, allocations: 12.62 kB / 0.8406 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.745e-05/0.004149, allocations: 4.938 kB / 0.8406 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.566e-05/0.004235, allocations: 113.7 kB / 0.8407 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.004245, allocations: 384 / 0.8407 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.095e-05/0.004256, allocations: 4.375 kB / 0.8407 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.004387, allocations: 62.94 kB / 0.8408 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.004394, allocations: 192 / 0.8408 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.563e-06/0.004401, allocations: 384 / 0.8408 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.004406, allocations: 384 / 0.8408 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.897e-05/0.004435, allocations: 15.92 kB / 0.8408 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002286/0.004664, allocations: 164.2 kB / 0.841 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.979e-05/0.004723, allocations: 22.56 kB / 0.841 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.976e-05/0.004743, allocations: 8.859 kB / 0.841 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 7.534e-06/0.004751, allocations: 0 / 0.841 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.004774, allocations: 34.56 kB / 0.841 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.004775, allocations: 0 / 0.841 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0001304/0.004906, allocations: 57.7 kB / 0.8411 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/0.00494, allocations: 51.41 kB / 0.8411 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.98e-05/0.00501, allocations: 114.6 kB / 0.8412 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.071e-05/0.005021, allocations: 25.7 kB / 0.8413 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.631e-05/0.005057, allocations: 92.12 kB / 0.8414 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.013e-05/0.005077, allocations: 11.89 kB / 0.8414 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.213e-05/0.005109, allocations: 17.72 kB / 0.8414 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.497e-05/0.005204, allocations: 314.8 kB / 0.8417 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.468e-05/0.005219, allocations: 4 kB / 0.8417 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.144e-05/0.00523, allocations: 0 / 0.8417 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.2e-05/0.005262, allocations: 16.84 kB / 0.8417 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.005264, allocations: 0 / 0.8417 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.17e-05/0.005336, allocations: 41.62 kB / 0.8417 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.00535, allocations: 8 kB / 0.8417 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.005354, allocations: 320 / 0.8418 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.005368, allocations: 7.938 kB / 0.8418 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.056e-05/0.005448, allocations: 11.98 kB / 0.8418 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.076e-06/0.005451, allocations: 0 / 0.8418 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.028e-05/0.005482, allocations: 8 kB / 0.8418 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.005489, allocations: 3.984 kB / 0.8418 GB, free: 10.79 MB / 0.8073 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.329e-05/0.005552, allocations: 113.8 kB / 0.8419 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.238e-05/0.005574, allocations: 4 kB / 0.8419 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.879e-05/0.005593, allocations: 4 kB / 0.8419 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.005597, allocations: 7.938 kB / 0.8419 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.005598, allocations: 4 kB / 0.8419 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.005601, allocations: 0 / 0.8419 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001216/0.005722, allocations: 73.88 kB / 0.842 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.005723, allocations: 0 / 0.842 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.535e-05/0.005769, allocations: 11.98 kB / 0.842 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.005771, allocations: 0 / 0.842 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.303e-06/0.005778, allocations: 4 kB / 0.842 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.00578, allocations: 3.938 kB / 0.842 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.005781, allocations: 0 / 0.842 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.724e-05/0.005879, allocations: 135.5 kB / 0.8421 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.226e-06/0.005887, allocations: 0 / 0.8421 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.005901, allocations: 8 kB / 0.8421 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.926e-05/0.00596, allocations: 7.984 kB / 0.8421 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.225e-05/0.005992, allocations: 11.94 kB / 0.8422 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-06/0.005996, allocations: 3.938 kB / 0.8422 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.766e-05/0.006014, allocations: 16.84 kB / 0.8422 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.006014, allocations: 0 / 0.8422 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001974/0.006211, allocations: 7.953 kB / 0.8422 GB, free: 10.33 MB / 0.8073 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 9.872e-05/0.00631, allocations: 76.42 kB / 0.8423 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.851e-05/0.006379, allocations: 29.14 kB / 0.8423 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.006381, allocations: 0 / 0.8423 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.249e-05/0.006404, allocations: 8.953 kB / 0.8423 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001895/0.006593, allocations: 18.12 kB / 0.8423 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002753/0.006868, allocations: 124.6 kB / 0.8424 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.084e-05/0.006909, allocations: 59.3 kB / 0.8425 GB, free: 9.961 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.672e-05/0.006936, allocations: 7.984 kB / 0.8425 GB, free: 9.953 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.079e-05/0.006997, allocations: 55.36 kB / 0.8425 GB, free: 9.898 MB / 0.8073 GB Notification: Performance of SimCode: time 1.102e-06/0.006998, allocations: 0 / 0.8425 GB, free: 9.898 MB / 0.8073 GB Notification: Performance of Templates: time 0.002629/0.009627, allocations: 0.6807 MB / 0.8432 GB, free: 9.223 MB / 0.8073 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.273331245873123]