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.001856/0.001856, allocations: 116.1 kB / 16.42 MB, free: 6.496 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.001443/0.001443, allocations: 187.9 kB / 17.35 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.497/1.497, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.902/2.902, allocations: 469.4 MB / 0.7428 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001671/0.001671, allocations: 59.91 kB / 1.066 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.246/1.248, allocations: 159.1 MB / 1.221 GB, free: 2.332 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.00237/1.25, allocations: 0.7737 MB / 1.222 GB, free: 1.559 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001141/1.251, allocations: 0.8662 MB / 1.223 GB, free: 0.6797 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.717e-05/1.252, allocations: 0 / 1.223 GB, free: 0.6797 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.308e-05/1.252, allocations: 3.938 kB / 1.223 GB, free: 0.6758 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001113/1.252, allocations: 19.86 kB / 1.223 GB, free: 0.6562 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002063/1.252, allocations: 31.97 kB / 1.223 GB, free: 0.625 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001398/1.252, allocations: 95.73 kB / 1.223 GB, free: 0.5312 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/1.252, allocations: 20 kB / 1.223 GB, free: 0.5117 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/1.252, allocations: 39.84 kB / 1.223 GB, free: 484 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 9.404e-05/1.252, allocations: 51.81 kB / 1.223 GB, free: 432 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.85e-05/1.252, allocations: 8 kB / 1.223 GB, free: 424 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.84e-05/1.252, allocations: 8 kB / 1.223 GB, free: 416 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.155e-05/1.252, allocations: 19.92 kB / 1.223 GB, free: 396 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.102e-05/1.253, allocations: 39.83 kB / 1.223 GB, free: 356 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001452/1.253, allocations: 91.61 kB / 1.223 GB, free: 264 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/1.253, allocations: 0 / 1.223 GB, free: 264 kB / 0.9356 GB Notification: Performance of FrontEnd: time 2.134e-06/1.253, allocations: 3.938 kB / 1.223 GB, free: 260 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.281e-06/1.253, allocations: 0 / 1.223 GB, free: 260 kB / 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.0007044/1.253, allocations: 396.9 kB / 1.223 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/1.253, allocations: 8.625 kB / 1.223 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.408e-05/1.254, allocations: 8.844 kB / 1.223 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/1.254, allocations: 180.2 kB / 1.223 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/1.254, allocations: 4.375 kB / 1.223 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.161e-05/1.254, allocations: 8.375 kB / 1.223 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000312/1.254, allocations: 109.5 kB / 1.224 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/1.254, allocations: 0 / 1.224 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/1.254, allocations: 4 kB / 1.224 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/1.254, allocations: 0 / 1.224 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003773/1.254, allocations: 99.89 kB / 1.224 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005264/1.255, allocations: 348.5 kB / 1.224 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006163/1.256, allocations: 122.6 kB / 1.224 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001841/1.256, allocations: 56.8 kB / 1.224 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.667e-05/1.256, allocations: 0 / 1.224 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/1.256, allocations: 38.56 kB / 1.224 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/1.256, allocations: 3.938 kB / 1.224 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0006535/1.257, allocations: 181.5 kB / 1.224 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.96e-05/1.257, allocations: 51.41 kB / 1.224 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.956e-05/1.257, allocations: 121.8 kB / 1.225 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/1.257, allocations: 29.7 kB / 1.225 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.682e-05/1.257, allocations: 104 kB / 1.225 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.781e-05/1.257, allocations: 15.66 kB / 1.225 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.094e-05/1.257, allocations: 25.7 kB / 1.225 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001033/1.257, allocations: 318.8 kB / 1.225 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001858/1.257, allocations: 43.95 kB / 1.225 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001701/1.257, allocations: 47.95 kB / 1.225 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003424/1.258, allocations: 100.8 kB / 1.225 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/1.258, allocations: 0 / 1.225 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004154/1.258, allocations: 141.5 kB / 1.225 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/1.258, allocations: 4 kB / 1.225 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/1.258, allocations: 0 / 1.225 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/1.258, allocations: 0 / 1.225 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001731/1.258, allocations: 23.97 kB / 1.225 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/1.258, allocations: 0 / 1.225 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001225/1.259, allocations: 19.83 kB / 1.225 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/1.259, allocations: 8 kB / 1.225 GB, free: 13.46 MB / 0.9512 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 9.229e-05/1.259, allocations: 121.8 kB / 1.226 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.133e-05/1.259, allocations: 0 / 1.226 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004716/1.259, allocations: 158.3 kB / 1.226 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/1.259, allocations: 3.938 kB / 1.226 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/1.259, allocations: 0 / 1.226 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.353e-05/1.259, allocations: 89.05 kB / 1.226 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.208e-05/1.259, allocations: 3.984 kB / 1.226 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/1.259, allocations: 11.98 kB / 1.226 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.741e-05/1.26, allocations: 19.92 kB / 1.226 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005357/1.26, allocations: 236.8 kB / 1.226 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005023/1.261, allocations: 318.6 kB / 1.226 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002033/1.261, allocations: 63.94 kB / 1.226 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.462e-05/1.261, allocations: 99.64 kB / 1.227 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of Backend: time 2.7e-07/1.261, allocations: 0 / 1.227 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005324/1.261, allocations: 134.3 kB / 1.227 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0006365/1.262, allocations: 0.6039 MB / 1.227 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of Templates: time 0.004331/1.266, allocations: 1.749 MB / 1.229 GB, free: 9.777 MB / 0.9512 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