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.001548/0.001548, allocations: 111.7 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.001966/0.001966, allocations: 188.3 kB / 17.35 MB, free: 5.758 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.483/1.483, 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 10.1.1-maint.10.0.x/package.mo): time 2.691/2.691, allocations: 437 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001532, allocations: 71.88 kB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9838/0.9853, allocations: 151.6 MB / 1.167 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Stage): time 0.002177/0.9875, allocations: 0.9369 MB / 1.168 GB, free: 2.902 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001482/0.989, allocations: 1.04 MB / 1.169 GB, free: 1.852 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001391/0.9892, allocations: 3.938 kB / 1.169 GB, free: 1.848 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001595/0.9894, allocations: 11.81 kB / 1.169 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002045/0.9896, allocations: 47.62 kB / 1.169 GB, free: 1.789 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005129/0.9901, allocations: 123.8 kB / 1.169 GB, free: 1.668 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0004696/0.9906, allocations: 355.2 kB / 1.17 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001824/0.9908, allocations: 21.67 kB / 1.17 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000367/0.9912, allocations: 171.6 kB / 1.17 GB, free: 1.129 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003997/0.9916, allocations: 215.4 kB / 1.17 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001079/0.9917, allocations: 32 kB / 1.17 GB, free: 0.8867 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 8.823e-05/0.9918, allocations: 36 kB / 1.17 GB, free: 0.8516 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001534/0.992, allocations: 103.8 kB / 1.17 GB, free: 0.75 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001778/0.9921, allocations: 131.4 kB / 1.17 GB, free: 0.6211 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0004352/0.9926, allocations: 343.3 kB / 1.171 GB, free: 296 kB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.9926, allocations: 0 / 1.171 GB, free: 296 kB / 0.8887 GB Notification: Performance of FrontEnd: time 2.024e-06/0.9926, allocations: 0 / 1.171 GB, free: 296 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.401e-05/0.9926, allocations: 0 / 1.171 GB, free: 296 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.002062/0.9947, allocations: 0.7797 MB / 1.172 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.9947, allocations: 8.031 kB / 1.172 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.307e-05/0.9948, allocations: 36.75 kB / 1.172 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007082/0.9956, allocations: 339.7 kB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.369e-05/0.9956, allocations: 28.34 kB / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.994e-05/0.9957, allocations: 32.06 kB / 1.172 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008049/0.9965, allocations: 335.1 kB / 1.172 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.9965, allocations: 4 kB / 1.172 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.308e-05/0.9966, allocations: 7.938 kB / 1.172 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.9966, allocations: 4 kB / 1.172 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006657/0.9972, allocations: 203.8 kB / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001668/0.9989, allocations: 0.7189 MB / 1.173 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00069/0.9996, allocations: 273 kB / 1.173 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005211/1, allocations: 193.6 kB / 1.174 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.825e-05/1, allocations: 7.984 kB / 1.174 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007394/1.001, allocations: 340.8 kB / 1.174 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=30): time 2.284e-06/1.001, allocations: 0 / 1.174 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of matching and sorting (n=30): time 0.001816/1.003, allocations: 0.6419 MB / 1.175 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.432e-05/1.003, allocations: 89.11 kB / 1.175 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001996/1.003, allocations: 210.9 kB / 1.175 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.994e-05/1.003, allocations: 57.69 kB / 1.175 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 8.144e-05/1.003, allocations: 125.1 kB / 1.175 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 8.765e-05/1.003, allocations: 87.38 kB / 1.175 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000132/1.003, allocations: 86.12 kB / 1.175 GB, free: 11.49 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001356/1.004, allocations: 338.8 kB / 1.176 GB, free: 11.15 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002677/1.004, allocations: 112.8 kB / 1.176 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002857/1.004, allocations: 169.5 kB / 1.176 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004144/1.005, allocations: 202.3 kB / 1.176 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/1.005, allocations: 0 / 1.176 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006285/1.005, allocations: 340.3 kB / 1.176 GB, free: 10.31 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/1.005, allocations: 4 kB / 1.176 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/1.005, allocations: 4 kB / 1.176 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/1.005, allocations: 3.984 kB / 1.176 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002042/1.006, allocations: 47.86 kB / 1.176 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/1.006, allocations: 4 kB / 1.176 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003601/1.006, allocations: 79.77 kB / 1.176 GB, free: 10.17 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.025e-05/1.006, allocations: 16 kB / 1.176 GB, free: 10.15 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.0001746/1.006, allocations: 174.9 kB / 1.177 GB, free: 9.973 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.753e-05/1.006, allocations: 31.75 kB / 1.177 GB, free: 9.941 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.457e-05/1.006, allocations: 25.53 kB / 1.177 GB, free: 9.914 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/1.006, allocations: 3.984 kB / 1.177 GB, free: 9.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/1.006, allocations: 0 / 1.177 GB, free: 9.91 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.939e-05/1.006, allocations: 108.9 kB / 1.177 GB, free: 9.785 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.48e-05/1.006, allocations: 15.98 kB / 1.177 GB, free: 9.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004559/1.007, allocations: 67.84 kB / 1.177 GB, free: 9.703 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001724/1.007, allocations: 71.89 kB / 1.177 GB, free: 9.633 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001602/1.009, allocations: 0.6794 MB / 1.178 GB, free: 8.945 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001325/1.01, allocations: 0.7309 MB / 1.178 GB, free: 8.199 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005805/1.011, allocations: 207.8 kB / 1.179 GB, free: 7.996 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001246/1.011, allocations: 144.4 kB / 1.179 GB, free: 7.855 MB / 0.9044 GB Notification: Performance of Backend: time 5.31e-07/1.011, allocations: 0 / 1.179 GB, free: 7.855 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0008342/1.012, allocations: 278 kB / 1.179 GB, free: 7.578 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0009942/1.013, allocations: 0.8223 MB / 1.18 GB, free: 6.707 MB / 0.9044 GB Notification: Performance of Templates: time 0.01089/1.023, allocations: 5.562 MB / 1.185 GB, free: 1.191 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