Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001175/0.001175, allocations: 110.4 kB / 15.99 MB, free: 6.359 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.001189/0.001189, allocations: 191.2 kB / 16.91 MB, free: 6.195 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.333/1.333, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.563/2.563, allocations: 469.8 MB / 0.7427 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 67.2 kB / 0.9087 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3074/0.3094, allocations: 159.1 MB / 1.064 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002362/0.3118, allocations: 0.8265 MB / 1.065 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001171/0.313, allocations: 0.878 MB / 1.066 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.9e-05/0.3131, allocations: 0 / 1.066 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.586e-05/0.3132, allocations: 3.938 kB / 1.066 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.965e-05/0.3133, allocations: 3.938 kB / 1.066 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001806/0.3134, allocations: 35.95 kB / 1.066 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001306/0.3136, allocations: 83.83 kB / 1.066 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.3137, allocations: 35.91 kB / 1.066 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 9.358e-05/0.3138, allocations: 35.91 kB / 1.066 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 8.81e-05/0.3139, allocations: 43.83 kB / 1.066 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.823e-05/0.3139, allocations: 11.98 kB / 1.066 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.808e-05/0.314, allocations: 8 kB / 1.066 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.133e-05/0.314, allocations: 19.92 kB / 1.066 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.448e-05/0.3141, allocations: 35.8 kB / 1.066 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001345/0.3142, allocations: 63.86 kB / 1.066 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3142, allocations: 0 / 1.066 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.923e-06/0.3142, allocations: 0 / 1.066 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.551e-06/0.3142, allocations: 4 kB / 1.066 GB, free: 12.98 MB / 0.8419 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.000713/0.315, allocations: 399.4 kB / 1.067 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.315, allocations: 8.031 kB / 1.067 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.87e-05/0.3151, allocations: 8.844 kB / 1.067 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001657/0.3152, allocations: 172.2 kB / 1.067 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/0.3153, allocations: 8.359 kB / 1.067 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.057e-05/0.3153, allocations: 8.375 kB / 1.067 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003182/0.3156, allocations: 113.7 kB / 1.067 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.3156, allocations: 0 / 1.067 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.3156, allocations: 0 / 1.067 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.3157, allocations: 0 / 1.067 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003735/0.316, allocations: 99.84 kB / 1.067 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005812/0.3166, allocations: 344.6 kB / 1.067 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006508/0.3173, allocations: 122.5 kB / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000191/0.3175, allocations: 60.81 kB / 1.067 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.734e-05/0.3175, allocations: 0 / 1.067 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.3176, allocations: 30.56 kB / 1.067 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=7): time 9.31e-07/0.3176, allocations: 0 / 1.067 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7): time 0.000677/0.3182, allocations: 189.4 kB / 1.068 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.3183, allocations: 55.34 kB / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.3184, allocations: 121.8 kB / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.3184, allocations: 25.7 kB / 1.068 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.056e-05/0.3185, allocations: 100 kB / 1.068 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.73e-05/0.3186, allocations: 15.75 kB / 1.068 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.041e-05/0.3186, allocations: 29.7 kB / 1.068 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.3188, allocations: 326.7 kB / 1.068 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001784/0.3189, allocations: 43.95 kB / 1.068 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001677/0.3191, allocations: 47.95 kB / 1.068 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003393/0.3195, allocations: 96.78 kB / 1.068 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.3195, allocations: 0 / 1.068 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004088/0.3199, allocations: 141.5 kB / 1.069 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.3199, allocations: 4 kB / 1.069 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.3199, allocations: 3.938 kB / 1.069 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.3199, allocations: 4 kB / 1.069 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001717/0.3201, allocations: 27.97 kB / 1.069 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.3201, allocations: 0 / 1.069 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001247/0.3203, allocations: 23.91 kB / 1.069 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.3203, allocations: 0 / 1.069 GB, free: 10.18 MB / 0.8419 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 0.0001013/0.3204, allocations: 113.8 kB / 1.069 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.19e-05/0.3204, allocations: 7.906 kB / 1.069 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004629/0.3209, allocations: 153.9 kB / 1.069 GB, free: 9.895 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.3209, allocations: 0 / 1.069 GB, free: 9.895 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.3209, allocations: 4 kB / 1.069 GB, free: 9.891 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.3209, allocations: 3.938 kB / 1.069 GB, free: 9.887 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000229/0.3212, allocations: 193.6 kB / 1.069 GB, free: 9.648 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.3212, allocations: 3.984 kB / 1.069 GB, free: 9.645 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001591/0.3213, allocations: 27.97 kB / 1.069 GB, free: 9.617 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.9e-06/0.3213, allocations: 4 kB / 1.069 GB, free: 9.613 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.3214, allocations: 0 / 1.069 GB, free: 9.613 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.3214, allocations: 0 / 1.069 GB, free: 9.613 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3214, allocations: 0 / 1.069 GB, free: 9.613 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004657/0.3218, allocations: 243.9 kB / 1.069 GB, free: 9.359 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.756e-05/0.3219, allocations: 88.95 kB / 1.069 GB, free: 9.254 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/0.3219, allocations: 3.938 kB / 1.07 GB, free: 9.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001586/0.3221, allocations: 19.97 kB / 1.07 GB, free: 9.23 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.22e-05/0.3222, allocations: 11.98 kB / 1.07 GB, free: 9.219 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.3222, allocations: 11.94 kB / 1.07 GB, free: 9.207 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.292e-05/0.3223, allocations: 95.64 kB / 1.07 GB, free: 9.113 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3223, allocations: 0 / 1.07 GB, free: 9.113 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002314/0.3225, allocations: 12 kB / 1.07 GB, free: 9.102 MB / 0.8419 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.0001428/0.3227, allocations: 111.2 kB / 1.07 GB, free: 8.984 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004179/0.3231, allocations: 103.9 kB / 1.07 GB, free: 8.883 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3231, allocations: 0 / 1.07 GB, free: 8.883 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002012/0.3233, allocations: 67.94 kB / 1.07 GB, free: 8.816 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003135/0.3236, allocations: 13.77 kB / 1.07 GB, free: 8.805 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004864/0.3241, allocations: 220 kB / 1.07 GB, free: 8.555 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003252/0.3245, allocations: 0.6963 MB / 1.071 GB, free: 7.832 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.831e-05/0.3245, allocations: 11.44 kB / 1.071 GB, free: 7.82 MB / 0.8419 GB Notification: Performance of SimCode: time 3.1e-07/0.3245, allocations: 0 / 1.071 GB, free: 7.82 MB / 0.8419 GB Notification: Performance of Templates: time 0.003056/0.3276, allocations: 1.24 MB / 1.072 GB, free: 6.59 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches