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.001515/0.001515, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001958/0.001958, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.577/1.577, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.05/3.05, allocations: 472.7 MB / 0.7451 GB, free: 4.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 65.75 kB / 0.9121 GB, free: 33.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4686/0.47, allocations: 159.9 MB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.005359/0.4754, allocations: 1.923 MB / 1.07 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003163/0.4786, allocations: 1.122 MB / 1.071 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003363/0.479, allocations: 7.938 kB / 1.071 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0006905/0.4797, allocations: 95.62 kB / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000418/0.4802, allocations: 99.52 kB / 1.071 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006804/0.4809, allocations: 154.8 kB / 1.072 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003785/0.4813, allocations: 211.5 kB / 1.072 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002651/0.4816, allocations: 45.64 kB / 1.072 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002224/0.4818, allocations: 103.6 kB / 1.072 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000176/0.482, allocations: 103.6 kB / 1.072 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.941e-05/0.4821, allocations: 12 kB / 1.072 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002397/0.4823, allocations: 55.91 kB / 1.072 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001259/0.4825, allocations: 59.83 kB / 1.072 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.00013/0.4826, allocations: 95.39 kB / 1.072 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005497/0.4831, allocations: 259.4 kB / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/0.4832, allocations: 0 / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.425e-06/0.4832, allocations: 0 / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.195e-05/0.4832, allocations: 0 / 1.072 GB, free: 6.039 MB / 0.8262 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.001238/0.4845, allocations: 0.5452 MB / 1.073 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/0.4845, allocations: 12.03 kB / 1.073 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.253e-05/0.4846, allocations: 24.59 kB / 1.073 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005316/0.4852, allocations: 283.5 kB / 1.073 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.828e-05/0.4852, allocations: 12 kB / 1.073 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.587e-05/0.4852, allocations: 11.94 kB / 1.073 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003586/0.4856, allocations: 123.1 kB / 1.073 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.4856, allocations: 3.938 kB / 1.073 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.896e-05/0.4856, allocations: 7.938 kB / 1.073 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.4856, allocations: 4 kB / 1.073 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002841/0.4859, allocations: 79.92 kB / 1.074 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008952/0.4868, allocations: 460.3 kB / 1.074 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003691/0.4872, allocations: 134.6 kB / 1.074 GB, free: 4.211 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001749/0.4874, allocations: 64.77 kB / 1.074 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.252e-05/0.4875, allocations: 0 / 1.074 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000356/0.4878, allocations: 125 kB / 1.074 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.623e-06/0.4878, allocations: 0 / 1.074 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0007285/0.4886, allocations: 253.3 kB / 1.075 GB, free: 3.758 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.592e-05/0.4886, allocations: 55.41 kB / 1.075 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003848/0.489, allocations: 330.5 kB / 1.075 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.648e-05/0.4891, allocations: 29.7 kB / 1.075 GB, free: 3.324 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001292/0.4892, allocations: 140.4 kB / 1.075 GB, free: 3.184 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.98e-05/0.4893, allocations: 43.45 kB / 1.075 GB, free: 3.141 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.974e-05/0.4894, allocations: 53.7 kB / 1.075 GB, free: 3.082 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.4896, allocations: 334.8 kB / 1.075 GB, free: 2.746 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002685/0.4898, allocations: 91.94 kB / 1.076 GB, free: 2.656 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002477/0.4901, allocations: 130 kB / 1.076 GB, free: 2.512 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004167/0.4905, allocations: 187.6 kB / 1.076 GB, free: 2.312 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.4905, allocations: 3.938 kB / 1.076 GB, free: 2.309 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005813/0.4911, allocations: 281.2 kB / 1.076 GB, free: 2.027 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.4911, allocations: 8 kB / 1.076 GB, free: 2.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.4912, allocations: 0 / 1.076 GB, free: 2.02 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.343e-05/0.4912, allocations: 4 kB / 1.076 GB, free: 2.016 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002218/0.4914, allocations: 39.91 kB / 1.076 GB, free: 1.977 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.4914, allocations: 4 kB / 1.076 GB, free: 1.973 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001592/0.4916, allocations: 23.89 kB / 1.076 GB, free: 1.949 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.015e-05/0.4916, allocations: 8 kB / 1.076 GB, free: 1.941 MB / 0.8262 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.0001535/0.4918, allocations: 163.4 kB / 1.076 GB, free: 1.773 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.962e-05/0.4919, allocations: 27.66 kB / 1.076 GB, free: 1.746 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.543e-05/0.4919, allocations: 26.17 kB / 1.076 GB, free: 1.723 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.4919, allocations: 4 kB / 1.076 GB, free: 1.719 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.492, allocations: 0 / 1.076 GB, free: 1.719 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.492, allocations: 0 / 1.076 GB, free: 1.719 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008933/0.4929, allocations: 0.5547 MB / 1.077 GB, free: 1.109 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.4929, allocations: 0 / 1.077 GB, free: 1.109 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.709e-05/0.493, allocations: 11.98 kB / 1.077 GB, free: 1.098 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.493, allocations: 4 kB / 1.077 GB, free: 1.094 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.062e-05/0.493, allocations: 11.98 kB / 1.077 GB, free: 1.082 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.493, allocations: 0 / 1.077 GB, free: 1.082 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.493, allocations: 0 / 1.077 GB, free: 1.082 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005425/0.4936, allocations: 299 kB / 1.077 GB, free: 0.7734 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.749e-05/0.4937, allocations: 96.92 kB / 1.077 GB, free: 0.6602 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.92e-05/0.4937, allocations: 4 kB / 1.077 GB, free: 0.6562 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001502/0.4939, allocations: 23.91 kB / 1.077 GB, free: 0.6328 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.723e-05/0.494, allocations: 15.98 kB / 1.077 GB, free: 0.6172 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.494, allocations: 4 kB / 1.077 GB, free: 0.6133 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002386/0.4943, allocations: 213.9 kB / 1.078 GB, free: 412 kB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4943, allocations: 0 / 1.078 GB, free: 412 kB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003531/0.4946, allocations: 51.84 kB / 1.078 GB, free: 360 kB / 0.8262 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.001409/0.496, allocations: 432 kB / 1.078 GB, free: 84 kB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006591/0.4967, allocations: 194.5 kB / 1.078 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.4967, allocations: 3.938 kB / 1.078 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000213/0.497, allocations: 67.95 kB / 1.078 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004996/0.4975, allocations: 50.77 kB / 1.078 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/0.4986, allocations: 404.3 kB / 1.079 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005544/0.4992, allocations: 0.748 MB / 1.079 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001234/0.4993, allocations: 37.92 kB / 1.08 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.33e-05/0.4994, allocations: 23.44 kB / 1.08 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of SimCode: time 4.81e-07/0.4994, allocations: 0 / 1.08 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of Templates: time 0.009105/0.5085, allocations: 3.04 MB / 1.083 GB, free: 11.51 MB / 0.8419 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