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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001085/0.001085, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.009689/0.009689, allocations: 171.5 kB / 16.26 MB, free: 6.613 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.499/1.499, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.877/2.877, allocations: 443.3 MB / 0.7175 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003984/0.0003985, allocations: 9.031 kB / 0.8796 GB, free: 41.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3925/0.3929, allocations: 155.2 MB / 1.031 GB, free: 4.504 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.002433/0.3954, allocations: 1.641 MB / 1.033 GB, free: 2.848 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001707/0.3971, allocations: 1.088 MB / 1.034 GB, free: 1.754 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.3972, allocations: 3.938 kB / 1.034 GB, free: 1.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003422/0.3976, allocations: 83.77 kB / 1.034 GB, free: 1.668 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002256/0.3978, allocations: 83.66 kB / 1.034 GB, free: 1.586 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003724/0.3982, allocations: 134.5 kB / 1.034 GB, free: 1.457 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002545/0.3984, allocations: 207.4 kB / 1.034 GB, free: 1.254 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001636/0.3986, allocations: 49.64 kB / 1.034 GB, free: 1.203 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001396/0.3988, allocations: 75.62 kB / 1.034 GB, free: 1.129 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001247/0.3989, allocations: 95.53 kB / 1.034 GB, free: 1.035 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.32e-05/0.3989, allocations: 8 kB / 1.034 GB, free: 1.027 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.3991, allocations: 39.97 kB / 1.035 GB, free: 0.9883 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.593e-05/0.3991, allocations: 51.83 kB / 1.035 GB, free: 0.9375 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001062/0.3992, allocations: 117 kB / 1.035 GB, free: 0.8164 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002935/0.3995, allocations: 251.4 kB / 1.035 GB, free: 0.5703 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.3996, allocations: 0 / 1.035 GB, free: 0.5703 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.294e-06/0.3996, allocations: 0 / 1.035 GB, free: 0.5703 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.551e-06/0.3996, allocations: 0 / 1.035 GB, free: 0.5703 MB / 0.7794 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.0008309/0.4004, allocations: 0.5142 MB / 1.035 GB, free: 8 kB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.684e-05/0.4005, allocations: 12.08 kB / 1.035 GB, free: 15.99 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.545e-05/0.4005, allocations: 20.66 kB / 1.035 GB, free: 15.97 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003331/0.4009, allocations: 291.3 kB / 1.036 GB, free: 15.66 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.216e-05/0.4009, allocations: 8 kB / 1.036 GB, free: 15.65 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.623e-05/0.4009, allocations: 12 kB / 1.036 GB, free: 15.64 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003048/0.4013, allocations: 121.6 kB / 1.036 GB, free: 15.51 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.4013, allocations: 4 kB / 1.036 GB, free: 15.51 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/0.4013, allocations: 3.938 kB / 1.036 GB, free: 15.5 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.4013, allocations: 4 kB / 1.036 GB, free: 15.5 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000281/0.4016, allocations: 95.92 kB / 1.036 GB, free: 15.41 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006847/0.4023, allocations: 456.4 kB / 1.036 GB, free: 14.91 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003353/0.4026, allocations: 142.5 kB / 1.037 GB, free: 14.76 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001591/0.4028, allocations: 64.83 kB / 1.037 GB, free: 14.7 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.435e-05/0.4028, allocations: 0 / 1.037 GB, free: 14.7 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002898/0.4031, allocations: 132.9 kB / 1.037 GB, free: 14.55 MB / 0.795 GB Notification: Performance of pre-optimization done (n=16): time 1.422e-06/0.4031, allocations: 0 / 1.037 GB, free: 14.55 MB / 0.795 GB Notification: Performance of matching and sorting (n=16): time 0.0006608/0.4038, allocations: 269.4 kB / 1.037 GB, free: 14.29 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.556e-05/0.4039, allocations: 55.41 kB / 1.037 GB, free: 14.22 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003319/0.4042, allocations: 326.5 kB / 1.037 GB, free: 13.89 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.893e-05/0.4042, allocations: 33.7 kB / 1.037 GB, free: 13.85 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 9.079e-05/0.4043, allocations: 140.3 kB / 1.038 GB, free: 13.71 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.143e-05/0.4044, allocations: 35.55 kB / 1.038 GB, free: 13.67 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.763e-05/0.4044, allocations: 45.69 kB / 1.038 GB, free: 13.62 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.4046, allocations: 334.8 kB / 1.038 GB, free: 13.29 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002071/0.4048, allocations: 83.95 kB / 1.038 GB, free: 13.2 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002424/0.405, allocations: 137.1 kB / 1.038 GB, free: 13.05 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003974/0.4054, allocations: 199 kB / 1.038 GB, free: 12.84 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/0.4055, allocations: 7.938 kB / 1.038 GB, free: 12.83 MB / 0.795 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005469/0.406, allocations: 285.2 kB / 1.039 GB, free: 12.55 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.406, allocations: 6.031 kB / 1.039 GB, free: 12.54 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.406, allocations: 4 kB / 1.039 GB, free: 12.54 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.4061, allocations: 0 / 1.039 GB, free: 12.54 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002092/0.4063, allocations: 51.91 kB / 1.039 GB, free: 12.49 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.986e-06/0.4063, allocations: 0 / 1.039 GB, free: 12.49 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001569/0.4065, allocations: 39.94 kB / 1.039 GB, free: 12.45 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.623e-05/0.4065, allocations: 8 kB / 1.039 GB, free: 12.44 MB / 0.795 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.0001531/0.4066, allocations: 166.9 kB / 1.039 GB, free: 12.27 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.139e-05/0.4067, allocations: 23.66 kB / 1.039 GB, free: 12.25 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.586e-05/0.4067, allocations: 26.17 kB / 1.039 GB, free: 12.22 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.818e-06/0.4068, allocations: 4 kB / 1.039 GB, free: 12.22 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.4068, allocations: 3.938 kB / 1.039 GB, free: 12.21 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.4068, allocations: 4 kB / 1.039 GB, free: 12.21 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007927/0.4076, allocations: 0.5589 MB / 1.039 GB, free: 11.6 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.4076, allocations: 4 kB / 1.039 GB, free: 11.59 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.233e-05/0.4077, allocations: 23.98 kB / 1.039 GB, free: 11.57 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.4077, allocations: 3.984 kB / 1.039 GB, free: 11.57 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.4077, allocations: 4 kB / 1.039 GB, free: 11.56 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.4077, allocations: 0 / 1.039 GB, free: 11.56 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4077, allocations: 0 / 1.039 GB, free: 11.56 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004574/0.4082, allocations: 311 kB / 1.04 GB, free: 11.24 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.741e-05/0.4083, allocations: 100.8 kB / 1.04 GB, free: 11.12 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.032e-05/0.4083, allocations: 8 kB / 1.04 GB, free: 11.12 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/0.4085, allocations: 11.98 kB / 1.04 GB, free: 11.11 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.553e-05/0.4085, allocations: 19.97 kB / 1.04 GB, free: 11.09 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/0.4086, allocations: 12 kB / 1.04 GB, free: 11.07 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.000198/0.4088, allocations: 206 kB / 1.04 GB, free: 10.88 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4088, allocations: 0 / 1.04 GB, free: 10.88 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000323/0.4091, allocations: 51.92 kB / 1.04 GB, free: 10.82 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 (cha.y,cha.up,cha.down,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cha.u,changeSampler.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,increaseSampler.y,decreaseSampler.y) * Number of discrete states: 3 (timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,cha.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009953/0.4101, allocations: 425.7 kB / 1.041 GB, free: 10.56 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0004769/0.4106, allocations: 200.8 kB / 1.041 GB, free: 10.37 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.4106, allocations: 0 / 1.041 GB, free: 10.37 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.000193/0.4108, allocations: 76.2 kB / 1.041 GB, free: 10.29 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004228/0.4112, allocations: 44.53 kB / 1.041 GB, free: 10.25 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007502/0.412, allocations: 460.8 kB / 1.041 GB, free: 9.777 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003375/0.4124, allocations: 0.7482 MB / 1.042 GB, free: 9 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001067/0.4125, allocations: 29.94 kB / 1.042 GB, free: 8.973 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.838e-05/0.4125, allocations: 27.44 kB / 1.042 GB, free: 8.945 MB / 0.795 GB Notification: Performance of SimCode: time 4.11e-07/0.4126, allocations: 0 / 1.042 GB, free: 8.945 MB / 0.795 GB Notification: Performance of Templates: time 0.007117/0.4197, allocations: 2.816 MB / 1.045 GB, free: 6.152 MB / 0.795 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/jenkins/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