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.000919/0.000919, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.0009467/0.0009467, allocations: 169 kB / 23.27 MB, free: 1.223 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.9802/0.9802, allocations: 177.2 MB / 203.7 MB, free: 5.523 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.397/2.397, allocations: 438.1 MB / 0.682 GB, free: 14.16 MB / 0.6511 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 1.843e-06/1.843e-06, allocations: 0 / 0.8898 GB, free: 9.676 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.086e-05/2.27e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.672 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Divide): time 0.001783/0.001806, allocations: 0.729 MB / 0.8905 GB, free: 8.945 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001116/0.002922, allocations: 0.8431 MB / 0.8913 GB, free: 8.09 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.947e-05/0.002972, allocations: 0 / 0.8913 GB, free: 8.09 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.949e-05/0.003001, allocations: 0 / 0.8913 GB, free: 8.09 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 8.115e-05/0.003082, allocations: 15.86 kB / 0.8914 GB, free: 8.074 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 6.838e-05/0.003151, allocations: 11.98 kB / 0.8914 GB, free: 8.062 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 7.785e-05/0.003228, allocations: 39.91 kB / 0.8914 GB, free: 8.023 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.003331, allocations: 15.94 kB / 0.8914 GB, free: 8.008 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 9.595e-05/0.003427, allocations: 23.97 kB / 0.8915 GB, free: 7.984 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 3.993e-05/0.003467, allocations: 11.98 kB / 0.8915 GB, free: 7.973 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.752e-05/0.003485, allocations: 4 kB / 0.8915 GB, free: 7.969 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 8.536e-06/0.003493, allocations: 4 kB / 0.8915 GB, free: 7.965 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.126e-05/0.003515, allocations: 11.92 kB / 0.8915 GB, free: 7.953 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.628e-05/0.003541, allocations: 11.98 kB / 0.8915 GB, free: 7.941 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 8.64e-05/0.003627, allocations: 35.78 kB / 0.8915 GB, free: 7.906 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.003629, allocations: 4 kB / 0.8915 GB, free: 7.902 MB / 0.8542 GB Notification: Performance of FrontEnd: time 5.61e-07/0.00363, allocations: 0 / 0.8915 GB, free: 7.902 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.003634, allocations: 0 / 0.8915 GB, free: 7.902 MB / 0.8542 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.0004163/0.00405, allocations: 384.5 kB / 0.8919 GB, free: 7.488 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.0041, allocations: 8.625 kB / 0.8919 GB, free: 7.48 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.227e-05/0.004132, allocations: 8.891 kB / 0.8919 GB, free: 7.473 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.532e-05/0.004228, allocations: 108.6 kB / 0.892 GB, free: 7.34 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.004239, allocations: 384 / 0.892 GB, free: 7.34 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.005e-06/0.004247, allocations: 384 / 0.892 GB, free: 7.34 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.004391, allocations: 66.94 kB / 0.8921 GB, free: 7.266 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.138e-06/0.0044, allocations: 4.172 kB / 0.8921 GB, free: 7.262 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.785e-06/0.004408, allocations: 4.359 kB / 0.8921 GB, free: 7.258 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.004414, allocations: 4.375 kB / 0.8921 GB, free: 7.254 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.736e-05/0.004441, allocations: 11.88 kB / 0.8921 GB, free: 7.242 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002874/0.004729, allocations: 248.3 kB / 0.8923 GB, free: 6.973 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 6.719e-05/0.004796, allocations: 31.06 kB / 0.8924 GB, free: 6.93 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.358e-05/0.004819, allocations: 11.75 kB / 0.8924 GB, free: 6.914 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.066e-05/0.00483, allocations: 4.094 kB / 0.8924 GB, free: 6.91 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/0.00486, allocations: 41.31 kB / 0.8924 GB, free: 6.859 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.004861, allocations: 0 / 0.8924 GB, free: 6.859 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3): time 0.0001478/0.005009, allocations: 41.64 kB / 0.8925 GB, free: 6.812 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.094e-05/0.00504, allocations: 51.41 kB / 0.8925 GB, free: 6.75 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.109e-05/0.005131, allocations: 173.9 kB / 0.8927 GB, free: 6.562 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.005146, allocations: 29.69 kB / 0.8927 GB, free: 6.527 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.127e-05/0.005207, allocations: 134.9 kB / 0.8928 GB, free: 6.391 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.064e-05/0.005227, allocations: 7.906 kB / 0.8928 GB, free: 6.383 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.8e-05/0.005265, allocations: 27.31 kB / 0.8929 GB, free: 6.348 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.005415, allocations: 0.4884 MB / 0.8934 GB, free: 5.848 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.659e-05/0.005432, allocations: 4 kB / 0.8934 GB, free: 5.844 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.231e-05/0.005444, allocations: 0 / 0.8934 GB, free: 5.844 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.619e-05/0.00548, allocations: 19.62 kB / 0.8934 GB, free: 5.82 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.005482, allocations: 0 / 0.8934 GB, free: 5.82 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.148e-05/0.005563, allocations: 45.69 kB / 0.8934 GB, free: 5.77 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.005577, allocations: 4 kB / 0.8934 GB, free: 5.766 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.005583, allocations: 4 kB / 0.8934 GB, free: 5.762 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.005603, allocations: 3.938 kB / 0.8934 GB, free: 5.758 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.338e-05/0.005686, allocations: 11.98 kB / 0.8934 GB, free: 5.746 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.856e-06/0.005689, allocations: 0 / 0.8934 GB, free: 5.746 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.134e-05/0.00572, allocations: 4 kB / 0.8934 GB, free: 5.742 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.005726, allocations: 0 / 0.8934 GB, free: 5.742 MB / 0.8542 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.877e-05/0.005805, allocations: 152.6 kB / 0.8936 GB, free: 5.582 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.441e-05/0.005829, allocations: 11.89 kB / 0.8936 GB, free: 5.57 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.139e-05/0.00586, allocations: 15.98 kB / 0.8936 GB, free: 5.547 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.005865, allocations: 7.938 kB / 0.8936 GB, free: 5.539 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.724e-06/0.005867, allocations: 0 / 0.8936 GB, free: 5.539 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.005871, allocations: 4 kB / 0.8936 GB, free: 5.535 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001331/0.006004, allocations: 97.25 kB / 0.8937 GB, free: 5.414 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.006006, allocations: 0 / 0.8937 GB, free: 5.414 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.405e-05/0.00605, allocations: 12 kB / 0.8937 GB, free: 5.402 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.006051, allocations: 0 / 0.8937 GB, free: 5.402 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.081e-06/0.006057, allocations: 4 kB / 0.8937 GB, free: 5.398 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.006059, allocations: 0 / 0.8937 GB, free: 5.398 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.00606, allocations: 4 kB / 0.8937 GB, free: 5.395 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001383/0.006198, allocations: 196.2 kB / 0.8939 GB, free: 5.184 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.937e-06/0.006207, allocations: 7.953 kB / 0.8939 GB, free: 5.176 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.15e-05/0.006219, allocations: 3.984 kB / 0.8939 GB, free: 5.172 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.306e-05/0.006282, allocations: 12 kB / 0.8939 GB, free: 5.16 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.836e-05/0.00632, allocations: 11.86 kB / 0.894 GB, free: 5.148 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-06/0.006324, allocations: 0 / 0.894 GB, free: 5.148 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.755e-05/0.006371, allocations: 123.2 kB / 0.8941 GB, free: 5.027 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.006371, allocations: 0 / 0.8941 GB, free: 5.027 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002246/0.006596, allocations: 8 kB / 0.8941 GB, free: 5.02 MB / 0.8542 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 9.336e-05/0.006689, allocations: 107.2 kB / 0.8942 GB, free: 4.906 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.017e-05/0.006769, allocations: 15.69 kB / 0.8942 GB, free: 4.887 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.193e-06/0.00677, allocations: 0 / 0.8942 GB, free: 4.887 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.634e-05/0.006797, allocations: 15.69 kB / 0.8942 GB, free: 4.867 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002569/0.007054, allocations: 7.984 kB / 0.8942 GB, free: 4.859 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002959/0.007349, allocations: 134.2 kB / 0.8944 GB, free: 4.699 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.415e-05/0.007394, allocations: 63.34 kB / 0.8944 GB, free: 4.617 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.566e-05/0.007419, allocations: 0 / 0.8944 GB, free: 4.617 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.589e-05/0.007485, allocations: 70.2 kB / 0.8945 GB, free: 4.547 MB / 0.8542 GB Notification: Performance of SimCode: time 6.92e-07/0.007486, allocations: 4 kB / 0.8945 GB, free: 4.543 MB / 0.8542 GB Notification: Performance of Templates: time 0.002858/0.01034, allocations: 0.8085 MB / 0.8953 GB, free: 3.746 MB / 0.8542 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: 5.127895493991673]