Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001687/0.001687, allocations: 102.2 kB / 15.98 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002013/0.002013, allocations: 196.8 kB / 16.91 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 222.9 MB / 240.6 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.611/2.611, allocations: 437 MB / 0.7107 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 71.91 kB / 0.8694 GB, free: 5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6563/0.6576, allocations: 151.6 MB / 1.017 GB, free: 2.746 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.001984/0.6597, allocations: 0.7552 MB / 1.018 GB, free: 1.988 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009398/0.6606, allocations: 0.8118 MB / 1.019 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.367e-05/0.6607, allocations: 0 / 1.019 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.454e-05/0.6607, allocations: 3.938 kB / 1.019 GB, free: 1.16 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.83e-05/0.6608, allocations: 3.938 kB / 1.019 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000103/0.6609, allocations: 11.98 kB / 1.019 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.519e-05/0.661, allocations: 43.86 kB / 1.019 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.6611, allocations: 7.984 kB / 1.019 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.77e-05/0.6612, allocations: 23.98 kB / 1.019 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.533e-05/0.6612, allocations: 19.91 kB / 1.019 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.745e-05/0.6613, allocations: 4 kB / 1.019 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.558e-05/0.6613, allocations: 4 kB / 1.019 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.861e-05/0.6613, allocations: 7.938 kB / 1.019 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.825e-05/0.6614, allocations: 23.86 kB / 1.019 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.136e-05/0.6614, allocations: 27.95 kB / 1.019 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.6614, allocations: 0 / 1.019 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.293e-06/0.6614, allocations: 0 / 1.019 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 8.195e-06/0.6615, allocations: 0 / 1.019 GB, free: 0.9844 MB / 0.7637 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.0005459/0.662, allocations: 369.2 kB / 1.02 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.6621, allocations: 11.97 kB / 1.02 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.795e-05/0.6621, allocations: 8.938 kB / 1.02 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.6622, allocations: 172.2 kB / 1.02 GB, free: 356 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.6622, allocations: 4.375 kB / 1.02 GB, free: 352 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.888e-06/0.6623, allocations: 384 / 1.02 GB, free: 352 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002531/0.6625, allocations: 78.19 kB / 1.02 GB, free: 268 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.6625, allocations: 192 / 1.02 GB, free: 268 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.6625, allocations: 3.938 kB / 1.02 GB, free: 264 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.6626, allocations: 4 kB / 1.02 GB, free: 260 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002792/0.6628, allocations: 63.92 kB / 1.02 GB, free: 196 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003578/0.6632, allocations: 268.9 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001987/0.6634, allocations: 54.48 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001559/0.6636, allocations: 36.91 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.846e-05/0.6636, allocations: 0 / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.6636, allocations: 42.56 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 8.61e-07/0.6636, allocations: 0 / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005294/0.6642, allocations: 129.4 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.166e-05/0.6642, allocations: 55.39 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.746e-05/0.6643, allocations: 109.8 kB / 1.021 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.6643, allocations: 29.7 kB / 1.021 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.199e-05/0.6644, allocations: 84.14 kB / 1.021 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.895e-05/0.6644, allocations: 7.844 kB / 1.021 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.7e-05/0.6644, allocations: 17.72 kB / 1.021 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.6645, allocations: 314.8 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001435/0.6647, allocations: 31.97 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001371/0.6648, allocations: 35.95 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002612/0.6651, allocations: 64.8 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.6651, allocations: 3.938 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003105/0.6654, allocations: 109.5 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.6655, allocations: 4 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.6655, allocations: 0 / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.6655, allocations: 0 / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/0.6656, allocations: 15.98 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.6656, allocations: 0 / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.027e-05/0.6657, allocations: 19.98 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.6657, allocations: 0 / 1.021 GB, free: 14.65 MB / 0.7794 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.684e-05/0.6658, allocations: 129.6 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.321e-05/0.6659, allocations: 0 / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003588/0.6662, allocations: 109.5 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.6662, allocations: 0 / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.6662, allocations: 0 / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.6662, allocations: 384 / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001639/0.6664, allocations: 177.5 kB / 1.022 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.6664, allocations: 0 / 1.022 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.741e-05/0.6665, allocations: 19.97 kB / 1.022 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.6665, allocations: 0 / 1.022 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.283e-06/0.6665, allocations: 0 / 1.022 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.083e-06/0.6666, allocations: 0 / 1.022 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.6666, allocations: 3.984 kB / 1.022 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003461/0.6669, allocations: 199.4 kB / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.48e-05/0.667, allocations: 77.11 kB / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/0.667, allocations: 3.984 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.6671, allocations: 15.92 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.799e-05/0.6671, allocations: 0 / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.6671, allocations: 4 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.046e-05/0.6672, allocations: 91.27 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.81e-07/0.6672, allocations: 0 / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002246/0.6674, allocations: 8 kB / 1.022 GB, free: 13.73 MB / 0.7794 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.0001428/0.6676, allocations: 103.2 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003377/0.6679, allocations: 67.92 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.6679, allocations: 4 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001473/0.6681, allocations: 39.89 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000327/0.6684, allocations: 11.88 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003429/0.6688, allocations: 167.2 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002549/0.669, allocations: 0.6846 MB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.725e-05/0.6691, allocations: 7.438 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of SimCode: time 4.91e-07/0.6691, allocations: 0 / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of Templates: time 0.001996/0.6711, allocations: 0.7486 MB / 1.024 GB, free: 11.84 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches