Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001574/0.001574, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.002158/0.002158, allocations: 161 kB / 23.82 MB, free: 0.75 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.925/0.925, allocations: 177.1 MB / 204.2 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.886/1.886, allocations: 377.8 MB / 0.6236 GB, free: 8.551 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 0.8116 GB, free: 1.641 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.581e-05/2.772e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.637 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.001347/0.001374, allocations: 0.7171 MB / 0.8123 GB, free: 0.9414 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0007892/0.002163, allocations: 0.843 MB / 0.8131 GB, free: 88 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.625e-05/0.0022, allocations: 1.688 kB / 0.8131 GB, free: 88 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.047e-05/0.00223, allocations: 3.938 kB / 0.8131 GB, free: 84 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 7.031e-05/0.002301, allocations: 11.92 kB / 0.8132 GB, free: 72 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 5.872e-05/0.002359, allocations: 7.984 kB / 0.8132 GB, free: 64 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 7.792e-05/0.002437, allocations: 49.39 kB / 0.8132 GB, free: 16 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 9.397e-05/0.002531, allocations: 11.97 kB / 0.8132 GB, free: 4 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 9.284e-05/0.002624, allocations: 24 kB / 0.8132 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.841e-05/0.002662, allocations: 15.98 kB / 0.8133 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.129e-05/0.002684, allocations: 5.156 kB / 0.8133 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 7.184e-06/0.002691, allocations: 4 kB / 0.8133 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.637e-05/0.002707, allocations: 11.92 kB / 0.8133 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.121e-05/0.002728, allocations: 9.375 kB / 0.8133 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 7.868e-05/0.002807, allocations: 31.75 kB / 0.8133 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.002809, allocations: 0 / 0.8133 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.51e-07/0.00281, allocations: 0 / 0.8133 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.002816, allocations: 0.5312 kB / 0.8133 GB, free: 15.91 MB / 0.7761 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.0003604/0.003176, allocations: 377.3 kB / 0.8137 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.003218, allocations: 16.52 kB / 0.8137 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.654e-05/0.003255, allocations: 10.42 kB / 0.8137 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.67e-05/0.003341, allocations: 112.6 kB / 0.8138 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.003354, allocations: 4.375 kB / 0.8138 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.596e-06/0.003362, allocations: 4.359 kB / 0.8138 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/0.003498, allocations: 63.56 kB / 0.8139 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.003505, allocations: 192 / 0.8139 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.003515, allocations: 5.25 kB / 0.8139 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.003522, allocations: 384 / 0.8139 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.538e-05/0.003557, allocations: 12.44 kB / 0.8139 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003001/0.003857, allocations: 268.4 kB / 0.8142 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.747e-05/0.003935, allocations: 31.69 kB / 0.8142 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.378e-05/0.003959, allocations: 11.69 kB / 0.8142 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 8.656e-06/0.003967, allocations: 1.375 kB / 0.8142 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.00399, allocations: 37.39 kB / 0.8142 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.003992, allocations: 0 / 0.8142 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001508/0.004142, allocations: 51.41 kB / 0.8143 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.081e-05/0.004173, allocations: 55.41 kB / 0.8143 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.468e-05/0.004248, allocations: 169.9 kB / 0.8145 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.397e-06/0.004257, allocations: 25.7 kB / 0.8145 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.401e-05/0.004301, allocations: 138.8 kB / 0.8147 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.779e-05/0.004319, allocations: 10.27 kB / 0.8147 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.902e-05/0.004348, allocations: 19.38 kB / 0.8147 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.004457, allocations: 496.1 kB / 0.8152 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.984e-05/0.004477, allocations: 4 kB / 0.8152 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.355e-05/0.00449, allocations: 3.984 kB / 0.8152 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.939e-05/0.00453, allocations: 19.69 kB / 0.8152 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.004532, allocations: 7.281 kB / 0.8152 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.331e-05/0.004595, allocations: 45.58 kB / 0.8152 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.00461, allocations: 11.94 kB / 0.8152 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.004616, allocations: 320 / 0.8152 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.004628, allocations: 0 / 0.8152 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.713e-05/0.004706, allocations: 8 kB / 0.8153 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.728e-06/0.00471, allocations: 0 / 0.8153 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.375e-05/0.004734, allocations: 7.984 kB / 0.8153 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.004743, allocations: 8.984 kB / 0.8153 GB, free: 13.71 MB / 0.7761 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.051e-05/0.004804, allocations: 156.6 kB / 0.8154 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.422e-05/0.004818, allocations: 0.5 kB / 0.8154 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.438e-05/0.004842, allocations: 15.94 kB / 0.8154 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.004844, allocations: 0.5625 kB / 0.8154 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.004848, allocations: 4.547 kB / 0.8154 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.004851, allocations: 0 / 0.8154 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.313e-05/0.004944, allocations: 121.7 kB / 0.8156 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.004946, allocations: 336 / 0.8156 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.248e-05/0.004978, allocations: 16.78 kB / 0.8156 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.00498, allocations: 0 / 0.8156 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.004986, allocations: 0 / 0.8156 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.004988, allocations: 6.125 kB / 0.8156 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.004989, allocations: 0 / 0.8156 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000103/0.005092, allocations: 195.9 kB / 0.8158 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.898e-06/0.005102, allocations: 7.984 kB / 0.8158 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.137e-06/0.005111, allocations: 0 / 0.8158 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.561e-05/0.005146, allocations: 8.75 kB / 0.8158 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.132e-05/0.005188, allocations: 11.98 kB / 0.8158 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.484e-06/0.00519, allocations: 0 / 0.8158 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.583e-05/0.005226, allocations: 124.1 kB / 0.8159 GB, free: 13 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.005226, allocations: 0 / 0.8159 GB, free: 13 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001356/0.005362, allocations: 13.22 kB / 0.8159 GB, free: 12.99 MB / 0.7761 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 8.6e-05/0.005448, allocations: 99.17 kB / 0.816 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.845e-05/0.005536, allocations: 16.66 kB / 0.816 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.005538, allocations: 0 / 0.816 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.219e-05/0.00556, allocations: 20.7 kB / 0.8161 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001974/0.005758, allocations: 11.94 kB / 0.8161 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002662/0.006024, allocations: 136.2 kB / 0.8162 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.851e-05/0.006062, allocations: 63.28 kB / 0.8163 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.326e-05/0.006086, allocations: 5.062 kB / 0.8163 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.342e-05/0.006119, allocations: 12.5 kB / 0.8163 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of SimCode: time 6.82e-07/0.00612, allocations: 0 / 0.8163 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of Templates: time 0.002514/0.008634, allocations: 0.7814 MB / 0.817 GB, free: 11.81 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Divide_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.110719651915133]