Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Stage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sta.u|sta.y|zerHolTim.y|sta1.u|sta1.y|lesHolTim.y",fileNamePrefix="Buildings_10_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_10_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.001193/0.001193, allocations: 111.2 kB / 16.42 MB, free: 6.465 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.001222/0.001222, allocations: 189.5 kB / 17.35 MB, free: 5.715 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.482/1.482, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.65/2.65, allocations: 437 MB / 0.7112 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001666/0.001666, allocations: 71.88 kB / 1.019 GB, free: 9.383 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.187/1.188, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Stage): time 0.002192/1.19, allocations: 0.9292 MB / 1.168 GB, free: 2.922 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001297/1.192, allocations: 1.04 MB / 1.169 GB, free: 1.871 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.297e-05/1.192, allocations: 0 / 1.169 GB, free: 1.871 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001271/1.192, allocations: 27.73 kB / 1.169 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.000133/1.192, allocations: 39.7 kB / 1.169 GB, free: 1.805 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003776/1.193, allocations: 123.7 kB / 1.169 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003146/1.193, allocations: 355.2 kB / 1.17 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001499/1.193, allocations: 25.67 kB / 1.17 GB, free: 1.309 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002136/1.193, allocations: 171.5 kB / 1.17 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002654/1.193, allocations: 211.4 kB / 1.17 GB, free: 0.9336 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 6.005e-05/1.194, allocations: 32 kB / 1.17 GB, free: 0.9023 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 5.288e-05/1.194, allocations: 39.94 kB / 1.17 GB, free: 0.8633 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001246/1.194, allocations: 103.8 kB / 1.17 GB, free: 0.7617 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.000132/1.194, allocations: 131.5 kB / 1.17 GB, free: 0.6328 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003342/1.194, allocations: 347.3 kB / 1.171 GB, free: 304 kB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/1.194, allocations: 0 / 1.171 GB, free: 304 kB / 0.8887 GB Notification: Performance of FrontEnd: time 1.343e-06/1.194, allocations: 0 / 1.171 GB, free: 304 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.342e-06/1.194, allocations: 0 / 1.171 GB, free: 304 kB / 0.8887 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.001989/1.196, allocations: 0.7758 MB / 1.172 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/1.196, allocations: 8.031 kB / 1.172 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.452e-05/1.196, allocations: 40.73 kB / 1.172 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007167/1.197, allocations: 339.7 kB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.672e-05/1.197, allocations: 20.38 kB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.388e-05/1.197, allocations: 28.11 kB / 1.172 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007769/1.198, allocations: 343.1 kB / 1.172 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/1.198, allocations: 3.938 kB / 1.172 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.146e-05/1.198, allocations: 4 kB / 1.172 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/1.198, allocations: 4 kB / 1.172 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006521/1.199, allocations: 211.8 kB / 1.172 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001631/1.2, allocations: 0.715 MB / 1.173 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006559/1.201, allocations: 269 kB / 1.173 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005121/1.202, allocations: 199.2 kB / 1.174 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.481e-05/1.202, allocations: 4 kB / 1.174 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007129/1.202, allocations: 340.7 kB / 1.174 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=30): time 1.904e-06/1.202, allocations: 0 / 1.174 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of matching and sorting (n=30): time 0.00176/1.204, allocations: 0.6358 MB / 1.175 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.621e-05/1.204, allocations: 93.09 kB / 1.175 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001917/1.204, allocations: 210.9 kB / 1.175 GB, free: 11.87 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.072e-05/1.204, allocations: 53.7 kB / 1.175 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 8.925e-05/1.205, allocations: 129.1 kB / 1.175 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 8.16e-05/1.205, allocations: 83.39 kB / 1.175 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/1.205, allocations: 82.12 kB / 1.175 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000131/1.205, allocations: 342.7 kB / 1.176 GB, free: 11.17 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002354/1.205, allocations: 108.8 kB / 1.176 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002684/1.205, allocations: 181.4 kB / 1.176 GB, free: 10.87 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003487/1.206, allocations: 202.3 kB / 1.176 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/1.206, allocations: 0 / 1.176 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.000563/1.206, allocations: 336.3 kB / 1.176 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/1.206, allocations: 4 kB / 1.176 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/1.206, allocations: 4 kB / 1.176 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/1.206, allocations: 0 / 1.176 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000198/1.207, allocations: 47.91 kB / 1.176 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/1.207, allocations: 12.06 kB / 1.176 GB, free: 10.26 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003624/1.207, allocations: 75.7 kB / 1.176 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.777e-05/1.207, allocations: 16 kB / 1.176 GB, free: 10.17 MB / 0.9044 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.000169/1.207, allocations: 177.1 kB / 1.177 GB, free: 9.988 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.686e-05/1.207, allocations: 27.81 kB / 1.177 GB, free: 9.961 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.423e-05/1.207, allocations: 29.52 kB / 1.177 GB, free: 9.93 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/1.207, allocations: 3.984 kB / 1.177 GB, free: 9.926 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/1.207, allocations: 0 / 1.177 GB, free: 9.926 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.534e-05/1.207, allocations: 104.8 kB / 1.177 GB, free: 9.805 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.253e-05/1.207, allocations: 16 kB / 1.177 GB, free: 9.789 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004626/1.208, allocations: 71.89 kB / 1.177 GB, free: 9.719 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001698/1.208, allocations: 71.89 kB / 1.177 GB, free: 9.648 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001542/1.21, allocations: 0.6785 MB / 1.178 GB, free: 8.965 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001305/1.211, allocations: 0.7398 MB / 1.178 GB, free: 8.207 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005422/1.212, allocations: 193.6 kB / 1.179 GB, free: 8.02 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001183/1.212, allocations: 148.4 kB / 1.179 GB, free: 7.875 MB / 0.9044 GB Notification: Performance of Backend: time 7.21e-07/1.212, allocations: 3.938 kB / 1.179 GB, free: 7.871 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0007949/1.212, allocations: 278 kB / 1.179 GB, free: 7.594 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0008958/1.213, allocations: 0.8221 MB / 1.18 GB, free: 6.723 MB / 0.9044 GB Notification: Performance of Templates: time 0.009183/1.223, allocations: 5.562 MB / 1.185 GB, free: 1.199 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Stage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Stage_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Stage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches