Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="Buildings_maint_8_0_x_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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.652/1.652, allocations: 288.2 MB / 303.2 MB, free: 8.195 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001097/0.001097, allocations: 181 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.804/1.804, allocations: 205.4 MB / 0.6305 GB, free: 9.996 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001183/0.001183, allocations: 93.58 kB / 0.7439 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004503/0.0004503, allocations: 16.27 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.2826, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.002416/0.2851, allocations: 1.578 MB / 0.981 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001472/0.2866, allocations: 0.961 MB / 0.982 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.2867, allocations: 3.938 kB / 0.982 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000352/0.287, allocations: 79.75 kB / 0.982 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001974/0.2872, allocations: 83.7 kB / 0.9821 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002852/0.2875, allocations: 109.2 kB / 0.9822 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001944/0.2877, allocations: 131.8 kB / 0.9824 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001477/0.2879, allocations: 37.83 kB / 0.9824 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001261/0.288, allocations: 87.62 kB / 0.9825 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000102/0.2881, allocations: 75.67 kB / 0.9825 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.2882, allocations: 4 kB / 0.9826 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.2883, allocations: 47.89 kB / 0.9826 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.918e-05/0.2883, allocations: 47.83 kB / 0.9826 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.699e-05/0.2884, allocations: 61.58 kB / 0.9827 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002225/0.2886, allocations: 199.8 kB / 0.9829 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.135e-06/0.2886, allocations: 0 / 0.9829 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.974e-06/0.2887, allocations: 0 / 0.9829 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.2887, allocations: 0 / 0.9829 GB, free: 24.09 MB / 0.6198 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.0008566/0.2895, allocations: 0.5179 MB / 0.9834 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.2896, allocations: 12.02 kB / 0.9834 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.948e-05/0.2896, allocations: 50.45 kB / 0.9835 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.512e-05/0.2897, allocations: 27.7 kB / 0.9835 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000363/0.2901, allocations: 270.7 kB / 0.9837 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.2901, allocations: 12.17 kB / 0.9838 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.42e-05/0.2901, allocations: 8 kB / 0.9838 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002831/0.2904, allocations: 124.8 kB / 0.9839 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.2904, allocations: 0 / 0.9839 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.911e-05/0.2905, allocations: 11.95 kB / 0.9839 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.2905, allocations: 0 / 0.9839 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002537/0.2907, allocations: 100.4 kB / 0.984 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000637/0.2914, allocations: 460.5 kB / 0.9844 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003002/0.2917, allocations: 142.6 kB / 0.9846 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.945e-05/0.2917, allocations: 0 / 0.9846 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002517/0.292, allocations: 127.3 kB / 0.9847 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 1.694e-06/0.292, allocations: 224 / 0.9847 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.0005881/0.2926, allocations: 258.7 kB / 0.9849 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/0.2926, allocations: 63.34 kB / 0.985 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002701/0.2929, allocations: 330.5 kB / 0.9853 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.293, allocations: 33.7 kB / 0.9853 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.954e-05/0.293, allocations: 136.5 kB / 0.9855 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.02e-05/0.2931, allocations: 39.45 kB / 0.9855 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.135e-05/0.2931, allocations: 8 kB / 0.9855 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.648e-05/0.2932, allocations: 342.8 kB / 0.9858 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001806/0.2934, allocations: 87.94 kB / 0.9859 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002207/0.2936, allocations: 138 kB / 0.9861 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001874/0.2938, allocations: 103.9 kB / 0.9862 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.2938, allocations: 0 / 0.9862 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004704/0.2943, allocations: 292.3 kB / 0.9864 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.2943, allocations: 4 kB / 0.9864 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.2943, allocations: 4 kB / 0.9864 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.2943, allocations: 0 / 0.9864 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001884/0.2945, allocations: 56.09 kB / 0.9865 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.2945, allocations: 0 / 0.9865 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001428/0.2947, allocations: 31.88 kB / 0.9865 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.515e-05/0.2947, allocations: 8 kB / 0.9865 GB, free: 20.11 MB / 0.6198 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,$PRE.decreaseSampler.y,decreaseSampler.y,$PRE.increaseSampler.y,increaseSampler.y,$PRE.changeSampler.y,changeSampler.y,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition4,$whenCondition3,$whenCondition1,$PRE.cha.u,cha.u,cha.y,cha.up,cha.down,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001313/0.2949, allocations: 174.7 kB / 0.9867 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.694e-05/0.2949, allocations: 23.8 kB / 0.9867 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.002e-05/0.2949, allocations: 30.17 kB / 0.9868 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.295, allocations: 0 / 0.9868 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.295, allocations: 0 / 0.9868 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.295, allocations: 0 / 0.9868 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006749/0.2957, allocations: 0.5722 MB / 0.9873 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.2957, allocations: 0 / 0.9873 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.001e-05/0.2958, allocations: 19.92 kB / 0.9873 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.2958, allocations: 3.984 kB / 0.9873 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.2958, allocations: 8 kB / 0.9873 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.2958, allocations: 4 kB / 0.9873 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2958, allocations: 0 / 0.9873 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003786/0.2962, allocations: 300.2 kB / 0.9876 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.375e-05/0.2962, allocations: 104.8 kB / 0.9877 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.569e-05/0.2963, allocations: 11.94 kB / 0.9877 GB, free: 18.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/0.2964, allocations: 15.98 kB / 0.9878 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.338e-05/0.2965, allocations: 19.97 kB / 0.9878 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.2965, allocations: 4 kB / 0.9878 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001602/0.2967, allocations: 205.9 kB / 0.988 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2967, allocations: 4 kB / 0.988 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002955/0.297, allocations: 47.91 kB / 0.988 GB, free: 18.49 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001402/0.2984, allocations: 1.157 MB / 0.9892 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004214/0.2988, allocations: 195.8 kB / 0.9893 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2989, allocations: 0 / 0.9893 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001636/0.299, allocations: 80.27 kB / 0.9894 GB, free: 17.19 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000307/0.2993, allocations: 46.08 kB / 0.9895 GB, free: 17.15 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/0.3004, allocations: 1.626 MB / 0.9911 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002151/0.3007, allocations: 0.7557 MB / 0.9918 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.713e-05/0.3008, allocations: 37.92 kB / 0.9918 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.3009, allocations: 75.41 kB / 0.9919 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of SimCode: time 2.6e-07/0.3009, allocations: 0 / 0.9919 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01811/0.319, allocations: 4.957 MB / 0.9967 GB, free: 9.707 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001901/0.3193, allocations: 233.1 kB / 0.997 GB, free: 9.469 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.859/2.178, allocations: 4.062 kB / 0.997 GB, free: 9.465 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Change_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Change.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1)