Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.444/1.444, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001037/0.001037, allocations: 181 kB / 326.5 MB, free: 2.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.913/1.913, allocations: 205.4 MB / 0.5775 GB, free: 20.29 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009886/0.0009882, allocations: 95.36 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003661/0.0003663, allocations: 9.781 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2735/0.2739, allocations: 106.3 MB / 0.9002 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.00221/0.2761, allocations: 1.606 MB / 0.9017 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001242/0.2774, allocations: 0.8394 MB / 0.9026 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001081/0.2775, allocations: 7.938 kB / 0.9026 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003436/0.2779, allocations: 87.67 kB / 0.9026 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000193/0.2781, allocations: 75.77 kB / 0.9027 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002642/0.2784, allocations: 98.12 kB / 0.9028 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000199/0.2786, allocations: 119.8 kB / 0.9029 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001786/0.2787, allocations: 45.81 kB / 0.903 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001294/0.2789, allocations: 79.69 kB / 0.903 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000118/0.279, allocations: 79.55 kB / 0.9031 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.114e-05/0.279, allocations: 8 kB / 0.9031 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.294e-05/0.2791, allocations: 23.94 kB / 0.9031 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.532e-05/0.2792, allocations: 47.81 kB / 0.9032 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.933e-05/0.2793, allocations: 57.62 kB / 0.9032 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000218/0.2795, allocations: 191.8 kB / 0.9034 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.2795, allocations: 0 / 0.9034 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.394e-06/0.2795, allocations: 3.938 kB / 0.9034 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.2795, allocations: 0 / 0.9034 GB, free: 60.48 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0007543/0.2803, allocations: 0.4985 MB / 0.9039 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.2803, allocations: 8.031 kB / 0.9039 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.504e-05/0.2804, allocations: 46.55 kB / 0.904 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.342e-05/0.2804, allocations: 27.72 kB / 0.904 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002926/0.2807, allocations: 265.8 kB / 0.9043 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.2808, allocations: 12.19 kB / 0.9043 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.007e-05/0.2808, allocations: 15.98 kB / 0.9043 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002906/0.2811, allocations: 138.5 kB / 0.9044 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.2811, allocations: 4 kB / 0.9044 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.2811, allocations: 3.953 kB / 0.9044 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.2811, allocations: 4 kB / 0.9044 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002692/0.2814, allocations: 100.4 kB / 0.9045 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006399/0.2821, allocations: 0.5278 MB / 0.905 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002976/0.2824, allocations: 142.6 kB / 0.9052 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.564e-05/0.2824, allocations: 0 / 0.9052 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003092/0.2827, allocations: 128.5 kB / 0.9053 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=16): time 1.422e-06/0.2827, allocations: 4.219 kB / 0.9053 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=16): time 0.0005732/0.2833, allocations: 258.8 kB / 0.9055 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/0.2834, allocations: 67.31 kB / 0.9056 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002589/0.2836, allocations: 326.4 kB / 0.9059 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.2837, allocations: 33.7 kB / 0.906 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.785e-05/0.2838, allocations: 132.5 kB / 0.9061 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.21e-05/0.2838, allocations: 35.55 kB / 0.9061 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.279e-05/0.2838, allocations: 8 kB / 0.9061 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.935e-05/0.2839, allocations: 338.8 kB / 0.9064 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00018/0.2841, allocations: 91.94 kB / 0.9065 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002011/0.2843, allocations: 141.9 kB / 0.9067 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001959/0.2845, allocations: 103.2 kB / 0.9068 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.2845, allocations: 0 / 0.9068 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004606/0.285, allocations: 293.3 kB / 0.907 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.285, allocations: 8 kB / 0.9071 GB, free: 56.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.285, allocations: 0 / 0.9071 GB, free: 56.53 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.285, allocations: 4 kB / 0.9071 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000191/0.2852, allocations: 48.09 kB / 0.9071 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.2852, allocations: 7.938 kB / 0.9071 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001451/0.2854, allocations: 35.81 kB / 0.9071 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.634e-05/0.2854, allocations: 16 kB / 0.9072 GB, free: 56.42 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 21 ($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,cha.u_start) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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.0001237/0.2855, allocations: 163.5 kB / 0.9073 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.678e-05/0.2856, allocations: 19.72 kB / 0.9073 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.086e-05/0.2856, allocations: 30.17 kB / 0.9074 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.2856, allocations: 7.938 kB / 0.9074 GB, free: 56.19 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.2857, allocations: 0 / 0.9074 GB, free: 56.19 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.2857, allocations: 0 / 0.9074 GB, free: 56.19 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006813/0.2863, allocations: 0.5607 MB / 0.9079 GB, free: 55.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2864, allocations: 0 / 0.9079 GB, free: 55.57 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.887e-05/0.2864, allocations: 23.92 kB / 0.9079 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.2865, allocations: 0 / 0.9079 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.2865, allocations: 7.984 kB / 0.9079 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.2865, allocations: 3.984 kB / 0.908 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2865, allocations: 4 kB / 0.908 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003864/0.2869, allocations: 297.8 kB / 0.9082 GB, free: 55.23 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.814e-05/0.287, allocations: 108.8 kB / 0.9083 GB, free: 55.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.627e-05/0.287, allocations: 11.92 kB / 0.9084 GB, free: 55.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/0.2871, allocations: 19.98 kB / 0.9084 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.968e-05/0.2872, allocations: 15.97 kB / 0.9084 GB, free: 55.06 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/0.2872, allocations: 11.94 kB / 0.9084 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001636/0.2874, allocations: 196.5 kB / 0.9086 GB, free: 54.86 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2874, allocations: 0 / 0.9086 GB, free: 54.86 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002897/0.2877, allocations: 47.98 kB / 0.9086 GB, free: 54.81 MB / 0.6042 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.001512/0.2892, allocations: 1.141 MB / 0.9097 GB, free: 53.8 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00043/0.2897, allocations: 206.7 kB / 0.9099 GB, free: 53.6 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2897, allocations: 0 / 0.9099 GB, free: 53.6 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001701/0.2899, allocations: 80.27 kB / 0.91 GB, free: 53.52 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003147/0.2902, allocations: 39.22 kB / 0.9101 GB, free: 53.49 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/0.2913, allocations: 1.61 MB / 0.9116 GB, free: 51.8 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002225/0.2916, allocations: 0.7521 MB / 0.9124 GB, free: 51.02 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 9.858e-05/0.2917, allocations: 33.94 kB / 0.9124 GB, free: 50.99 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.2918, allocations: 67.41 kB / 0.9125 GB, free: 50.92 MB / 0.6042 GB Notification: Performance of SimCode: time 2.41e-07/0.2918, allocations: 0 / 0.9125 GB, free: 50.92 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01573/0.3075, allocations: 4.79 MB / 0.9171 GB, free: 46.25 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000202/0.3078, allocations: 235.1 kB / 0.9174 GB, free: 46.01 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.841/2.149, allocations: 0 / 0.9174 GB, free: 46.01 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Change_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Change.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1)