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.001602/0.001602, allocations: 119 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.002145/0.002146, 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.561/1.561, allocations: 222.9 MB / 241 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 3.013/3.013, allocations: 469.4 MB / 0.7428 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001683/0.001683, allocations: 63.91 kB / 1.066 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.246/1.247, allocations: 159.1 MB / 1.221 GB, free: 2.285 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002623/1.25, allocations: 0.766 MB / 1.222 GB, free: 1.52 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001302/1.251, allocations: 0.8701 MB / 1.223 GB, free: 0.6367 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.514e-05/1.251, allocations: 0 / 1.223 GB, free: 0.6367 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.515e-05/1.252, allocations: 7.875 kB / 1.223 GB, free: 0.6289 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001026/1.252, allocations: 7.938 kB / 1.223 GB, free: 0.6211 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000328/1.252, allocations: 47.88 kB / 1.223 GB, free: 0.5742 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001316/1.252, allocations: 83.83 kB / 1.223 GB, free: 0.4922 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/1.252, allocations: 23.98 kB / 1.223 GB, free: 480 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001119/1.252, allocations: 51.7 kB / 1.223 GB, free: 428 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001359/1.253, allocations: 47.83 kB / 1.223 GB, free: 380 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.169e-05/1.253, allocations: 8 kB / 1.223 GB, free: 372 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.825e-05/1.253, allocations: 8 kB / 1.223 GB, free: 364 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.292e-05/1.253, allocations: 23.91 kB / 1.223 GB, free: 340 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.413e-05/1.253, allocations: 31.86 kB / 1.223 GB, free: 308 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001605/1.253, allocations: 91.66 kB / 1.223 GB, free: 216 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/1.253, allocations: 0 / 1.223 GB, free: 216 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.924e-06/1.253, allocations: 0 / 1.223 GB, free: 216 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.348e-06/1.253, allocations: 0 / 1.223 GB, free: 216 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.0009093/1.254, allocations: 396.9 kB / 1.223 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/1.254, allocations: 8.625 kB / 1.223 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.384e-05/1.254, allocations: 8.844 kB / 1.223 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002304/1.254, allocations: 184.1 kB / 1.223 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/1.254, allocations: 4.375 kB / 1.223 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.415e-05/1.254, allocations: 8.375 kB / 1.224 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003321/1.255, allocations: 105.5 kB / 1.224 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/1.255, allocations: 4 kB / 1.224 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/1.255, allocations: 0 / 1.224 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/1.255, allocations: 0 / 1.224 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003812/1.255, allocations: 99.84 kB / 1.224 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006204/1.256, allocations: 344.6 kB / 1.224 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006413/1.256, allocations: 126.5 kB / 1.224 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001968/1.256, allocations: 48.81 kB / 1.224 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.951e-05/1.257, allocations: 7.984 kB / 1.224 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.498e-05/1.257, allocations: 38.56 kB / 1.224 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/1.257, allocations: 0 / 1.224 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0006923/1.257, allocations: 173.5 kB / 1.224 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/1.257, allocations: 55.41 kB / 1.224 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/1.257, allocations: 125.8 kB / 1.225 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/1.257, allocations: 29.7 kB / 1.225 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.459e-05/1.258, allocations: 103.9 kB / 1.225 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.841e-05/1.258, allocations: 19.64 kB / 1.225 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.318e-05/1.258, allocations: 21.72 kB / 1.225 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002265/1.258, allocations: 322.8 kB / 1.225 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001876/1.258, allocations: 43.95 kB / 1.225 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001754/1.258, allocations: 47.95 kB / 1.225 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003604/1.259, allocations: 100.8 kB / 1.225 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/1.259, allocations: 0 / 1.225 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004477/1.259, allocations: 137.6 kB / 1.225 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/1.259, allocations: 5.562 kB / 1.225 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/1.259, allocations: 4 kB / 1.225 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/1.259, allocations: 7.922 kB / 1.225 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001799/1.259, allocations: 27.91 kB / 1.225 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/1.259, allocations: 0 / 1.225 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000125/1.259, allocations: 19.83 kB / 1.225 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/1.26, allocations: 8 kB / 1.225 GB, free: 13.41 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,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.0001061/1.26, allocations: 117.8 kB / 1.226 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.292e-05/1.26, allocations: 0 / 1.226 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000503/1.26, allocations: 153.8 kB / 1.226 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/1.26, allocations: 3.984 kB / 1.226 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/1.26, allocations: 3.938 kB / 1.226 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.031e-05/1.26, allocations: 85.05 kB / 1.226 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.231e-05/1.26, allocations: 4 kB / 1.226 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001484/1.26, allocations: 11.97 kB / 1.226 GB, free: 13 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.619e-05/1.261, allocations: 19.98 kB / 1.226 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005868/1.261, allocations: 237.5 kB / 1.226 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005551/1.262, allocations: 314.6 kB / 1.226 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002205/1.262, allocations: 67.88 kB / 1.226 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.201e-05/1.262, allocations: 95.27 kB / 1.227 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of Backend: time 4.31e-07/1.262, allocations: 0 / 1.227 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005806/1.263, allocations: 134.3 kB / 1.227 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0007185/1.263, allocations: 0.6039 MB / 1.227 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of Templates: time 0.004641/1.268, allocations: 1.75 MB / 1.229 GB, free: 9.73 MB / 0.9512 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