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.001061/0.001061, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.001526/0.001526, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 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.09/1.09, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.276/2.276, allocations: 429.5 MB / 0.6743 GB, free: 3.887 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.405e-06/2.405e-06, allocations: 0 / 0.8795 GB, free: 5.945 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.164e-05/3.405e-05, allocations: 5.266 kB / 0.8795 GB, free: 5.941 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.00175/0.001784, allocations: 0.7286 MB / 0.8802 GB, free: 5.242 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00114/0.002924, allocations: 0.8406 MB / 0.881 GB, free: 4.391 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.388e-05/0.002968, allocations: 4 kB / 0.881 GB, free: 4.387 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.215e-05/0.003, allocations: 3.938 kB / 0.881 GB, free: 4.383 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.869e-05/0.003088, allocations: 7.156 kB / 0.881 GB, free: 4.379 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 7.031e-05/0.003159, allocations: 11.98 kB / 0.881 GB, free: 4.367 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.538e-05/0.003254, allocations: 48.72 kB / 0.8811 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.00338, allocations: 8 kB / 0.8811 GB, free: 4.312 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.126e-05/0.003471, allocations: 23.92 kB / 0.8811 GB, free: 4.289 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.249e-05/0.003513, allocations: 16.91 kB / 0.8811 GB, free: 4.273 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.003531, allocations: 4 kB / 0.8811 GB, free: 4.27 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.025e-06/0.003539, allocations: 5.031 kB / 0.8811 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.969e-05/0.003559, allocations: 4 kB / 0.8811 GB, free: 4.262 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.459e-05/0.003584, allocations: 23.84 kB / 0.8812 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 9.259e-05/0.003676, allocations: 29.03 kB / 0.8812 GB, free: 4.211 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.644e-06/0.003679, allocations: 0 / 0.8812 GB, free: 4.211 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.473e-06/0.00368, allocations: 0 / 0.8812 GB, free: 4.211 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.003686, allocations: 1.031 kB / 0.8812 GB, free: 4.211 MB / 0.8386 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.0003984/0.004085, allocations: 380.5 kB / 0.8815 GB, free: 3.801 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.004127, allocations: 17.03 kB / 0.8816 GB, free: 3.785 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.18e-05/0.004159, allocations: 4.938 kB / 0.8816 GB, free: 3.781 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.167e-05/0.004251, allocations: 108.6 kB / 0.8817 GB, free: 3.648 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.004264, allocations: 5.031 kB / 0.8817 GB, free: 3.645 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.815e-06/0.004272, allocations: 384 / 0.8817 GB, free: 3.645 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.004405, allocations: 63.53 kB / 0.8817 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.004413, allocations: 1.562 kB / 0.8817 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.004422, allocations: 4.375 kB / 0.8817 GB, free: 3.57 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.004427, allocations: 384 / 0.8817 GB, free: 3.57 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.576e-05/0.004453, allocations: 16.64 kB / 0.8818 GB, free: 3.555 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002762/0.004729, allocations: 244.3 kB / 0.882 GB, free: 3.289 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.588e-05/0.004795, allocations: 27.62 kB / 0.882 GB, free: 3.25 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.129e-05/0.004816, allocations: 16.84 kB / 0.882 GB, free: 3.23 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.286e-06/0.004825, allocations: 0 / 0.882 GB, free: 3.23 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/0.00485, allocations: 41.33 kB / 0.8821 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.362e-06/0.004851, allocations: 0.6562 kB / 0.8821 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001395/0.004991, allocations: 50.3 kB / 0.8821 GB, free: 3.125 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.277e-05/0.005024, allocations: 51.41 kB / 0.8822 GB, free: 3.062 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.906e-05/0.005103, allocations: 171 kB / 0.8823 GB, free: 2.879 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.005113, allocations: 25.7 kB / 0.8824 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.561e-05/0.005169, allocations: 138.8 kB / 0.8825 GB, free: 2.707 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.674e-05/0.005196, allocations: 11.41 kB / 0.8825 GB, free: 2.699 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.064e-05/0.005226, allocations: 23.38 kB / 0.8825 GB, free: 2.668 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.005367, allocations: 496.1 kB / 0.883 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.743e-05/0.005385, allocations: 0 / 0.883 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.625e-05/0.005401, allocations: 11.92 kB / 0.883 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.461e-05/0.005435, allocations: 11.69 kB / 0.883 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.005437, allocations: 0 / 0.883 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.153e-05/0.005509, allocations: 45.69 kB / 0.8831 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.005524, allocations: 6.188 kB / 0.8831 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.005529, allocations: 0.8125 kB / 0.8831 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.005539, allocations: 3.938 kB / 0.8831 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.289e-05/0.005622, allocations: 8.594 kB / 0.8831 GB, free: 2.078 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.256e-06/0.005626, allocations: 0 / 0.8831 GB, free: 2.078 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3e-05/0.005656, allocations: 13.23 kB / 0.8831 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.059e-06/0.005661, allocations: 0 / 0.8831 GB, free: 2.066 MB / 0.8386 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 7.494e-05/0.005736, allocations: 161.9 kB / 0.8832 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.945e-05/0.005755, allocations: 8.281 kB / 0.8833 GB, free: 1.891 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.602e-05/0.005781, allocations: 8 kB / 0.8833 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.005786, allocations: 7.922 kB / 0.8833 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.005787, allocations: 4 kB / 0.8833 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.005792, allocations: 3.984 kB / 0.8833 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.995e-05/0.005891, allocations: 97.27 kB / 0.8834 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.005894, allocations: 4 kB / 0.8834 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.932e-05/0.005934, allocations: 11.98 kB / 0.8834 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.005935, allocations: 0 / 0.8834 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/0.005941, allocations: 4 kB / 0.8834 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.005942, allocations: 0 / 0.8834 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.005943, allocations: 0 / 0.8834 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001294/0.006073, allocations: 191.9 kB / 0.8836 GB, free: 1.52 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.528e-06/0.006082, allocations: 19.89 kB / 0.8836 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.083e-05/0.006093, allocations: 0 / 0.8836 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.527e-05/0.006139, allocations: 7.984 kB / 0.8836 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.138e-05/0.00618, allocations: 11.94 kB / 0.8836 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-06/0.006183, allocations: 0 / 0.8836 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.376e-05/0.006227, allocations: 127.2 kB / 0.8837 GB, free: 1.355 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.006227, allocations: 0 / 0.8837 GB, free: 1.355 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000141/0.006368, allocations: 8 kB / 0.8837 GB, free: 1.348 MB / 0.8386 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.0001157/0.006484, allocations: 91.25 kB / 0.8838 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.092e-05/0.006565, allocations: 27.67 kB / 0.8839 GB, free: 1.215 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.006567, allocations: 0 / 0.8839 GB, free: 1.215 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.256e-05/0.006589, allocations: 15.62 kB / 0.8839 GB, free: 1.195 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002167/0.006806, allocations: 13.19 kB / 0.8839 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002916/0.007097, allocations: 130.3 kB / 0.884 GB, free: 1.027 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.269e-05/0.00714, allocations: 59.34 kB / 0.8841 GB, free: 0.9492 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.198e-05/0.007162, allocations: 4 kB / 0.8841 GB, free: 0.9453 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.973e-05/0.007222, allocations: 70.2 kB / 0.8841 GB, free: 0.875 MB / 0.8386 GB Notification: Performance of SimCode: time 5.41e-07/0.007222, allocations: 0 / 0.8841 GB, free: 0.875 MB / 0.8386 GB Notification: Performance of Templates: time 0.00268/0.009903, allocations: 0.8356 MB / 0.8849 GB, free: 56 kB / 0.8386 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: 6.087661111261696]