Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001326/0.001326, allocations: 107.6 kB / 16.41 MB, free: 6.492 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.001431/0.001431, allocations: 192.1 kB / 17.34 MB, free: 5.762 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.268/1.268, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.409/2.409, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 63.91 kB / 1.055 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.748/0.7493, allocations: 157.4 MB / 1.208 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.00201/0.7514, allocations: 0.7731 MB / 1.209 GB, free: 13 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001078/0.7525, allocations: 0.8663 MB / 1.21 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.422e-05/0.7526, allocations: 0 / 1.21 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.009e-05/0.7527, allocations: 7.875 kB / 1.21 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.096e-05/0.7527, allocations: 11.91 kB / 1.21 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001839/0.7529, allocations: 39.91 kB / 1.21 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001204/0.7531, allocations: 87.8 kB / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.7532, allocations: 28 kB / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.492e-05/0.7533, allocations: 39.78 kB / 1.21 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 9.002e-05/0.7534, allocations: 47.81 kB / 1.21 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.912e-05/0.7534, allocations: 8 kB / 1.21 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.718e-05/0.7535, allocations: 8 kB / 1.21 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.862e-05/0.7535, allocations: 27.92 kB / 1.21 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.354e-05/0.7535, allocations: 39.83 kB / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000134/0.7537, allocations: 83.67 kB / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.7537, allocations: 0 / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.064e-06/0.7537, allocations: 0 / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.7537, allocations: 0 / 1.21 GB, free: 11.7 MB / 0.9356 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.0006184/0.7543, allocations: 389.1 kB / 1.211 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.7544, allocations: 8.031 kB / 1.211 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.969e-05/0.7544, allocations: 16.84 kB / 1.211 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.7546, allocations: 180.2 kB / 1.211 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.7546, allocations: 8.375 kB / 1.211 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.635e-05/0.7546, allocations: 4.375 kB / 1.211 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003064/0.7549, allocations: 105.5 kB / 1.211 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.7549, allocations: 0 / 1.211 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.657e-05/0.755, allocations: 4 kB / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.755, allocations: 3.984 kB / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003574/0.7553, allocations: 103.8 kB / 1.211 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005227/0.7559, allocations: 344.6 kB / 1.212 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006074/0.7565, allocations: 122.5 kB / 1.212 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001847/0.7567, allocations: 52.81 kB / 1.212 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.699e-05/0.7567, allocations: 3.984 kB / 1.212 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.7568, allocations: 38.5 kB / 1.212 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.7568, allocations: 3.938 kB / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0006595/0.7574, allocations: 181.5 kB / 1.212 GB, free: 10 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.417e-05/0.7575, allocations: 51.41 kB / 1.212 GB, free: 9.938 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.7576, allocations: 125.8 kB / 1.212 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.7576, allocations: 33.64 kB / 1.212 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.005e-05/0.7577, allocations: 96 kB / 1.212 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.631e-05/0.7577, allocations: 23.73 kB / 1.212 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.802e-05/0.7577, allocations: 29.69 kB / 1.212 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.549e-05/0.7578, allocations: 314.8 kB / 1.213 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000179/0.758, allocations: 43.95 kB / 1.213 GB, free: 9.25 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001693/0.7582, allocations: 47.95 kB / 1.213 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003364/0.7585, allocations: 96.77 kB / 1.213 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.7586, allocations: 0 / 1.213 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003978/0.759, allocations: 137.5 kB / 1.213 GB, free: 8.965 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.759, allocations: 4 kB / 1.213 GB, free: 8.961 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.759, allocations: 0 / 1.213 GB, free: 8.961 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.759, allocations: 4 kB / 1.213 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/0.7592, allocations: 27.91 kB / 1.213 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-06/0.7592, allocations: 0 / 1.213 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.7593, allocations: 19.92 kB / 1.213 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.938e-06/0.7593, allocations: 4 kB / 1.213 GB, free: 8.906 MB / 0.9356 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 8.204e-05/0.7594, allocations: 117.8 kB / 1.213 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.14e-05/0.7595, allocations: 3.906 kB / 1.213 GB, free: 8.777 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004967/0.76, allocations: 154.5 kB / 1.213 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.76, allocations: 3.938 kB / 1.213 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.76, allocations: 0 / 1.213 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.76, allocations: 3.938 kB / 1.213 GB, free: 8.609 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001919/0.7602, allocations: 201.5 kB / 1.213 GB, free: 8.363 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.7602, allocations: 0 / 1.213 GB, free: 8.363 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001546/0.7604, allocations: 31.91 kB / 1.213 GB, free: 8.332 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.7604, allocations: 0 / 1.213 GB, free: 8.332 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.632e-05/0.7604, allocations: 8 kB / 1.213 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.7604, allocations: 4 kB / 1.213 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.7604, allocations: 0 / 1.213 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004402/0.7608, allocations: 235.5 kB / 1.214 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.179e-05/0.7609, allocations: 85 kB / 1.214 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.233e-05/0.7609, allocations: 4 kB / 1.214 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001451/0.7611, allocations: 11.98 kB / 1.214 GB, free: 7.957 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.01e-05/0.7612, allocations: 31.84 kB / 1.214 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.7612, allocations: 4 kB / 1.214 GB, free: 7.922 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.769e-05/0.7612, allocations: 91.7 kB / 1.214 GB, free: 7.832 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7612, allocations: 3.938 kB / 1.214 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002318/0.7615, allocations: 23.94 kB / 1.214 GB, free: 7.805 MB / 0.9356 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.0001166/0.7616, allocations: 95.25 kB / 1.214 GB, free: 7.703 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004162/0.762, allocations: 107.9 kB / 1.214 GB, free: 7.598 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.762, allocations: 0 / 1.214 GB, free: 7.598 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001949/0.7622, allocations: 63.89 kB / 1.214 GB, free: 7.535 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000309/0.7625, allocations: 10.52 kB / 1.214 GB, free: 7.527 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004192/0.763, allocations: 207.8 kB / 1.214 GB, free: 7.289 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002807/0.7633, allocations: 0.6885 MB / 1.215 GB, free: 6.574 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.605e-05/0.7633, allocations: 19.42 kB / 1.215 GB, free: 6.555 MB / 0.9356 GB Notification: Performance of SimCode: time 2.41e-07/0.7633, allocations: 4 kB / 1.215 GB, free: 6.551 MB / 0.9356 GB Notification: Performance of Templates: time 0.002664/0.766, allocations: 1.228 MB / 1.216 GB, free: 5.328 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches