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.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.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.001455/0.001455, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001656/0.001656, allocations: 197.9 kB / 16.14 MB, free: 6.711 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.433/1.433, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.934/2.934, allocations: 461.9 MB / 0.7342 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 61.16 kB / 0.8984 GB, free: 37.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3675/0.3688, allocations: 157.4 MB / 1.052 GB, free: 8.871 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002346/0.3712, allocations: 0.8421 MB / 1.053 GB, free: 8.023 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001138/0.3724, allocations: 0.874 MB / 1.054 GB, free: 7.137 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.331e-05/0.3724, allocations: 4 kB / 1.054 GB, free: 7.133 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.28e-05/0.3725, allocations: 0 / 1.054 GB, free: 7.133 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.805e-05/0.3726, allocations: 7.922 kB / 1.054 GB, free: 7.125 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001816/0.3728, allocations: 39.95 kB / 1.054 GB, free: 7.086 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001211/0.3729, allocations: 79.69 kB / 1.054 GB, free: 7.008 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.3731, allocations: 27.92 kB / 1.054 GB, free: 6.98 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.401e-05/0.3731, allocations: 31.91 kB / 1.054 GB, free: 6.949 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001066/0.3733, allocations: 47.81 kB / 1.054 GB, free: 6.902 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.967e-05/0.3733, allocations: 8 kB / 1.054 GB, free: 6.895 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.955e-05/0.3733, allocations: 8 kB / 1.054 GB, free: 6.887 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.299e-05/0.3734, allocations: 23.84 kB / 1.054 GB, free: 6.863 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.591e-05/0.3734, allocations: 31.8 kB / 1.054 GB, free: 6.832 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001266/0.3735, allocations: 83.72 kB / 1.054 GB, free: 6.75 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3736, allocations: 0 / 1.054 GB, free: 6.75 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.91e-07/0.3736, allocations: 0 / 1.054 GB, free: 6.75 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.728e-06/0.3736, allocations: 0 / 1.054 GB, free: 6.75 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.0007444/0.3743, allocations: 387.5 kB / 1.055 GB, free: 6.324 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.3744, allocations: 12.03 kB / 1.055 GB, free: 6.312 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.487e-05/0.3744, allocations: 8.844 kB / 1.055 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002383/0.3747, allocations: 180.2 kB / 1.055 GB, free: 6.09 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.305e-05/0.3747, allocations: 12.31 kB / 1.055 GB, free: 6.078 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.944e-05/0.3747, allocations: 4.375 kB / 1.055 GB, free: 6.074 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003351/0.3751, allocations: 109.7 kB / 1.055 GB, free: 5.961 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.3751, allocations: 0 / 1.055 GB, free: 5.961 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.3751, allocations: 4 kB / 1.055 GB, free: 5.957 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.3751, allocations: 8 kB / 1.055 GB, free: 5.949 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003807/0.3755, allocations: 91.91 kB / 1.055 GB, free: 5.859 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006598/0.3762, allocations: 344.6 kB / 1.055 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006509/0.3768, allocations: 118.5 kB / 1.055 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001918/0.377, allocations: 56.81 kB / 1.055 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.705e-05/0.3771, allocations: 3.938 kB / 1.055 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/0.3771, allocations: 34.56 kB / 1.055 GB, free: 5.242 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.673e-06/0.3771, allocations: 0 / 1.055 GB, free: 5.242 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0007009/0.3778, allocations: 189.4 kB / 1.056 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.645e-05/0.3779, allocations: 51.41 kB / 1.056 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.378, allocations: 129.8 kB / 1.056 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.378, allocations: 25.7 kB / 1.056 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.142e-05/0.3781, allocations: 92.05 kB / 1.056 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.549e-05/0.3782, allocations: 23.73 kB / 1.056 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.286e-05/0.3782, allocations: 17.72 kB / 1.056 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.3784, allocations: 326.8 kB / 1.056 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001905/0.3786, allocations: 47.95 kB / 1.056 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001776/0.3788, allocations: 43.95 kB / 1.056 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003393/0.3791, allocations: 96.77 kB / 1.056 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3791, allocations: 0 / 1.056 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004236/0.3795, allocations: 141.5 kB / 1.057 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.3796, allocations: 4 kB / 1.057 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.3796, allocations: 4.547 kB / 1.057 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.3796, allocations: 3.984 kB / 1.057 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001858/0.3798, allocations: 23.97 kB / 1.057 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.3798, allocations: 0 / 1.057 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001262/0.38, allocations: 15.92 kB / 1.057 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.451e-05/0.38, allocations: 8 kB / 1.057 GB, free: 3.961 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 0.0001258/0.3801, allocations: 113.8 kB / 1.057 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.595e-05/0.3802, allocations: 7.906 kB / 1.057 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005013/0.3807, allocations: 157.8 kB / 1.057 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.3807, allocations: 8 kB / 1.057 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.3807, allocations: 0 / 1.057 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.3807, allocations: 3.938 kB / 1.057 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002504/0.381, allocations: 205.5 kB / 1.057 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.381, allocations: 0 / 1.057 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001674/0.3811, allocations: 27.97 kB / 1.057 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3812, allocations: 3.938 kB / 1.057 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/0.3812, allocations: 0 / 1.057 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.3812, allocations: 0 / 1.057 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.3812, allocations: 0 / 1.057 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005047/0.3817, allocations: 243.2 kB / 1.057 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.925e-05/0.3818, allocations: 85.02 kB / 1.057 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.55e-05/0.3818, allocations: 7.984 kB / 1.057 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001471/0.382, allocations: 11.98 kB / 1.057 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.131e-05/0.3821, allocations: 23.95 kB / 1.058 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/0.3821, allocations: 11.94 kB / 1.058 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.499e-05/0.3822, allocations: 95.27 kB / 1.058 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3822, allocations: 0 / 1.058 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002478/0.3824, allocations: 12 kB / 1.058 GB, free: 2.863 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.0001912/0.3826, allocations: 99.25 kB / 1.058 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004584/0.3831, allocations: 107.8 kB / 1.058 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3831, allocations: 0 / 1.058 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002087/0.3833, allocations: 59.95 kB / 1.058 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000396/0.3837, allocations: 11.98 kB / 1.058 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004958/0.3842, allocations: 195.9 kB / 1.058 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002856/0.3845, allocations: 0.6887 MB / 1.059 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 7.8e-05/0.3846, allocations: 15.98 kB / 1.059 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.52e-05/0.3847, allocations: 15.42 kB / 1.059 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of SimCode: time 1.733e-06/0.3847, allocations: 0 / 1.059 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of Templates: time 0.004005/0.3887, allocations: 1.36 MB / 1.06 GB, free: 276 kB / 0.8106 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/jenkins/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