Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004382/0.004382, allocations: 102 kB / 15.73 MB, free: 6.062 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.001275/0.001275, allocations: 192 kB / 16.67 MB, free: 5.973 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.4/1.4, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.718/2.718, allocations: 469.8 MB / 0.7425 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 63.91 kB / 1.065 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6742/0.6761, allocations: 159.1 MB / 1.22 GB, free: 2.02 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003262/0.6794, allocations: 1.921 MB / 1.222 GB, free: 88 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001827/0.6812, allocations: 1.123 MB / 1.223 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.48e-05/0.6813, allocations: 3.938 kB / 1.223 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0003241/0.6817, allocations: 91.62 kB / 1.223 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002496/0.6819, allocations: 99.52 kB / 1.223 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003754/0.6823, allocations: 166.3 kB / 1.223 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002788/0.6826, allocations: 207.5 kB / 1.224 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001396/0.6827, allocations: 45.64 kB / 1.224 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001654/0.6829, allocations: 103.5 kB / 1.224 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001471/0.6831, allocations: 103.6 kB / 1.224 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.352e-05/0.6831, allocations: 12 kB / 1.224 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001303/0.6833, allocations: 59.97 kB / 1.224 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 8.554e-05/0.6833, allocations: 63.75 kB / 1.224 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.6835, allocations: 87.42 kB / 1.224 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003551/0.6838, allocations: 266.6 kB / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.6838, allocations: 3.938 kB / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of FrontEnd: time 4.348e-06/0.6838, allocations: 4 kB / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.837e-06/0.6839, allocations: 0 / 1.224 GB, free: 13.68 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.0009031/0.6848, allocations: 0.5488 MB / 1.225 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.12e-05/0.6848, allocations: 11.97 kB / 1.225 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.493e-05/0.6849, allocations: 46.72 kB / 1.225 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.567e-05/0.6849, allocations: 28.75 kB / 1.225 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003755/0.6853, allocations: 283.3 kB / 1.225 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.6853, allocations: 8 kB / 1.225 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.618e-05/0.6854, allocations: 15.94 kB / 1.225 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003102/0.6857, allocations: 121.6 kB / 1.225 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.6857, allocations: 3.938 kB / 1.225 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.6857, allocations: 3.984 kB / 1.225 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-06/0.6857, allocations: 4 kB / 1.225 GB, free: 12.51 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002921/0.686, allocations: 83.92 kB / 1.226 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007209/0.6868, allocations: 452.4 kB / 1.226 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003748/0.6871, allocations: 130.7 kB / 1.226 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001739/0.6873, allocations: 56.81 kB / 1.226 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.6874, allocations: 7.938 kB / 1.226 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002991/0.6877, allocations: 125.8 kB / 1.226 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=16): time 1.754e-06/0.6877, allocations: 4 kB / 1.226 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of matching and sorting (n=16): time 0.0006808/0.6884, allocations: 245.3 kB / 1.227 GB, free: 11.35 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.844e-05/0.6884, allocations: 59.39 kB / 1.227 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003806/0.6888, allocations: 326.6 kB / 1.227 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.803e-05/0.6889, allocations: 37.64 kB / 1.227 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.689, allocations: 144.3 kB / 1.227 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.037e-05/0.689, allocations: 39.69 kB / 1.227 GB, free: 10.72 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.399e-05/0.6891, allocations: 61.69 kB / 1.227 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.6893, allocations: 334.8 kB / 1.227 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000225/0.6895, allocations: 79.95 kB / 1.228 GB, free: 10.24 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002643/0.6898, allocations: 141.6 kB / 1.228 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004204/0.6902, allocations: 186.8 kB / 1.228 GB, free: 9.887 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.6902, allocations: 0 / 1.228 GB, free: 9.887 MB / 0.9512 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005901/0.6908, allocations: 275.1 kB / 1.228 GB, free: 9.613 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.6909, allocations: 8 kB / 1.228 GB, free: 9.605 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.6909, allocations: 4.156 kB / 1.228 GB, free: 9.602 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.6909, allocations: 4 kB / 1.228 GB, free: 9.598 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002183/0.6911, allocations: 47.91 kB / 1.228 GB, free: 9.551 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.6911, allocations: 0 / 1.228 GB, free: 9.551 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001542/0.6913, allocations: 27.92 kB / 1.228 GB, free: 9.523 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.75e-05/0.6913, allocations: 12 kB / 1.228 GB, free: 9.512 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.0001659/0.6915, allocations: 168.7 kB / 1.228 GB, free: 9.34 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.612e-05/0.6915, allocations: 23.86 kB / 1.228 GB, free: 9.316 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.443e-05/0.6916, allocations: 26.17 kB / 1.228 GB, free: 9.289 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.6916, allocations: 4 kB / 1.228 GB, free: 9.285 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.6916, allocations: 0 / 1.228 GB, free: 9.285 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.6916, allocations: 3.984 kB / 1.228 GB, free: 9.281 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008709/0.6925, allocations: 0.5593 MB / 1.229 GB, free: 8.668 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.6925, allocations: 0 / 1.229 GB, free: 8.668 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001031/0.6926, allocations: 23.92 kB / 1.229 GB, free: 8.645 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.6926, allocations: 0 / 1.229 GB, free: 8.645 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.6927, allocations: 0 / 1.229 GB, free: 8.645 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.6927, allocations: 4 kB / 1.229 GB, free: 8.641 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.6927, allocations: 0 / 1.229 GB, free: 8.641 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004992/0.6932, allocations: 287.3 kB / 1.229 GB, free: 8.344 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.874e-05/0.6933, allocations: 108.9 kB / 1.229 GB, free: 8.219 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.614e-05/0.6933, allocations: 8 kB / 1.229 GB, free: 8.211 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001627/0.6935, allocations: 19.92 kB / 1.229 GB, free: 8.191 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.648e-05/0.6935, allocations: 19.97 kB / 1.229 GB, free: 8.172 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/0.6936, allocations: 7.938 kB / 1.229 GB, free: 8.164 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002132/0.6938, allocations: 202 kB / 1.23 GB, free: 7.969 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6938, allocations: 4 kB / 1.23 GB, free: 7.965 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003221/0.6941, allocations: 51.92 kB / 1.23 GB, free: 7.914 MB / 0.9512 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.002248/0.6964, allocations: 1.137 MB / 1.231 GB, free: 6.914 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004959/0.6969, allocations: 191.7 kB / 1.231 GB, free: 6.727 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.6969, allocations: 0 / 1.231 GB, free: 6.727 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002008/0.6971, allocations: 75.89 kB / 1.231 GB, free: 6.652 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004129/0.6975, allocations: 50.47 kB / 1.231 GB, free: 6.605 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003466/0.701, allocations: 2.582 MB / 1.234 GB, free: 3.918 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003935/0.7014, allocations: 0.7441 MB / 1.234 GB, free: 3.148 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001013/0.7015, allocations: 41.86 kB / 1.234 GB, free: 3.105 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001376/0.7017, allocations: 75.41 kB / 1.234 GB, free: 3.031 MB / 0.9512 GB Notification: Performance of SimCode: time 2.71e-07/0.7017, allocations: 0 / 1.234 GB, free: 3.031 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02661/0.7283, allocations: 5.428 MB / 1.24 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.083/8.811, allocations: 15.08 kB / 1.24 GB, free: 13.71 MB / 0.9669 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Change.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Change.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches