Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.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.Stage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sta.u|sta.y|zerHolTim.y|sta1.u|sta1.y|lesHolTim.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Stage") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Stage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sta.u|sta.y|zerHolTim.y|sta1.u|sta1.y|lesHolTim.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Stage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001607/0.001608, allocations: 104 kB / 16.41 MB, free: 6.508 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.001726/0.001726, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.564/1.564, 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 2.644/2.644, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001573/0.001573, allocations: 63.91 kB / 1.055 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.304/1.306, allocations: 157.4 MB / 1.208 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Stage): time 0.003187/1.309, allocations: 0.9248 MB / 1.209 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002048/1.311, allocations: 1.038 MB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001953/1.311, allocations: 0 / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001897/1.312, allocations: 11.81 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.000233/1.312, allocations: 47.62 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006152/1.312, allocations: 131.7 kB / 1.211 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005534/1.313, allocations: 351.3 kB / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001812/1.313, allocations: 21.67 kB / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004123/1.314, allocations: 171.6 kB / 1.211 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004246/1.314, allocations: 211.4 kB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001077/1.314, allocations: 32 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 7.793e-05/1.314, allocations: 32 kB / 1.211 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001604/1.314, allocations: 103.8 kB / 1.211 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001871/1.315, allocations: 139.4 kB / 1.212 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005011/1.315, allocations: 340.5 kB / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/1.315, allocations: 0 / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.723e-06/1.315, allocations: 0 / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.183e-05/1.315, allocations: 0 / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.002538/1.318, allocations: 0.7759 MB / 1.213 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 6.063e-05/1.318, allocations: 8.031 kB / 1.213 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001196/1.318, allocations: 24.66 kB / 1.213 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009082/1.319, allocations: 351.6 kB / 1.213 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.973e-05/1.319, allocations: 16.38 kB / 1.213 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.587e-05/1.319, allocations: 24.12 kB / 1.213 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009553/1.32, allocations: 344.3 kB / 1.213 GB, free: 8.422 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/1.32, allocations: 0 / 1.213 GB, free: 8.422 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.843e-05/1.32, allocations: 11.98 kB / 1.213 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/1.32, allocations: 4 kB / 1.213 GB, free: 8.406 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007532/1.321, allocations: 214.1 kB / 1.214 GB, free: 8.199 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001916/1.323, allocations: 0.7072 MB / 1.214 GB, free: 7.438 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007297/1.323, allocations: 281 kB / 1.215 GB, free: 7.145 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005746/1.324, allocations: 193.6 kB / 1.215 GB, free: 6.949 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.528e-05/1.324, allocations: 4 kB / 1.215 GB, free: 6.945 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008628/1.325, allocations: 341.2 kB / 1.215 GB, free: 6.594 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=30): time 3.617e-06/1.325, allocations: 4 kB / 1.215 GB, free: 6.59 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30): time 0.001985/1.327, allocations: 0.635 MB / 1.216 GB, free: 5.949 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.449e-05/1.327, allocations: 93.08 kB / 1.216 GB, free: 5.84 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002499/1.327, allocations: 207.9 kB / 1.216 GB, free: 5.625 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.829e-05/1.327, allocations: 53.69 kB / 1.216 GB, free: 5.566 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001405/1.328, allocations: 133 kB / 1.216 GB, free: 5.434 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001013/1.328, allocations: 83.11 kB / 1.216 GB, free: 5.352 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001523/1.328, allocations: 78.12 kB / 1.216 GB, free: 5.27 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001807/1.328, allocations: 342.8 kB / 1.217 GB, free: 4.926 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002572/1.328, allocations: 112.8 kB / 1.217 GB, free: 4.816 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000303/1.329, allocations: 173.5 kB / 1.217 GB, free: 4.629 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004204/1.329, allocations: 205.2 kB / 1.217 GB, free: 4.414 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/1.329, allocations: 0 / 1.217 GB, free: 4.414 MB / 0.9356 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006954/1.33, allocations: 335.5 kB / 1.217 GB, free: 4.082 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.631e-05/1.33, allocations: 11.94 kB / 1.217 GB, free: 4.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/1.33, allocations: 0 / 1.217 GB, free: 4.07 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.762e-05/1.33, allocations: 4 kB / 1.217 GB, free: 4.066 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002349/1.33, allocations: 47.91 kB / 1.217 GB, free: 4.02 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/1.33, allocations: 3.984 kB / 1.217 GB, free: 4.016 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004246/1.331, allocations: 83.73 kB / 1.218 GB, free: 3.934 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.808e-05/1.331, allocations: 16 kB / 1.218 GB, free: 3.918 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 52 (zerHolTim.y,$PRE.zerHolTim.y,sta.y,$PRE.sta.y,zerHolTim.checkLower,$PRE.zerHolTim.checkLower,zerHolTim.checkUpper,$PRE.zerHolTim.checkUpper,zerHolTim.lowerThreshold,$PRE.zerHolTim.lowerThreshold,zerHolTim.upperThreshold,$PRE.zerHolTim.upperThreshold,zerHolTim.tNext,$PRE.zerHolTim.tNext,sta.checkLower,$PRE.sta.checkLower,sta.checkUpper,$PRE.sta.checkUpper,sta.lowerThreshold,$PRE.sta.lowerThreshold,sta.upperThreshold,$PRE.sta.upperThreshold,sta.tNext,$PRE.sta.tNext,$whenCondition3,$whenCondition4,lesHolTim.y,$PRE.lesHolTim.y,sta1.y,$PRE.sta1.y,lesHolTim.checkLower,$PRE.lesHolTim.checkLower,lesHolTim.checkUpper,$PRE.lesHolTim.checkUpper,lesHolTim.lowerThreshold,$PRE.lesHolTim.lowerThreshold,lesHolTim.upperThreshold,$PRE.lesHolTim.upperThreshold,lesHolTim.tNext,$PRE.lesHolTim.tNext,sta1.checkLower,$PRE.sta1.checkLower,sta1.checkUpper,$PRE.sta1.checkUpper,sta1.lowerThreshold,$PRE.sta1.lowerThreshold,sta1.upperThreshold,$PRE.sta1.upperThreshold,sta1.tNext,$PRE.sta1.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 54 * 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.0002376/1.331, allocations: 166.9 kB / 1.218 GB, free: 3.746 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.848e-05/1.331, allocations: 23.72 kB / 1.218 GB, free: 3.723 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.987e-05/1.331, allocations: 33.52 kB / 1.218 GB, free: 3.688 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/1.331, allocations: 4 kB / 1.218 GB, free: 3.684 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/1.331, allocations: 0 / 1.218 GB, free: 3.684 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.842e-05/1.331, allocations: 104.7 kB / 1.218 GB, free: 3.562 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.881e-05/1.331, allocations: 19.92 kB / 1.218 GB, free: 3.543 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000518/1.332, allocations: 71.89 kB / 1.218 GB, free: 3.473 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001784/1.332, allocations: 75.89 kB / 1.218 GB, free: 3.398 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001695/1.334, allocations: 0.6822 MB / 1.219 GB, free: 2.711 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001418/1.335, allocations: 0.7241 MB / 1.219 GB, free: 1.969 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000604/1.336, allocations: 195.9 kB / 1.22 GB, free: 1.777 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001414/1.336, allocations: 155.3 kB / 1.22 GB, free: 1.625 MB / 0.9356 GB Notification: Performance of Backend: time 5.61e-07/1.336, allocations: 0 / 1.22 GB, free: 1.625 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0009247/1.337, allocations: 272.5 kB / 1.22 GB, free: 1.355 MB / 0.9356 GB Notification: Performance of SimCode: time 0.001287/1.338, allocations: 0.8147 MB / 1.221 GB, free: 0.4961 MB / 0.9356 GB Notification: Performance of Templates: time 0.01314/1.351, allocations: 5.551 MB / 1.226 GB, free: 10.98 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Stage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Stage_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Stage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches