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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="Buildings_latest_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.007809/0.007809, allocations: 96.7 kB / 15.73 MB, free: 6.039 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.00193/0.00193, allocations: 193.3 kB / 16.67 MB, free: 5.969 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.357/1.357, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.722/2.722, allocations: 469.4 MB / 0.7422 GB, free: 7.621 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 55.91 kB / 1.064 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2929/0.2943, allocations: 159.1 MB / 1.22 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003719/0.2981, allocations: 1.931 MB / 1.222 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002104/0.3002, allocations: 1.122 MB / 1.223 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001783/0.3004, allocations: 4 kB / 1.223 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004219/0.3009, allocations: 99.55 kB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003688/0.3013, allocations: 91.59 kB / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000482/0.3018, allocations: 167.4 kB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003068/0.3021, allocations: 211.5 kB / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001604/0.3023, allocations: 41.67 kB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002092/0.3025, allocations: 111.5 kB / 1.223 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001517/0.3026, allocations: 99.59 kB / 1.224 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.523e-05/0.3027, allocations: 16 kB / 1.224 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001409/0.3028, allocations: 59.95 kB / 1.224 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.432e-05/0.3029, allocations: 51.83 kB / 1.224 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.794e-05/0.303, allocations: 91.36 kB / 1.224 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003658/0.3034, allocations: 278.8 kB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3034, allocations: 0 / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3034, allocations: 0 / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.233e-06/0.3034, allocations: 0 / 1.224 GB, free: 10.29 MB / 0.9825 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.001089/0.3045, allocations: 0.5489 MB / 1.225 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.3046, allocations: 15.97 kB / 1.225 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.149e-05/0.3046, allocations: 34.75 kB / 1.225 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.619e-05/0.3047, allocations: 28.75 kB / 1.225 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004709/0.3052, allocations: 291.2 kB / 1.225 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.502e-05/0.3052, allocations: 8 kB / 1.225 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.365e-05/0.3053, allocations: 11.98 kB / 1.225 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003116/0.3056, allocations: 121.5 kB / 1.225 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.3056, allocations: 7.875 kB / 1.225 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.944e-05/0.3056, allocations: 7.984 kB / 1.225 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.3056, allocations: 4 kB / 1.225 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002829/0.3059, allocations: 83.92 kB / 1.225 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007346/0.3067, allocations: 456.4 kB / 1.226 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003395/0.307, allocations: 122.6 kB / 1.226 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001706/0.3072, allocations: 64.86 kB / 1.226 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.431e-05/0.3072, allocations: 0 / 1.226 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002893/0.3075, allocations: 131.4 kB / 1.226 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 3.166e-06/0.3076, allocations: 0 / 1.226 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.0007935/0.3083, allocations: 255.8 kB / 1.226 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001106/0.3085, allocations: 55.41 kB / 1.226 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003547/0.3088, allocations: 322.6 kB / 1.226 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/0.3089, allocations: 37.69 kB / 1.227 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001308/0.309, allocations: 132.5 kB / 1.227 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.253e-05/0.3091, allocations: 47.67 kB / 1.227 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.564e-05/0.3091, allocations: 57.69 kB / 1.227 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.3093, allocations: 338.8 kB / 1.227 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002145/0.3095, allocations: 87.89 kB / 1.227 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002726/0.3098, allocations: 133.6 kB / 1.227 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003912/0.3102, allocations: 186.5 kB / 1.227 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.3102, allocations: 0 / 1.227 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006167/0.3108, allocations: 282.6 kB / 1.228 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.3108, allocations: 9.859 kB / 1.228 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.3108, allocations: 4 kB / 1.228 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.3109, allocations: 0 / 1.228 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002169/0.3111, allocations: 39.92 kB / 1.228 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.3111, allocations: 7.984 kB / 1.228 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001603/0.3113, allocations: 28.03 kB / 1.228 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.612e-05/0.3113, allocations: 12 kB / 1.228 GB, free: 6.121 MB / 0.9825 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.000151/0.3115, allocations: 158.2 kB / 1.228 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.815e-05/0.3115, allocations: 23.86 kB / 1.228 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.286e-05/0.3116, allocations: 26.17 kB / 1.228 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3116, allocations: 0 / 1.228 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.3116, allocations: 0 / 1.228 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.3116, allocations: 4 kB / 1.228 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009041/0.3125, allocations: 0.5606 MB / 1.229 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.3125, allocations: 0 / 1.229 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.115e-05/0.3126, allocations: 11.98 kB / 1.229 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.632e-06/0.3126, allocations: 0 / 1.229 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.3126, allocations: 15.88 kB / 1.229 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.3126, allocations: 3.938 kB / 1.229 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3126, allocations: 0 / 1.229 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004707/0.3131, allocations: 295.3 kB / 1.229 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.285e-05/0.3132, allocations: 104.9 kB / 1.229 GB, free: 4.828 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.956e-05/0.3133, allocations: 8 kB / 1.229 GB, free: 4.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001533/0.3134, allocations: 11.98 kB / 1.229 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.823e-05/0.3135, allocations: 19.95 kB / 1.229 GB, free: 4.789 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-05/0.3135, allocations: 11.94 kB / 1.229 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000197/0.3137, allocations: 214 kB / 1.229 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3137, allocations: 0 / 1.229 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003222/0.3141, allocations: 47.92 kB / 1.229 GB, free: 4.52 MB / 0.9825 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.001585/0.3157, allocations: 1.135 MB / 1.23 GB, free: 3.52 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004752/0.3161, allocations: 182 kB / 1.231 GB, free: 3.344 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3162, allocations: 0 / 1.231 GB, free: 3.344 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001952/0.3164, allocations: 79.83 kB / 1.231 GB, free: 3.266 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004237/0.3168, allocations: 61.77 kB / 1.231 GB, free: 3.211 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003255/0.3201, allocations: 2.582 MB / 1.233 GB, free: 0.5273 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003183/0.3204, allocations: 0.748 MB / 1.234 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001015/0.3205, allocations: 33.94 kB / 1.234 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.3206, allocations: 75.41 kB / 1.234 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of SimCode: time 2.8e-07/0.3206, allocations: 0 / 1.234 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02188/0.3425, allocations: 5.422 MB / 1.239 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.647/7.989, allocations: 13.28 kB / 1.239 GB, free: 10.34 MB / 0.9981 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Change.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.csv","/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