Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reaToInt.y|cha.u|cha.up|cha.y|cha.down|changeSampler.u|changeSampler.y|increaseSampler.u|increaseSampler.y|decreaseSampler.u|decreaseSampler.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reaToInt.y|cha.u|cha.up|cha.y|cha.down|changeSampler.u|changeSampler.y|increaseSampler.u|increaseSampler.y|decreaseSampler.u|decreaseSampler.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00154/0.001541, allocations: 108.7 kB / 16.41 MB, free: 6.469 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.001642/0.001642, allocations: 189.4 kB / 17.35 MB, free: 5.711 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.542/1.542, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.762/2.762, allocations: 472.7 MB / 0.746 GB, free: 440 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00162/0.00162, allocations: 63.91 kB / 1.07 GB, free: 9.523 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.176/1.177, allocations: 159.9 MB / 1.226 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.005587/1.183, allocations: 1.924 MB / 1.228 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002514/1.186, allocations: 1.131 MB / 1.229 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002167/1.186, allocations: 0 / 1.229 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0004814/1.186, allocations: 95.56 kB / 1.229 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0004396/1.187, allocations: 95.58 kB / 1.23 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006762/1.188, allocations: 155.5 kB / 1.23 GB, free: 10.08 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0006267/1.188, allocations: 211.5 kB / 1.23 GB, free: 9.871 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00025/1.188, allocations: 45.66 kB / 1.23 GB, free: 9.828 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003176/1.189, allocations: 103.6 kB / 1.23 GB, free: 9.727 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002402/1.189, allocations: 111.5 kB / 1.23 GB, free: 9.617 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.829e-05/1.189, allocations: 12 kB / 1.23 GB, free: 9.605 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000216/1.189, allocations: 51.98 kB / 1.23 GB, free: 9.555 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001192/1.189, allocations: 55.81 kB / 1.23 GB, free: 9.5 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001465/1.19, allocations: 103.4 kB / 1.23 GB, free: 9.398 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0006202/1.19, allocations: 271.4 kB / 1.231 GB, free: 9.137 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/1.19, allocations: 0 / 1.231 GB, free: 9.137 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.713e-06/1.19, allocations: 0 / 1.231 GB, free: 9.137 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.275e-05/1.19, allocations: 0 / 1.231 GB, free: 9.137 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.001271/1.192, allocations: 0.5488 MB / 1.231 GB, free: 8.539 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/1.192, allocations: 12.03 kB / 1.231 GB, free: 8.527 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.1e-05/1.192, allocations: 24.75 kB / 1.231 GB, free: 8.504 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004621/1.192, allocations: 299.3 kB / 1.231 GB, free: 8.176 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.453e-05/1.192, allocations: 12 kB / 1.231 GB, free: 8.164 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.936e-05/1.192, allocations: 7.984 kB / 1.231 GB, free: 8.156 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003441/1.193, allocations: 123.1 kB / 1.232 GB, free: 8.031 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/1.193, allocations: 0 / 1.232 GB, free: 8.031 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.991e-05/1.193, allocations: 7.938 kB / 1.232 GB, free: 8.023 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/1.193, allocations: 4 kB / 1.232 GB, free: 8.02 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002992/1.193, allocations: 87.86 kB / 1.232 GB, free: 7.934 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008657/1.194, allocations: 452.5 kB / 1.232 GB, free: 7.441 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003817/1.194, allocations: 130.6 kB / 1.232 GB, free: 7.305 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001564/1.194, allocations: 56.83 kB / 1.232 GB, free: 7.246 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.507e-05/1.194, allocations: 4 kB / 1.232 GB, free: 7.242 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003357/1.195, allocations: 123.5 kB / 1.232 GB, free: 7.109 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=16): time 2.434e-06/1.195, allocations: 0 / 1.232 GB, free: 7.109 MB / 0.9512 GB Notification: Performance of matching and sorting (n=16): time 0.0007003/1.195, allocations: 257.2 kB / 1.233 GB, free: 6.852 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.277e-05/1.196, allocations: 59.39 kB / 1.233 GB, free: 6.781 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003943/1.196, allocations: 322.6 kB / 1.233 GB, free: 6.457 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.855e-05/1.196, allocations: 33.69 kB / 1.233 GB, free: 6.418 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/1.196, allocations: 136.5 kB / 1.233 GB, free: 6.277 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.19e-05/1.196, allocations: 43.69 kB / 1.233 GB, free: 6.234 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/1.196, allocations: 61.69 kB / 1.233 GB, free: 6.168 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001498/1.196, allocations: 338.8 kB / 1.234 GB, free: 5.828 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002332/1.197, allocations: 83.95 kB / 1.234 GB, free: 5.746 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002435/1.197, allocations: 129.1 kB / 1.234 GB, free: 5.602 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004065/1.197, allocations: 187.8 kB / 1.234 GB, free: 5.402 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.065e-06/1.197, allocations: 3.938 kB / 1.234 GB, free: 5.398 MB / 0.9512 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005985/1.198, allocations: 281.3 kB / 1.234 GB, free: 5.117 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/1.198, allocations: 9.234 kB / 1.234 GB, free: 5.109 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/1.198, allocations: 4 kB / 1.234 GB, free: 5.105 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.131e-05/1.198, allocations: 4 kB / 1.234 GB, free: 5.102 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002531/1.198, allocations: 39.91 kB / 1.234 GB, free: 5.062 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/1.198, allocations: 4 kB / 1.234 GB, free: 5.059 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001712/1.198, allocations: 28.03 kB / 1.234 GB, free: 5.031 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.646e-05/1.199, allocations: 12 kB / 1.234 GB, free: 5.02 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 19 (decreaseSampler.y,$PRE.decreaseSampler.y,increaseSampler.y,$PRE.increaseSampler.y,changeSampler.y,$PRE.changeSampler.y,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition2,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,cha.down,cha.up,cha.y,cha.u,$PRE.cha.u,$whenCondition1,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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.000175/1.199, allocations: 154.3 kB / 1.235 GB, free: 4.859 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.587e-05/1.199, allocations: 27.8 kB / 1.235 GB, free: 4.832 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.612e-05/1.199, allocations: 26.17 kB / 1.235 GB, free: 4.801 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/1.199, allocations: 0 / 1.235 GB, free: 4.801 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/1.199, allocations: 3.938 kB / 1.235 GB, free: 4.797 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 8.596e-05/1.199, allocations: 108.9 kB / 1.235 GB, free: 4.672 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.259e-05/1.199, allocations: 12 kB / 1.235 GB, free: 4.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001193/1.199, allocations: 19.92 kB / 1.235 GB, free: 4.641 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.406e-05/1.199, allocations: 15.97 kB / 1.235 GB, free: 4.625 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005735/1.2, allocations: 267.2 kB / 1.235 GB, free: 4.359 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005279/1.2, allocations: 378.4 kB / 1.235 GB, free: 3.973 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002384/1.201, allocations: 67.95 kB / 1.235 GB, free: 3.906 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002117/1.201, allocations: 209.9 kB / 1.236 GB, free: 3.699 MB / 0.9512 GB Notification: Performance of Backend: time 7.81e-07/1.201, allocations: 0 / 1.236 GB, free: 3.699 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001845/1.203, allocations: 0.5222 MB / 1.236 GB, free: 3.332 MB / 0.9512 GB Notification: Performance of SimCode: time 0.001128/1.204, allocations: 0.8506 MB / 1.237 GB, free: 2.441 MB / 0.9512 GB Notification: Performance of Templates: time 0.008055/1.212, allocations: 3.135 MB / 1.24 GB, free: 15.32 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Change.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches