Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005117/0.005117, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001201/0.001201, allocations: 195.8 kB / 16.79 MB, free: 5.809 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.395/1.395, allocations: 222.9 MB / 240.5 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.898/2.898, allocations: 461.9 MB / 0.7348 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 64.83 kB / 0.899 GB, free: 37.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3406/0.342, allocations: 157.4 MB / 1.053 GB, free: 8.281 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002389/0.3445, allocations: 0.8381 MB / 1.054 GB, free: 7.438 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001105/0.3456, allocations: 0.8701 MB / 1.054 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.728e-05/0.3457, allocations: 0 / 1.054 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.71e-05/0.3457, allocations: 7.938 kB / 1.054 GB, free: 6.547 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001033/0.3459, allocations: 7.922 kB / 1.054 GB, free: 6.539 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001932/0.3461, allocations: 35.95 kB / 1.054 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001284/0.3462, allocations: 79.69 kB / 1.055 GB, free: 6.426 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.3464, allocations: 31.97 kB / 1.055 GB, free: 6.395 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.481e-05/0.3465, allocations: 27.91 kB / 1.055 GB, free: 6.367 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.3466, allocations: 43.83 kB / 1.055 GB, free: 6.324 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.146e-05/0.3466, allocations: 7.984 kB / 1.055 GB, free: 6.316 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.017e-05/0.3466, allocations: 8 kB / 1.055 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.063e-05/0.3467, allocations: 11.92 kB / 1.055 GB, free: 6.297 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.229e-05/0.3468, allocations: 39.8 kB / 1.055 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001446/0.3469, allocations: 67.8 kB / 1.055 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.3469, allocations: 0 / 1.055 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3469, allocations: 0 / 1.055 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.325e-06/0.3469, allocations: 0 / 1.055 GB, free: 6.191 MB / 0.8106 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.0007936/0.3477, allocations: 387.5 kB / 1.055 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.3478, allocations: 15.97 kB / 1.055 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.804e-05/0.3479, allocations: 8.844 kB / 1.055 GB, free: 5.742 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001886/0.3481, allocations: 180.2 kB / 1.055 GB, free: 5.527 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.3481, allocations: 8.375 kB / 1.055 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.081e-05/0.3481, allocations: 8.359 kB / 1.055 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003412/0.3485, allocations: 105.7 kB / 1.055 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.3485, allocations: 0 / 1.055 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.957e-05/0.3485, allocations: 4 kB / 1.055 GB, free: 5.398 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.303e-06/0.3485, allocations: 7.938 kB / 1.055 GB, free: 5.391 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003719/0.3489, allocations: 95.91 kB / 1.056 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005855/0.3495, allocations: 340.6 kB / 1.056 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006526/0.3502, allocations: 122.5 kB / 1.056 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001849/0.3503, allocations: 56.81 kB / 1.056 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.415e-05/0.3504, allocations: 0 / 1.056 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.3504, allocations: 30.56 kB / 1.056 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 2.234e-06/0.3504, allocations: 4 kB / 1.056 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0006884/0.3511, allocations: 197.3 kB / 1.056 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/0.3512, allocations: 51.41 kB / 1.056 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.3513, allocations: 125.8 kB / 1.056 GB, free: 4.289 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.3513, allocations: 37.64 kB / 1.056 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.149e-05/0.3514, allocations: 88.05 kB / 1.057 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.488e-05/0.3514, allocations: 23.73 kB / 1.057 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.175e-05/0.3515, allocations: 21.72 kB / 1.057 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.3516, allocations: 322.8 kB / 1.057 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001826/0.3518, allocations: 43.95 kB / 1.057 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001722/0.352, allocations: 47.95 kB / 1.057 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003477/0.3523, allocations: 100.8 kB / 1.057 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3523, allocations: 0 / 1.057 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004119/0.3527, allocations: 141.4 kB / 1.057 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.3528, allocations: 8 kB / 1.057 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.3528, allocations: 0 / 1.057 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.3528, allocations: 0 / 1.057 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001752/0.353, allocations: 23.97 kB / 1.057 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.353, allocations: 3.984 kB / 1.057 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001235/0.3531, allocations: 19.92 kB / 1.057 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.3531, allocations: 0 / 1.057 GB, free: 3.391 MB / 0.8106 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,max1.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 9.871e-05/0.3532, allocations: 117.8 kB / 1.057 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.431e-05/0.3533, allocations: 7.906 kB / 1.057 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004713/0.3538, allocations: 153.9 kB / 1.058 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.3538, allocations: 0 / 1.058 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.3538, allocations: 0 / 1.058 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.3538, allocations: 7.938 kB / 1.058 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002184/0.354, allocations: 205.5 kB / 1.058 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.354, allocations: 0 / 1.058 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001615/0.3542, allocations: 23.97 kB / 1.058 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.3542, allocations: 3.938 kB / 1.058 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.3542, allocations: 0 / 1.058 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.3542, allocations: 0 / 1.058 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3542, allocations: 0 / 1.058 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004561/0.3547, allocations: 243.2 kB / 1.058 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.466e-05/0.3548, allocations: 89.02 kB / 1.058 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.144e-05/0.3548, allocations: 0 / 1.058 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001576/0.3549, allocations: 15.97 kB / 1.058 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.696e-05/0.355, allocations: 23.97 kB / 1.058 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.3551, allocations: 3.938 kB / 1.058 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.654e-05/0.3551, allocations: 99.27 kB / 1.058 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3551, allocations: 0 / 1.058 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002423/0.3554, allocations: 12 kB / 1.058 GB, free: 2.305 MB / 0.8106 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 (max1.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.0001411/0.3555, allocations: 99.25 kB / 1.058 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004204/0.3559, allocations: 100.6 kB / 1.058 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.356, allocations: 11.94 kB / 1.058 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001983/0.3562, allocations: 59.89 kB / 1.059 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003541/0.3565, allocations: 8 kB / 1.059 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004855/0.357, allocations: 217.9 kB / 1.059 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002591/0.3573, allocations: 0.6943 MB / 1.059 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.285e-05/0.3574, allocations: 19.42 kB / 1.059 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of SimCode: time 5.31e-07/0.3574, allocations: 0 / 1.059 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of Templates: time 0.002821/0.3602, allocations: 1.232 MB / 1.061 GB, free: 15.81 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches