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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001118/0.001118, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001243/0.001243, allocations: 190.9 kB / 16.25 MB, free: 6.633 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.465/1.465, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.689/2.689, allocations: 461.9 MB / 0.7343 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 68.66 kB / 0.8987 GB, free: 37.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3124/0.3138, allocations: 157.4 MB / 1.052 GB, free: 8.668 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003792/0.3176, allocations: 1.994 MB / 1.054 GB, free: 6.656 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001935/0.3196, allocations: 1.099 MB / 1.055 GB, free: 5.555 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001682/0.3198, allocations: 3.938 kB / 1.055 GB, free: 5.551 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0004104/0.3202, allocations: 91.75 kB / 1.056 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000316/0.3206, allocations: 83.66 kB / 1.056 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004687/0.321, allocations: 139.8 kB / 1.056 GB, free: 5.242 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003069/0.3214, allocations: 211.4 kB / 1.056 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001808/0.3216, allocations: 49.66 kB / 1.056 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002069/0.3218, allocations: 99.56 kB / 1.056 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001567/0.3219, allocations: 103.6 kB / 1.056 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.08e-05/0.322, allocations: 12 kB / 1.056 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001513/0.3221, allocations: 51.98 kB / 1.056 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.798e-05/0.3222, allocations: 67.8 kB / 1.056 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.742e-05/0.3223, allocations: 91.36 kB / 1.056 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003642/0.3227, allocations: 263.4 kB / 1.057 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3227, allocations: 0 / 1.057 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.362e-06/0.3227, allocations: 4 kB / 1.057 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.471e-05/0.3228, allocations: 0 / 1.057 GB, free: 4.309 MB / 0.8106 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.0009669/0.3237, allocations: 0.5375 MB / 1.057 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.3238, allocations: 8.625 kB / 1.057 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.667e-05/0.3238, allocations: 42.73 kB / 1.057 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.772e-05/0.3239, allocations: 28.56 kB / 1.057 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003848/0.3243, allocations: 287.2 kB / 1.058 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.3243, allocations: 12 kB / 1.058 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.763e-05/0.3244, allocations: 19.94 kB / 1.058 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003096/0.3247, allocations: 113.6 kB / 1.058 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.3247, allocations: 0 / 1.058 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.3247, allocations: 3.938 kB / 1.058 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.3247, allocations: 7.984 kB / 1.058 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002786/0.325, allocations: 87.86 kB / 1.058 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008201/0.3258, allocations: 452.4 kB / 1.058 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003361/0.3262, allocations: 134.6 kB / 1.058 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001485/0.3263, allocations: 56.81 kB / 1.058 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.776e-05/0.3264, allocations: 7.984 kB / 1.058 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002902/0.3267, allocations: 119.5 kB / 1.058 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 1.844e-06/0.3267, allocations: 4 kB / 1.059 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.000651/0.3273, allocations: 255.1 kB / 1.059 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/0.3274, allocations: 55.41 kB / 1.059 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003378/0.3277, allocations: 326.5 kB / 1.059 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.585e-05/0.3278, allocations: 33.7 kB / 1.059 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.333e-05/0.3279, allocations: 136.4 kB / 1.059 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.043e-05/0.3279, allocations: 39.53 kB / 1.059 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.367e-05/0.328, allocations: 65.61 kB / 1.059 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.3282, allocations: 334.8 kB / 1.06 GB, free: 0.9688 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002233/0.3284, allocations: 83.94 kB / 1.06 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002363/0.3287, allocations: 133.6 kB / 1.06 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000376/0.3291, allocations: 194.5 kB / 1.06 GB, free: 0.5312 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.3291, allocations: 8 kB / 1.06 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005375/0.3296, allocations: 271 kB / 1.06 GB, free: 260 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.3296, allocations: 8.938 kB / 1.06 GB, free: 252 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.3297, allocations: 0 / 1.06 GB, free: 252 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.3297, allocations: 4 kB / 1.06 GB, free: 248 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002123/0.3299, allocations: 47.91 kB / 1.06 GB, free: 200 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.3299, allocations: 4.156 kB / 1.06 GB, free: 196 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001667/0.3301, allocations: 23.89 kB / 1.06 GB, free: 172 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.666e-05/0.3301, allocations: 11.98 kB / 1.06 GB, free: 160 kB / 0.8106 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.0001708/0.3303, allocations: 161.8 kB / 1.061 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.405e-05/0.3303, allocations: 19.75 kB / 1.061 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.183e-05/0.3304, allocations: 26.12 kB / 1.061 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.3304, allocations: 4 kB / 1.061 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.3304, allocations: 0 / 1.061 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3304, allocations: 4 kB / 1.061 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007831/0.3312, allocations: 0.5488 MB / 1.061 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3312, allocations: 0 / 1.061 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.941e-05/0.3313, allocations: 15.98 kB / 1.061 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.3313, allocations: 0 / 1.061 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.3314, allocations: 3.984 kB / 1.061 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.73e-06/0.3314, allocations: 12 kB / 1.061 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3314, allocations: 0 / 1.061 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004424/0.3318, allocations: 293.6 kB / 1.061 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.248e-05/0.3319, allocations: 100.8 kB / 1.062 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.96e-05/0.332, allocations: 7.984 kB / 1.062 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001462/0.3321, allocations: 15.98 kB / 1.062 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.578e-05/0.3322, allocations: 23.97 kB / 1.062 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.55e-05/0.3322, allocations: 7.984 kB / 1.062 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001993/0.3324, allocations: 209.9 kB / 1.062 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.21e-07/0.3324, allocations: 3.938 kB / 1.062 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003117/0.3327, allocations: 55.89 kB / 1.062 GB, free: 14.56 MB / 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.001742/0.3345, allocations: 1.131 MB / 1.063 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005028/0.335, allocations: 194 kB / 1.063 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.335, allocations: 320 / 1.063 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001946/0.3352, allocations: 79.89 kB / 1.063 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004135/0.3356, allocations: 52.41 kB / 1.063 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003473/0.3391, allocations: 2.603 MB / 1.066 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003635/0.3395, allocations: 0.7519 MB / 1.067 GB, free: 9.754 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001155/0.3396, allocations: 37.92 kB / 1.067 GB, free: 9.715 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/0.3398, allocations: 75.41 kB / 1.067 GB, free: 9.645 MB / 0.8262 GB Notification: Performance of SimCode: time 4.91e-07/0.3398, allocations: 0 / 1.067 GB, free: 9.645 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.587/3.927, allocations: 5.181 MB / 1.072 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001993/3.927, allocations: 253.8 kB / 1.072 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.647/6.574, allocations: 0 / 1.072 GB, free: 4.352 MB / 0.8262 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Change_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.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