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.0009828/0.0009828, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.001004/0.001004, allocations: 165 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.9596/0.9596, allocations: 177.1 MB / 204.2 MB, free: 5.602 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.989/1.989, allocations: 377.8 MB / 0.6236 GB, free: 8.578 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 2.575e-06/2.575e-06, allocations: 0 / 0.8116 GB, free: 1.672 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.328e-05/2.586e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.668 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.001411/0.001437, allocations: 0.7195 MB / 0.8123 GB, free: 0.9727 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0007745/0.002212, allocations: 0.8392 MB / 0.8131 GB, free: 124 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.353e-05/0.002245, allocations: 4.656 kB / 0.8131 GB, free: 120 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.866e-05/0.002274, allocations: 5.188 kB / 0.8131 GB, free: 116 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.473e-05/0.002339, allocations: 11.86 kB / 0.8132 GB, free: 104 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 5.978e-05/0.002398, allocations: 11.98 kB / 0.8132 GB, free: 92 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 6.73e-05/0.002466, allocations: 44.77 kB / 0.8132 GB, free: 48 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 9.036e-05/0.002556, allocations: 11.98 kB / 0.8132 GB, free: 36 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 7.197e-05/0.002628, allocations: 24.78 kB / 0.8132 GB, free: 12 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.2e-05/0.00266, allocations: 11.98 kB / 0.8133 GB, free: 0 / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.002677, allocations: 5 kB / 0.8133 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.863e-06/0.002684, allocations: 7.938 kB / 0.8133 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.641e-05/0.0027, allocations: 7.984 kB / 0.8133 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.054e-05/0.002721, allocations: 9.25 kB / 0.8133 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 7.443e-05/0.002795, allocations: 27.84 kB / 0.8133 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.155e-06/0.002797, allocations: 0 / 0.8133 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.52e-07/0.002798, allocations: 1.75 kB / 0.8133 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.788e-06/0.002802, allocations: 0 / 0.8133 GB, free: 15.94 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.0004326/0.003235, allocations: 380.6 kB / 0.8137 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.003272, allocations: 12.03 kB / 0.8137 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.171e-05/0.003303, allocations: 10.11 kB / 0.8137 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.542e-05/0.003379, allocations: 116.5 kB / 0.8138 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.00339, allocations: 4.375 kB / 0.8138 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.003402, allocations: 9.391 kB / 0.8138 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.003529, allocations: 58.94 kB / 0.8139 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.003537, allocations: 6 kB / 0.8139 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.003547, allocations: 4.375 kB / 0.8139 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.003554, allocations: 384 / 0.8139 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.253e-05/0.003587, allocations: 7.938 kB / 0.8139 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003066/0.003893, allocations: 263.8 kB / 0.8142 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.567e-05/0.003959, allocations: 36.53 kB / 0.8142 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.558e-05/0.003984, allocations: 15.69 kB / 0.8142 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 8.095e-06/0.003992, allocations: 0 / 0.8142 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/0.004015, allocations: 33.95 kB / 0.8142 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.004016, allocations: 4 kB / 0.8142 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.000143/0.004159, allocations: 55.06 kB / 0.8143 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.95e-05/0.004189, allocations: 51.41 kB / 0.8143 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.009e-05/0.004259, allocations: 169.9 kB / 0.8145 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.528e-06/0.004268, allocations: 26.33 kB / 0.8145 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.396e-05/0.004312, allocations: 146.8 kB / 0.8147 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.545e-05/0.004328, allocations: 4.672 kB / 0.8147 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.661e-05/0.004354, allocations: 19.38 kB / 0.8147 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.004467, allocations: 498 kB / 0.8152 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.856e-05/0.004485, allocations: 7.984 kB / 0.8152 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.347e-05/0.004499, allocations: 0 / 0.8152 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.325e-05/0.004532, allocations: 19.69 kB / 0.8152 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.004534, allocations: 4 kB / 0.8152 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.391e-05/0.004598, allocations: 50.2 kB / 0.8152 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.004611, allocations: 8.656 kB / 0.8153 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.004616, allocations: 0 / 0.8153 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.004627, allocations: 1.219 kB / 0.8153 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.631e-05/0.004704, allocations: 12 kB / 0.8153 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.087e-06/0.004708, allocations: 0 / 0.8153 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.421e-05/0.004732, allocations: 8.516 kB / 0.8153 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.409e-06/0.004736, allocations: 1.188 kB / 0.8153 GB, free: 13.74 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 5.954e-05/0.004796, allocations: 156.6 kB / 0.8154 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.415e-05/0.00481, allocations: 0 / 0.8154 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.407e-05/0.004834, allocations: 16.94 kB / 0.8154 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.004836, allocations: 3.984 kB / 0.8154 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/0.004839, allocations: 0 / 0.8154 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.004842, allocations: 1.141 kB / 0.8154 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.205e-05/0.004934, allocations: 120.6 kB / 0.8156 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.004935, allocations: 0.9375 kB / 0.8156 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.09e-05/0.004966, allocations: 8 kB / 0.8156 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.004967, allocations: 1.344 kB / 0.8156 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.004973, allocations: 0 / 0.8156 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.004975, allocations: 3.938 kB / 0.8156 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.004978, allocations: 11.91 kB / 0.8156 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000108/0.005086, allocations: 192.8 kB / 0.8158 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.684e-06/0.005094, allocations: 3.984 kB / 0.8158 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.387e-06/0.005103, allocations: 2.094 kB / 0.8158 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.834e-05/0.005142, allocations: 11.94 kB / 0.8158 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.699e-05/0.005179, allocations: 7.984 kB / 0.8158 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-06/0.00518, allocations: 0 / 0.8158 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.571e-05/0.005216, allocations: 127.2 kB / 0.8159 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5.1e-08/0.005216, allocations: 4.562 kB / 0.8159 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001371/0.005353, allocations: 8 kB / 0.8159 GB, free: 13.02 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.439e-05/0.005438, allocations: 98.67 kB / 0.816 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.004e-05/0.005518, allocations: 23.62 kB / 0.816 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.005519, allocations: 0 / 0.816 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.549e-05/0.005545, allocations: 19.67 kB / 0.8161 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001999/0.005745, allocations: 6.656 kB / 0.8161 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002807/0.006025, allocations: 139.3 kB / 0.8162 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.35e-05/0.006059, allocations: 55.34 kB / 0.8163 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.806e-05/0.006077, allocations: 5.375 kB / 0.8163 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.975e-05/0.006107, allocations: 8.5 kB / 0.8163 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of SimCode: time 5.81e-07/0.006107, allocations: 0.7812 kB / 0.8163 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of Templates: time 0.003431/0.009538, allocations: 0.7474 MB / 0.817 GB, free: 11.89 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.3821935430169106]