Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_Buildings_Controls_OBC_CDL_Integers_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="Buildings_8_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.001008/0.001008, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001078/0.001078, allocations: 193.1 kB / 16.14 MB, free: 6.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.285/1.285, allocations: 205.1 MB / 222 MB, free: 4.73 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.64/1.64, allocations: 292.3 MB / 0.5484 GB, free: 13.67 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 68.62 kB / 0.6709 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1808/0.1822, allocations: 114.5 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003008/0.1852, allocations: 1.982 MB / 0.7847 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001455/0.1867, allocations: 1.019 MB / 0.7857 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.361e-05/0.1868, allocations: 7.938 kB / 0.7857 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003578/0.1872, allocations: 87.73 kB / 0.7858 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001829/0.1874, allocations: 83.67 kB / 0.7859 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002768/0.1877, allocations: 131.8 kB / 0.786 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002128/0.1879, allocations: 199.4 kB / 0.7862 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.188, allocations: 41.94 kB / 0.7863 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001245/0.1882, allocations: 91.56 kB / 0.7863 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000119/0.1883, allocations: 103.6 kB / 0.7864 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.541e-05/0.1883, allocations: 12 kB / 0.7865 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.1884, allocations: 39.98 kB / 0.7865 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.906e-05/0.1885, allocations: 51.83 kB / 0.7865 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.734e-05/0.1886, allocations: 95.33 kB / 0.7866 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003051/0.1889, allocations: 259.2 kB / 0.7869 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1889, allocations: 0 / 0.7869 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.32e-07/0.1889, allocations: 3.938 kB / 0.7869 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.1889, allocations: 0 / 0.7869 GB, free: 9.695 MB / 0.6075 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.0008539/0.1898, allocations: 0.5375 MB / 0.7874 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.1898, allocations: 12.03 kB / 0.7874 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.028e-05/0.1899, allocations: 38.73 kB / 0.7875 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.197e-05/0.1899, allocations: 28.66 kB / 0.7875 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003142/0.1903, allocations: 287.8 kB / 0.7878 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.1903, allocations: 8 kB / 0.7878 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.016e-05/0.1903, allocations: 8 kB / 0.7878 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002737/0.1906, allocations: 120.4 kB / 0.7879 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.182e-06/0.1906, allocations: 0 / 0.7879 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.1906, allocations: 8 kB / 0.7879 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.878e-06/0.1906, allocations: 15.91 kB / 0.7879 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002691/0.1909, allocations: 83.81 kB / 0.788 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006512/0.1916, allocations: 460.5 kB / 0.7884 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003327/0.1919, allocations: 130.5 kB / 0.7886 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001517/0.1921, allocations: 60.86 kB / 0.7886 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.1921, allocations: 8 kB / 0.7886 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002617/0.1924, allocations: 122.1 kB / 0.7887 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.493e-06/0.1924, allocations: 0 / 0.7887 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.0006213/0.193, allocations: 249.1 kB / 0.789 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/0.1931, allocations: 59.41 kB / 0.789 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003102/0.1934, allocations: 326.5 kB / 0.7893 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.508e-05/0.1934, allocations: 37.69 kB / 0.7894 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.991e-05/0.1935, allocations: 136.5 kB / 0.7895 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.516e-05/0.1935, allocations: 39.45 kB / 0.7896 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.356e-05/0.1936, allocations: 61.69 kB / 0.7896 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.1938, allocations: 338.8 kB / 0.7899 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002032/0.194, allocations: 87.89 kB / 0.79 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002555/0.1942, allocations: 130 kB / 0.7901 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000376/0.1946, allocations: 201.8 kB / 0.7903 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1946, allocations: 0 / 0.7903 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005498/0.1952, allocations: 288.5 kB / 0.7906 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.1952, allocations: 7.938 kB / 0.7906 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.1952, allocations: 7.938 kB / 0.7906 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.1952, allocations: 0 / 0.7906 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001946/0.1954, allocations: 47.91 kB / 0.7907 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.1955, allocations: 4 kB / 0.7907 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001551/0.1956, allocations: 23.89 kB / 0.7907 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.314e-05/0.1956, allocations: 16.12 kB / 0.7907 GB, free: 5.508 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.cha.y,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 (31): * Single equations (assignments): 31 * 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.000131/0.1958, allocations: 163.1 kB / 0.7909 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.44e-05/0.1958, allocations: 23.66 kB / 0.7909 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.732e-05/0.1959, allocations: 26.17 kB / 0.7909 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.1959, allocations: 7.938 kB / 0.7909 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.125e-06/0.1959, allocations: 0 / 0.7909 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.1959, allocations: 0 / 0.7909 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000791/0.1967, allocations: 0.5451 MB / 0.7915 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1967, allocations: 0 / 0.7915 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.775e-05/0.1968, allocations: 19.92 kB / 0.7915 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1968, allocations: 0 / 0.7915 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/0.1968, allocations: 7.984 kB / 0.7915 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.1968, allocations: 4 kB / 0.7915 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1968, allocations: 0 / 0.7915 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004426/0.1973, allocations: 293.3 kB / 0.7918 GB, free: 4.352 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.089e-05/0.1974, allocations: 104.8 kB / 0.7919 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.217e-05/0.1974, allocations: 3.984 kB / 0.7919 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000164/0.1976, allocations: 23.97 kB / 0.7919 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.643e-05/0.1976, allocations: 15.98 kB / 0.7919 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.1977, allocations: 11.92 kB / 0.7919 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001913/0.1979, allocations: 206 kB / 0.7921 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1979, allocations: 4 kB / 0.7921 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003008/0.1982, allocations: 51.94 kB / 0.7922 GB, free: 3.918 MB / 0.6075 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.00157/0.1997, allocations: 1.15 MB / 0.7933 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004304/0.2002, allocations: 183.8 kB / 0.7935 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2002, allocations: 4 kB / 0.7935 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001757/0.2004, allocations: 68.28 kB / 0.7935 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003843/0.2008, allocations: 56.45 kB / 0.7936 GB, free: 2.605 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003137/0.2039, allocations: 2.638 MB / 0.7962 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000329/0.2043, allocations: 0.7518 MB / 0.7969 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 9.938e-05/0.2044, allocations: 41.88 kB / 0.7969 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/0.2045, allocations: 67.41 kB / 0.797 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of SimCode: time 4.61e-07/0.2045, allocations: 4 kB / 0.797 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01396/0.2185, allocations: 5.063 MB / 0.802 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002088/0.2187, allocations: 251.4 kB / 0.8022 GB, free: 9.766 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.828/2.047, allocations: 0 / 0.8022 GB, free: 9.766 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Change_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Change.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1)