Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.000994/0.000994, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009955/0.0009955, allocations: 169.3 kB / 24.28 MB, free: 276 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.03/1.03, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.832/1.832, allocations: 359 MB / 0.6055 GB, free: 10.97 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.707e-06/3.707e-06, allocations: 0 / 0.7872 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.634e-05/4.005e-05, allocations: 6.25 kB / 0.7872 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.002161/0.002201, allocations: 0.7056 MB / 0.7879 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001143/0.003344, allocations: 0.8521 MB / 0.7887 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.051e-05/0.003405, allocations: 0 / 0.7887 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 5.013e-05/0.003455, allocations: 5.188 kB / 0.7887 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001077/0.003563, allocations: 7.875 kB / 0.7887 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001161/0.003679, allocations: 15.98 kB / 0.7887 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000108/0.003787, allocations: 41.48 kB / 0.7888 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001608/0.003948, allocations: 11.98 kB / 0.7888 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001264/0.004074, allocations: 23.97 kB / 0.7888 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.659e-05/0.004131, allocations: 19.91 kB / 0.7888 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.966e-05/0.00416, allocations: 5.219 kB / 0.7888 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.668e-06/0.00417, allocations: 4 kB / 0.7888 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.441e-05/0.004194, allocations: 4 kB / 0.7888 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.745e-05/0.004232, allocations: 13.58 kB / 0.7888 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001471/0.004379, allocations: 31.84 kB / 0.7889 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.004385, allocations: 4 kB / 0.7889 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.086e-06/0.004388, allocations: 0 / 0.7889 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.746e-06/0.004397, allocations: 0 / 0.7889 GB, free: 10.98 MB / 0.7448 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.0005378/0.004935, allocations: 376 kB / 0.7892 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.312e-05/0.004988, allocations: 8.031 kB / 0.7892 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.209e-05/0.00504, allocations: 8.891 kB / 0.7892 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.00518, allocations: 120.5 kB / 0.7894 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.005199, allocations: 8.375 kB / 0.7894 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.519e-05/0.005214, allocations: 4.312 kB / 0.7894 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002052/0.005419, allocations: 66.94 kB / 0.7894 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.00543, allocations: 0.9062 kB / 0.7894 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.005445, allocations: 384 / 0.7894 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/0.005458, allocations: 2.031 kB / 0.7894 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.428e-05/0.005502, allocations: 11.92 kB / 0.7895 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004573/0.005959, allocations: 263.8 kB / 0.7897 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.746e-05/0.006057, allocations: 35 kB / 0.7897 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.438e-05/0.006091, allocations: 12.34 kB / 0.7897 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.058e-05/0.006102, allocations: 0.8125 kB / 0.7897 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.476e-05/0.006137, allocations: 41.38 kB / 0.7898 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 2.485e-06/0.006139, allocations: 1.094 kB / 0.7898 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.000238/0.006377, allocations: 49.58 kB / 0.7898 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.741e-05/0.006425, allocations: 59.33 kB / 0.7899 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.00654, allocations: 167 kB / 0.7901 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.006555, allocations: 25.7 kB / 0.7901 GB, free: 9.574 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.405e-05/0.006629, allocations: 140.2 kB / 0.7902 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.574e-05/0.006655, allocations: 3.953 kB / 0.7902 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.932e-05/0.006694, allocations: 23.38 kB / 0.7902 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.006858, allocations: 496.1 kB / 0.7907 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.593e-05/0.006884, allocations: 5.031 kB / 0.7907 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.014e-05/0.006904, allocations: 4 kB / 0.7907 GB, free: 8.895 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.699e-05/0.006951, allocations: 16.59 kB / 0.7907 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.006954, allocations: 0 / 0.7907 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.829e-05/0.007032, allocations: 53.58 kB / 0.7908 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.00705, allocations: 9.094 kB / 0.7908 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.007055, allocations: 0 / 0.7908 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.007072, allocations: 0 / 0.7908 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.948e-05/0.007172, allocations: 13.42 kB / 0.7908 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.00718, allocations: 4.062 kB / 0.7908 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.536e-05/0.007205, allocations: 4 kB / 0.7908 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.007213, allocations: 4.531 kB / 0.7908 GB, free: 8.785 MB / 0.7448 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.767e-05/0.00729, allocations: 153.1 kB / 0.791 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.963e-05/0.00731, allocations: 12.52 kB / 0.791 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.866e-05/0.007339, allocations: 7.938 kB / 0.791 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.007342, allocations: 1.172 kB / 0.791 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.007348, allocations: 0 / 0.791 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.007351, allocations: 0.8438 kB / 0.791 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001196/0.007471, allocations: 120.6 kB / 0.7911 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.007473, allocations: 4.516 kB / 0.7911 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.885e-05/0.007512, allocations: 13.36 kB / 0.7911 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.007514, allocations: 0 / 0.7911 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.007524, allocations: 4 kB / 0.7911 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.007526, allocations: 3.938 kB / 0.7911 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.007528, allocations: 5.281 kB / 0.7911 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000137/0.007665, allocations: 195.8 kB / 0.7913 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.706e-06/0.007673, allocations: 4 kB / 0.7913 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.007686, allocations: 0 / 0.7913 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.863e-05/0.007725, allocations: 16.69 kB / 0.7913 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.123e-05/0.007776, allocations: 4.922 kB / 0.7913 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.437e-06/0.007779, allocations: 0 / 0.7913 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.732e-05/0.007827, allocations: 135.2 kB / 0.7915 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.007827, allocations: 1.219 kB / 0.7915 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.00015/0.007977, allocations: 4 kB / 0.7915 GB, free: 8.055 MB / 0.7448 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.0001273/0.008104, allocations: 96.16 kB / 0.7916 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001176/0.008222, allocations: 27.61 kB / 0.7916 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.008224, allocations: 2.219 kB / 0.7916 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.49e-05/0.008249, allocations: 11.69 kB / 0.7916 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002342/0.008483, allocations: 8 kB / 0.7916 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003366/0.00882, allocations: 144.8 kB / 0.7918 GB, free: 7.734 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.055e-05/0.00886, allocations: 59.36 kB / 0.7918 GB, free: 7.656 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.383e-05/0.008884, allocations: 0 / 0.7918 GB, free: 7.656 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.38e-05/0.008918, allocations: 8.5 kB / 0.7918 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of SimCode: time 1.312e-06/0.008919, allocations: 0 / 0.7918 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of Templates: time 0.002874/0.01179, allocations: 0.7445 MB / 0.7925 GB, free: 6.934 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Divide_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.216042033163831]