Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Integers_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="Buildings_10_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.005275/0.005275, allocations: 98.17 kB / 15.73 MB, free: 6.012 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.001149/0.001149, allocations: 196.6 kB / 16.68 MB, free: 5.93 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.302/1.302, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.387/2.387, allocations: 437 MB / 0.7105 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 64.12 kB / 1.018 GB, free: 9.871 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7181/0.7194, allocations: 151.6 MB / 1.166 GB, free: 3.746 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003203/0.7226, allocations: 1.938 MB / 1.168 GB, free: 1.801 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001838/0.7245, allocations: 1.111 MB / 1.169 GB, free: 0.6836 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001315/0.7246, allocations: 4 kB / 1.169 GB, free: 0.6797 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0003481/0.725, allocations: 99.55 kB / 1.169 GB, free: 0.582 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002993/0.7253, allocations: 95.59 kB / 1.169 GB, free: 500 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004259/0.7257, allocations: 161 kB / 1.169 GB, free: 340 kB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002804/0.726, allocations: 215.4 kB / 1.17 GB, free: 124 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001521/0.7262, allocations: 49.59 kB / 1.17 GB, free: 72 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002022/0.7264, allocations: 107.6 kB / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001437/0.7266, allocations: 99.59 kB / 1.17 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.493e-05/0.7266, allocations: 16 kB / 1.17 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001339/0.7267, allocations: 55.89 kB / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 7.751e-05/0.7268, allocations: 55.83 kB / 1.17 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 9.586e-05/0.7269, allocations: 95.41 kB / 1.17 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0003498/0.7273, allocations: 278.5 kB / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.7273, allocations: 0 / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.573e-06/0.7273, allocations: 0 / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.949e-06/0.7273, allocations: 0 / 1.17 GB, free: 15.38 MB / 0.9044 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.0008912/0.7282, allocations: 0.5449 MB / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.7283, allocations: 16.91 kB / 1.171 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.241e-05/0.7283, allocations: 38.75 kB / 1.171 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.148e-05/0.7284, allocations: 24.8 kB / 1.171 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003477/0.7287, allocations: 295.2 kB / 1.171 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.7288, allocations: 8 kB / 1.171 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.328e-05/0.7288, allocations: 8 kB / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003027/0.7291, allocations: 122.9 kB / 1.171 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.7291, allocations: 3.938 kB / 1.171 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.745e-05/0.7292, allocations: 7.984 kB / 1.171 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.7292, allocations: 0 / 1.171 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002879/0.7295, allocations: 91.86 kB / 1.172 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006892/0.7302, allocations: 452.5 kB / 1.172 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000351/0.7305, allocations: 126.6 kB / 1.172 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001634/0.7307, allocations: 64.81 kB / 1.172 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/0.7307, allocations: 0 / 1.172 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002856/0.731, allocations: 123.5 kB / 1.172 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=16): time 3.036e-06/0.731, allocations: 3.984 kB / 1.172 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of matching and sorting (n=16): time 0.0006715/0.7317, allocations: 248.3 kB / 1.173 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.7318, allocations: 63.34 kB / 1.173 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003459/0.7321, allocations: 326.5 kB / 1.173 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/0.7321, allocations: 33.7 kB / 1.173 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 8.919e-05/0.7322, allocations: 140.4 kB / 1.173 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.413e-05/0.7323, allocations: 43.67 kB / 1.173 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.958e-05/0.7324, allocations: 65.69 kB / 1.173 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.7325, allocations: 334.8 kB / 1.173 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002131/0.7327, allocations: 79.95 kB / 1.174 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002318/0.733, allocations: 133.1 kB / 1.174 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003945/0.7334, allocations: 190.8 kB / 1.174 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.7334, allocations: 0 / 1.174 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005634/0.7339, allocations: 290.1 kB / 1.174 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.734, allocations: 4 kB / 1.174 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.734, allocations: 4 kB / 1.174 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.734, allocations: 3.984 kB / 1.174 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002081/0.7342, allocations: 39.92 kB / 1.174 GB, free: 11.26 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/0.7342, allocations: 4 kB / 1.174 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001614/0.7344, allocations: 28.08 kB / 1.174 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.859e-05/0.7344, allocations: 12 kB / 1.174 GB, free: 11.21 MB / 0.9044 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.0001361/0.7346, allocations: 157.7 kB / 1.174 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.163e-05/0.7346, allocations: 23.86 kB / 1.174 GB, free: 11.03 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.803e-05/0.7347, allocations: 26.17 kB / 1.174 GB, free: 11 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.7347, allocations: 0 / 1.174 GB, free: 11 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.7347, allocations: 0 / 1.174 GB, free: 11 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.7347, allocations: 0 / 1.174 GB, free: 11 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000803/0.7355, allocations: 0.5567 MB / 1.175 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.7355, allocations: 4 kB / 1.175 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.144e-05/0.7356, allocations: 11.98 kB / 1.175 GB, free: 10.37 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.7357, allocations: 0 / 1.175 GB, free: 10.37 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.604e-05/0.7357, allocations: 8 kB / 1.175 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.7357, allocations: 3.938 kB / 1.175 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.7357, allocations: 0 / 1.175 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004695/0.7362, allocations: 299.2 kB / 1.175 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.184e-05/0.7362, allocations: 108.9 kB / 1.175 GB, free: 9.922 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.528e-05/0.7363, allocations: 0 / 1.175 GB, free: 9.922 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001546/0.7364, allocations: 15.98 kB / 1.175 GB, free: 9.906 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.69e-05/0.7365, allocations: 19.97 kB / 1.175 GB, free: 9.887 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.7365, allocations: 11.94 kB / 1.175 GB, free: 9.875 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001904/0.7367, allocations: 210 kB / 1.176 GB, free: 9.676 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7367, allocations: 0 / 1.176 GB, free: 9.676 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003251/0.7371, allocations: 47.92 kB / 1.176 GB, free: 9.629 MB / 0.9044 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.001581/0.7387, allocations: 1.134 MB / 1.177 GB, free: 8.633 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004739/0.7392, allocations: 185.6 kB / 1.177 GB, free: 8.453 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.7392, allocations: 0 / 1.177 GB, free: 8.453 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001924/0.7394, allocations: 80.19 kB / 1.177 GB, free: 8.375 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00042/0.7398, allocations: 69.84 kB / 1.177 GB, free: 8.309 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003202/0.743, allocations: 2.571 MB / 1.18 GB, free: 5.633 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002929/0.7433, allocations: 0.748 MB / 1.18 GB, free: 4.859 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001047/0.7434, allocations: 29.94 kB / 1.18 GB, free: 4.832 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001277/0.7436, allocations: 71.41 kB / 1.18 GB, free: 4.762 MB / 0.9044 GB Notification: Performance of SimCode: time 2.71e-07/0.7436, allocations: 7.938 kB / 1.18 GB, free: 4.754 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02253/0.7661, allocations: 5.433 MB / 1.186 GB, free: 15.4 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.536/8.302, allocations: 10.83 kB / 1.186 GB, free: 15.39 MB / 0.92 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Controls_OBC_CDL_Integers_Validation_Change.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Change.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches