Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.Integers.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009859/0.0009859, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 181.7 kB / 16.92 MB, free: 6.922 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.456/1.456, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.372/2.372, allocations: 390.9 MB / 0.667 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000486/0.0004859, allocations: 12.19 kB / 0.8166 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7745/0.7751, allocations: 142.4 MB / 0.9557 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.0008771/0.776, allocations: 498.4 kB / 0.9562 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008292/0.7768, allocations: 0.8603 MB / 0.957 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.542e-05/0.7769, allocations: 4.906 kB / 0.957 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.915e-05/0.7769, allocations: 4.875 kB / 0.957 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.518e-05/0.777, allocations: 8.891 kB / 0.9571 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001551/0.7772, allocations: 35.56 kB / 0.9571 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001012/0.7773, allocations: 82.02 kB / 0.9572 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.7774, allocations: 21.36 kB / 0.9572 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.604e-05/0.7775, allocations: 31.75 kB / 0.9572 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.707e-05/0.7776, allocations: 44.64 kB / 0.9573 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.373e-05/0.7776, allocations: 3.969 kB / 0.9573 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.406e-05/0.7776, allocations: 3.438 kB / 0.9573 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.43e-05/0.7777, allocations: 17.81 kB / 0.9573 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.376e-05/0.7777, allocations: 59.45 kB / 0.9573 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.945e-05/0.7778, allocations: 51.88 kB / 0.9574 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.7778, allocations: 1.406 kB / 0.9574 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.744e-06/0.7778, allocations: 0 / 0.9574 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.7778, allocations: 0 / 0.9574 GB, free: 6.438 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005331/0.7784, allocations: 393 kB / 0.9578 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.7784, allocations: 9.281 kB / 0.9578 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.375e-05/0.7785, allocations: 8.469 kB / 0.9578 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.7786, allocations: 177.8 kB / 0.958 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.7786, allocations: 2.688 kB / 0.958 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.095e-05/0.7786, allocations: 11.84 kB / 0.958 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003103/0.7789, allocations: 122.4 kB / 0.9581 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.779, allocations: 1 kB / 0.9581 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.779, allocations: 3.984 kB / 0.9581 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.779, allocations: 1.406 kB / 0.9581 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004028/0.7794, allocations: 127.9 kB / 0.9582 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004579/0.7799, allocations: 342.5 kB / 0.9585 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006116/0.7805, allocations: 136.1 kB / 0.9587 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002019/0.7807, allocations: 65.62 kB / 0.9587 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.474e-05/0.7807, allocations: 7.984 kB / 0.9587 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.42e-05/0.7807, allocations: 31.66 kB / 0.9588 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.7808, allocations: 1.156 kB / 0.9588 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0007033/0.7815, allocations: 216.9 kB / 0.959 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/0.7815, allocations: 56.78 kB / 0.959 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.106e-05/0.7816, allocations: 120.9 kB / 0.9591 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.7816, allocations: 26.89 kB / 0.9592 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.917e-05/0.7817, allocations: 103.5 kB / 0.9593 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.254e-05/0.7817, allocations: 14.53 kB / 0.9593 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.697e-05/0.7817, allocations: 15.62 kB / 0.9593 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.962e-05/0.7818, allocations: 324.9 kB / 0.9596 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001977/0.782, allocations: 57.61 kB / 0.9597 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001827/0.7822, allocations: 55.17 kB / 0.9597 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003698/0.7825, allocations: 129.3 kB / 0.9598 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.7825, allocations: 0 / 0.9598 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004238/0.783, allocations: 160.8 kB / 0.96 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.783, allocations: 4.125 kB / 0.96 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.783, allocations: 1.375 kB / 0.96 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.783, allocations: 3.984 kB / 0.96 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001749/0.7832, allocations: 32.59 kB / 0.96 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.7832, allocations: 1.375 kB / 0.96 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001246/0.7834, allocations: 28.23 kB / 0.9601 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.327e-06/0.7834, allocations: 1.375 kB / 0.9601 GB, free: 4.18 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,min1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.019e-05/0.7834, allocations: 114 kB / 0.9602 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.059e-05/0.7835, allocations: 6.656 kB / 0.9602 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004844/0.784, allocations: 174.9 kB / 0.9603 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.784, allocations: 1.375 kB / 0.9603 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.784, allocations: 4 kB / 0.9604 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.784, allocations: 9.297 kB / 0.9604 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001733/0.7842, allocations: 199.1 kB / 0.9606 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.7842, allocations: 0 / 0.9606 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001633/0.7844, allocations: 33.16 kB / 0.9606 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.7844, allocations: 1.125 kB / 0.9606 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.7844, allocations: 5.156 kB / 0.9606 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.7844, allocations: 0 / 0.9606 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.7844, allocations: 5.125 kB / 0.9606 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004575/0.7849, allocations: 263 kB / 0.9608 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.186e-05/0.7849, allocations: 82.23 kB / 0.9609 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.017e-05/0.7849, allocations: 13.14 kB / 0.9609 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001484/0.7851, allocations: 15.8 kB / 0.961 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.596e-05/0.7851, allocations: 18.94 kB / 0.961 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.148e-06/0.7852, allocations: 10.56 kB / 0.961 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.877e-05/0.7852, allocations: 97.45 kB / 0.9611 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7852, allocations: 0 / 0.9611 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002304/0.7854, allocations: 15.41 kB / 0.9611 GB, free: 3.281 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (min1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001022/0.7856, allocations: 100.5 kB / 0.9612 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004509/0.786, allocations: 129.5 kB / 0.9613 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.786, allocations: 0 / 0.9613 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002144/0.7862, allocations: 74.34 kB / 0.9614 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000298/0.7865, allocations: 6.031 kB / 0.9614 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004318/0.787, allocations: 229 kB / 0.9616 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001234/0.7871, allocations: 0.6906 MB / 0.9623 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.604e-05/0.7872, allocations: 16.92 kB / 0.9623 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of SimCode: time 3.4e-07/0.7872, allocations: 0 / 0.9623 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of Templates: time 0.002837/0.79, allocations: 1.226 MB / 0.9635 GB, free: 1.555 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches