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.001369/0.001369, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001086/0.001086, allocations: 164.7 kB / 24.87 MB, free: 8.891 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 1.017/1.017, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.944/1.944, allocations: 377.9 MB / 0.6247 GB, free: 8.379 MB / 0.5886 GB " [Timeout remaining time 178] 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.613e-06/1.613e-06, allocations: 0 / 0.8128 GB, free: 216 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.224e-05/1.386e-05, allocations: 3.219 kB / 0.8128 GB, free: 212 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.001095/0.001108, allocations: 0.7079 MB / 0.8135 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0006585/0.001767, allocations: 0.8446 MB / 0.8144 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.113e-05/0.001798, allocations: 0 / 0.8144 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.365e-05/0.001822, allocations: 5.609 kB / 0.8144 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.92e-05/0.001881, allocations: 10.14 kB / 0.8144 GB, free: 14.65 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 5.064e-05/0.001932, allocations: 11.98 kB / 0.8144 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 6.199e-05/0.001994, allocations: 48.5 kB / 0.8144 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.936e-05/0.002073, allocations: 4 kB / 0.8144 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 6.423e-05/0.002137, allocations: 28.94 kB / 0.8145 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 3.089e-05/0.002168, allocations: 15.92 kB / 0.8145 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.002182, allocations: 4 kB / 0.8145 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 6.572e-06/0.002189, allocations: 4.75 kB / 0.8145 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.426e-05/0.002203, allocations: 4 kB / 0.8145 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.742e-05/0.00222, allocations: 16.69 kB / 0.8145 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 6.405e-05/0.002285, allocations: 33.03 kB / 0.8145 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.002288, allocations: 4 kB / 0.8145 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.61e-07/0.002289, allocations: 0 / 0.8145 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.436e-06/0.002292, allocations: 0 / 0.8145 GB, free: 14.48 MB / 0.7292 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.00028/0.002572, allocations: 378.7 kB / 0.8149 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.62e-05/0.002598, allocations: 8.031 kB / 0.8149 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.38e-05/0.002622, allocations: 12.89 kB / 0.8149 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.785e-05/0.00269, allocations: 108.6 kB / 0.815 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.0027, allocations: 8.344 kB / 0.815 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.025e-06/0.002708, allocations: 5.25 kB / 0.815 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.429e-05/0.002803, allocations: 64.5 kB / 0.8151 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.201e-06/0.002809, allocations: 192 / 0.8151 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.871e-06/0.002815, allocations: 384 / 0.8151 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.002819, allocations: 384 / 0.8151 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.147e-05/0.002841, allocations: 15.88 kB / 0.8151 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001992/0.00304, allocations: 249.9 kB / 0.8154 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.053e-05/0.00309, allocations: 31.06 kB / 0.8154 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.355e-05/0.003104, allocations: 7.781 kB / 0.8154 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.653e-06/0.00311, allocations: 5.703 kB / 0.8154 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.749e-05/0.003128, allocations: 41.33 kB / 0.8154 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 7.01e-07/0.003129, allocations: 0 / 0.8154 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0001038/0.003232, allocations: 45.64 kB / 0.8155 GB, free: 13.4 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.507e-05/0.003258, allocations: 56.42 kB / 0.8155 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.777e-05/0.003315, allocations: 169.8 kB / 0.8157 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.706e-06/0.003324, allocations: 25.7 kB / 0.8157 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.813e-05/0.003362, allocations: 144.4 kB / 0.8159 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.397e-05/0.003376, allocations: 3.953 kB / 0.8159 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.339e-05/0.003399, allocations: 19.38 kB / 0.8159 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.419e-05/0.003494, allocations: 0.4884 MB / 0.8164 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.083e-05/0.003505, allocations: 4.531 kB / 0.8164 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.206e-06/0.003513, allocations: 0.6562 kB / 0.8164 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.366e-05/0.003536, allocations: 19.62 kB / 0.8164 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.003538, allocations: 4.531 kB / 0.8164 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.886e-05/0.003587, allocations: 38.44 kB / 0.8164 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.557e-06/0.003597, allocations: 4 kB / 0.8164 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.347e-06/0.0036, allocations: 0.9375 kB / 0.8164 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.817e-06/0.003609, allocations: 7.938 kB / 0.8164 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.267e-05/0.003662, allocations: 7.984 kB / 0.8164 GB, free: 12.35 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.254e-06/0.003664, allocations: 4.844 kB / 0.8165 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.24e-05/0.003686, allocations: 9.328 kB / 0.8165 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-06/0.003691, allocations: 0 / 0.8165 GB, free: 12.34 MB / 0.7292 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.28e-05/0.003743, allocations: 160.5 kB / 0.8166 GB, free: 12.17 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.553e-05/0.003759, allocations: 5.281 kB / 0.8166 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.829e-05/0.003777, allocations: 7.984 kB / 0.8166 GB, free: 12.15 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.003779, allocations: 3.938 kB / 0.8166 GB, free: 12.15 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.003782, allocations: 4.625 kB / 0.8166 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.003784, allocations: 336 / 0.8166 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.146e-05/0.003866, allocations: 102 kB / 0.8167 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.11e-07/0.003866, allocations: 0 / 0.8167 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.609e-05/0.003892, allocations: 12.88 kB / 0.8167 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.003894, allocations: 3.984 kB / 0.8167 GB, free: 12 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.717e-06/0.003897, allocations: 0.875 kB / 0.8168 GB, free: 12 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.003899, allocations: 3.984 kB / 0.8168 GB, free: 12 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.003899, allocations: 5.344 kB / 0.8168 GB, free: 12 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.679e-05/0.003986, allocations: 199.8 kB / 0.817 GB, free: 11.78 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.969e-06/0.003991, allocations: 0 / 0.817 GB, free: 11.78 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.165e-06/0.003999, allocations: 3.984 kB / 0.817 GB, free: 11.78 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.541e-05/0.004035, allocations: 8.562 kB / 0.817 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.63e-05/0.004061, allocations: 12.48 kB / 0.817 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-06/0.004062, allocations: 3.938 kB / 0.817 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.316e-05/0.004096, allocations: 129.1 kB / 0.8171 GB, free: 11.63 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.004096, allocations: 0 / 0.8171 GB, free: 11.63 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001312/0.004227, allocations: 8 kB / 0.8171 GB, free: 11.62 MB / 0.7292 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 6.117e-05/0.004288, allocations: 96.11 kB / 0.8172 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.108e-05/0.004349, allocations: 15.69 kB / 0.8172 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.51e-07/0.00435, allocations: 3.469 kB / 0.8172 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.177e-05/0.004372, allocations: 23.61 kB / 0.8172 GB, free: 11.47 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001687/0.00454, allocations: 9.25 kB / 0.8172 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001883/0.004729, allocations: 138.1 kB / 0.8174 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.776e-05/0.004756, allocations: 63.28 kB / 0.8174 GB, free: 11.22 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.721e-05/0.004774, allocations: 0.625 kB / 0.8174 GB, free: 11.22 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.745e-05/0.004821, allocations: 74.7 kB / 0.8175 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of SimCode: time 5.41e-07/0.004822, allocations: 0 / 0.8175 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of Templates: time 0.001952/0.006774, allocations: 0.8026 MB / 0.8183 GB, free: 10.37 MB / 0.7292 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.222231868188828]