Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.308/2.308, allocations: 251 MB / 265.9 MB, free: 11.68 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.001604/0.001604, allocations: 187.4 kB / 325.5 MB, free: 2.895 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.578/2.578, allocations: 205.4 MB / 0.5764 GB, free: 20.8 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.001108/0.001108, allocations: 101.8 kB / 0.6809 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004906/0.0004906, allocations: 18.44 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2169/0.2174, allocations: 106.3 MB / 0.8988 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2395/0.457, allocations: 135.6 MB / 1.031 GB, free: 9.719 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003075/0.4573, allocations: 79.95 kB / 1.031 GB, free: 9.641 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03113/0.4885, allocations: 6.888 MB / 1.038 GB, free: 2.746 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.044e-06/0.4885, allocations: 0 / 1.038 GB, free: 2.746 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.063e-05/0.4886, allocations: 8 kB / 1.038 GB, free: 2.738 MB / 0.6823 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.001264/0.4899, allocations: 0.53 MB / 1.039 GB, free: 2.156 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.252e-05/0.4899, allocations: 8.031 kB / 1.039 GB, free: 2.148 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.191e-05/0.49, allocations: 42.55 kB / 1.039 GB, free: 2.098 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.609e-05/0.4901, allocations: 23.72 kB / 1.039 GB, free: 2.074 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006516/0.4908, allocations: 297.7 kB / 1.039 GB, free: 1.742 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.006e-05/0.4908, allocations: 12.19 kB / 1.039 GB, free: 1.73 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.329e-05/0.4909, allocations: 12 kB / 1.039 GB, free: 1.719 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004973/0.4914, allocations: 144 kB / 1.039 GB, free: 1.57 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.4914, allocations: 0 / 1.039 GB, free: 1.57 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.438e-05/0.4915, allocations: 4 kB / 1.039 GB, free: 1.566 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.423e-06/0.4915, allocations: 4 kB / 1.039 GB, free: 1.562 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004967/0.492, allocations: 100.4 kB / 1.039 GB, free: 1.465 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001311/0.4933, allocations: 0.5523 MB / 1.04 GB, free: 0.8594 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005672/0.4939, allocations: 142.6 kB / 1.04 GB, free: 0.7109 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.355e-05/0.4939, allocations: 3.953 kB / 1.04 GB, free: 0.707 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004502/0.4944, allocations: 136.2 kB / 1.04 GB, free: 0.5625 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=16): time 3.296e-06/0.4944, allocations: 224 / 1.04 GB, free: 0.5625 MB / 0.6823 GB Notification: Performance of matching and sorting (n=16): time 0.001162/0.4956, allocations: 266.5 kB / 1.04 GB, free: 304 kB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.518e-05/0.4957, allocations: 59.34 kB / 1.04 GB, free: 232 kB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006252/0.4963, allocations: 297.7 kB / 1.041 GB, free: 15.93 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.236e-05/0.4964, allocations: 33.7 kB / 1.041 GB, free: 15.89 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/0.4965, allocations: 132.5 kB / 1.041 GB, free: 15.76 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.516e-05/0.4966, allocations: 43.53 kB / 1.041 GB, free: 15.71 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.692e-05/0.4966, allocations: 4 kB / 1.041 GB, free: 15.71 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.4968, allocations: 334.8 kB / 1.041 GB, free: 15.38 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004084/0.4972, allocations: 103.9 kB / 1.041 GB, free: 15.27 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004361/0.4977, allocations: 150.3 kB / 1.041 GB, free: 15.11 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004305/0.4981, allocations: 111.8 kB / 1.041 GB, free: 15 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.4981, allocations: 0 / 1.041 GB, free: 15 MB / 0.698 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001073/0.4992, allocations: 321.8 kB / 1.042 GB, free: 14.68 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.589e-05/0.4993, allocations: 7.953 kB / 1.042 GB, free: 14.67 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.4993, allocations: 4 kB / 1.042 GB, free: 14.66 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/0.4993, allocations: 0 / 1.042 GB, free: 14.66 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003845/0.4997, allocations: 56.09 kB / 1.042 GB, free: 14.61 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.359e-05/0.4998, allocations: 4 kB / 1.042 GB, free: 14.61 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003112/0.5001, allocations: 27.83 kB / 1.042 GB, free: 14.58 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.431e-05/0.5001, allocations: 15.98 kB / 1.042 GB, free: 14.56 MB / 0.698 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.0002931/0.5004, allocations: 169.6 kB / 1.042 GB, free: 14.39 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.383e-05/0.5005, allocations: 27.66 kB / 1.042 GB, free: 14.36 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008688/0.5014, allocations: 231.6 kB / 1.042 GB, free: 14.12 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.5014, allocations: 0 / 1.042 GB, free: 14.12 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.5015, allocations: 0 / 1.042 GB, free: 14.12 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.5015, allocations: 0 / 1.042 GB, free: 14.12 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001397/0.5029, allocations: 0.5821 MB / 1.043 GB, free: 13.48 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.5029, allocations: 0 / 1.043 GB, free: 13.48 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001868/0.5031, allocations: 19.98 kB / 1.043 GB, free: 13.46 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.447e-05/0.5032, allocations: 4 kB / 1.043 GB, free: 13.46 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.237e-05/0.5032, allocations: 4 kB / 1.043 GB, free: 13.46 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.5032, allocations: 0 / 1.043 GB, free: 13.46 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.5032, allocations: 0 / 1.043 GB, free: 13.46 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008916/0.5041, allocations: 311.1 kB / 1.043 GB, free: 13.14 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001703/0.5043, allocations: 104.7 kB / 1.043 GB, free: 13.02 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.333e-05/0.5044, allocations: 11.98 kB / 1.043 GB, free: 13 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002679/0.5047, allocations: 19.98 kB / 1.043 GB, free: 12.98 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.445e-05/0.5048, allocations: 15.97 kB / 1.043 GB, free: 12.97 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-05/0.5048, allocations: 8 kB / 1.043 GB, free: 12.96 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003673/0.5052, allocations: 208.4 kB / 1.044 GB, free: 12.76 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.71e-07/0.5052, allocations: 0 / 1.044 GB, free: 12.76 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000504/0.5057, allocations: 55.91 kB / 1.044 GB, free: 12.7 MB / 0.698 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 (17): * Single equations (assignments): 12 * 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.002379/0.5081, allocations: 1.162 MB / 1.045 GB, free: 11.68 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0009297/0.5091, allocations: 212.4 kB / 1.045 GB, free: 11.47 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.5091, allocations: 0 / 1.045 GB, free: 11.47 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003483/0.5095, allocations: 85.59 kB / 1.045 GB, free: 11.39 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005383/0.51, allocations: 36.53 kB / 1.045 GB, free: 11.36 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00208/0.5121, allocations: 1.635 MB / 1.047 GB, free: 9.645 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005106/0.5127, allocations: 0.7598 MB / 1.047 GB, free: 8.855 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002343/0.5129, allocations: 37.91 kB / 1.047 GB, free: 8.816 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002059/0.5131, allocations: 75.41 kB / 1.047 GB, free: 8.742 MB / 0.698 GB Notification: Performance of SimCode: time 1.222e-06/0.5132, allocations: 4 kB / 1.047 GB, free: 8.738 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03222/0.5454, allocations: 4.903 MB / 1.052 GB, free: 3.984 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002581/0.5457, allocations: 216.1 kB / 1.052 GB, free: 3.75 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.541/3.086, allocations: 64 / 1.052 GB, free: 3.75 MB / 0.698 GB