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: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Change") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002041/0.002041, allocations: 198.2 kB / 16.64 MB, free: 6.449 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.589/1.589, allocations: 205.1 MB / 222.5 MB, free: 4.574 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.831/1.831, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001496/0.001497, allocations: 71.91 kB / 0.6723 GB, free: 25.94 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2853/0.2868, allocations: 114.5 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003791/0.2906, allocations: 1.917 MB / 0.786 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0023/0.293, allocations: 1.042 MB / 0.787 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002139/0.2932, allocations: 11.94 kB / 0.787 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006047/0.2939, allocations: 95.56 kB / 0.7871 GB, free: 9.656 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0004261/0.2944, allocations: 91.58 kB / 0.7872 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004858/0.2948, allocations: 131.6 kB / 0.7873 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003473/0.2952, allocations: 215.5 kB / 0.7875 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002258/0.2954, allocations: 49.64 kB / 0.7876 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002207/0.2957, allocations: 103.5 kB / 0.7877 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001544/0.2958, allocations: 99.59 kB / 0.7878 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.11e-05/0.2959, allocations: 12 kB / 0.7878 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001844/0.2961, allocations: 55.97 kB / 0.7879 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.004e-05/0.2962, allocations: 59.81 kB / 0.7879 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.2963, allocations: 91.36 kB / 0.788 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003609/0.2967, allocations: 279.1 kB / 0.7883 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.2967, allocations: 0 / 0.7883 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.615e-06/0.2967, allocations: 0 / 0.7883 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.223e-06/0.2967, allocations: 3.938 kB / 0.7883 GB, free: 8.488 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.0009405/0.2976, allocations: 0.5413 MB / 0.7888 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.2977, allocations: 12.03 kB / 0.7888 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.592e-05/0.2978, allocations: 28.59 kB / 0.7888 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003657/0.2981, allocations: 284.1 kB / 0.7891 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.2982, allocations: 11.94 kB / 0.7891 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.582e-05/0.2982, allocations: 12 kB / 0.7891 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002905/0.2985, allocations: 116 kB / 0.7892 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.2985, allocations: 3.938 kB / 0.7892 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.532e-05/0.2985, allocations: 4 kB / 0.7892 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.2985, allocations: 4 kB / 0.7893 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000267/0.2988, allocations: 83.86 kB / 0.7893 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008178/0.2996, allocations: 464.5 kB / 0.7898 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003697/0.3, allocations: 126.6 kB / 0.7899 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001709/0.3002, allocations: 64.81 kB / 0.79 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.414e-05/0.3003, allocations: 4 kB / 0.79 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000311/0.3006, allocations: 131.2 kB / 0.7901 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 2.224e-06/0.3006, allocations: 0 / 0.7901 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.0006948/0.3013, allocations: 247.9 kB / 0.7903 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.013e-05/0.3014, allocations: 59.34 kB / 0.7904 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003471/0.3017, allocations: 326.5 kB / 0.7907 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.893e-05/0.3017, allocations: 33.7 kB / 0.7907 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.844e-05/0.3019, allocations: 136.5 kB / 0.7909 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.415e-05/0.3019, allocations: 43.44 kB / 0.7909 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.303e-05/0.302, allocations: 61.69 kB / 0.791 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.3021, allocations: 342.8 kB / 0.7913 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002012/0.3024, allocations: 79.95 kB / 0.7914 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002275/0.3026, allocations: 137.9 kB / 0.7915 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003814/0.303, allocations: 201.1 kB / 0.7917 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.303, allocations: 0 / 0.7917 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006044/0.3036, allocations: 289.1 kB / 0.792 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.797e-05/0.3036, allocations: 7.938 kB / 0.792 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.3037, allocations: 4 kB / 0.792 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.272e-05/0.3037, allocations: 0 / 0.792 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002177/0.3039, allocations: 47.91 kB / 0.792 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/0.3039, allocations: 4.188 kB / 0.792 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001686/0.3041, allocations: 27.89 kB / 0.792 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.827e-05/0.3042, allocations: 8 kB / 0.792 GB, free: 4.348 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.0002506/0.3044, allocations: 167.7 kB / 0.7922 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.825e-05/0.3045, allocations: 23.66 kB / 0.7922 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.742e-05/0.3046, allocations: 22.19 kB / 0.7923 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.3046, allocations: 7.938 kB / 0.7923 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/0.3046, allocations: 0 / 0.7923 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.3046, allocations: 7.984 kB / 0.7923 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009679/0.3056, allocations: 0.545 MB / 0.7928 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.3056, allocations: 3.938 kB / 0.7928 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.44e-05/0.3057, allocations: 15.98 kB / 0.7928 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.3057, allocations: 0 / 0.7928 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.969e-05/0.3057, allocations: 4 kB / 0.7928 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/0.3057, allocations: 0 / 0.7928 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.3057, allocations: 8 kB / 0.7928 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004945/0.3062, allocations: 295 kB / 0.7931 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.707e-05/0.3063, allocations: 100.8 kB / 0.7932 GB, free: 3.062 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.901e-05/0.3064, allocations: 4 kB / 0.7932 GB, free: 3.059 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001425/0.3065, allocations: 15.98 kB / 0.7932 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.607e-05/0.3066, allocations: 23.97 kB / 0.7932 GB, free: 3.02 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.3067, allocations: 4 kB / 0.7933 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002075/0.3069, allocations: 205.9 kB / 0.7935 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3069, allocations: 0 / 0.7935 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000325/0.3072, allocations: 48 kB / 0.7935 GB, free: 2.766 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.001072/0.3083, allocations: 414.1 kB / 0.7939 GB, free: 2.512 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004794/0.3088, allocations: 199.4 kB / 0.7941 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3088, allocations: 3.938 kB / 0.7941 GB, free: 2.316 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001839/0.309, allocations: 71.89 kB / 0.7942 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000421/0.3094, allocations: 53.3 kB / 0.7942 GB, free: 2.203 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007418/0.3102, allocations: 412.5 kB / 0.7946 GB, free: 1.773 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003339/0.3105, allocations: 0.7518 MB / 0.7953 GB, free: 0.9961 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.599e-05/0.3106, allocations: 41.92 kB / 0.7954 GB, free: 0.957 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.645e-05/0.3107, allocations: 23.44 kB / 0.7954 GB, free: 0.9336 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.3107, allocations: 0 / 0.7954 GB, free: 0.9336 MB / 0.6075 GB Notification: Performance of Templates: time 0.007077/0.3178, allocations: 3.025 MB / 0.7983 GB, free: 13.93 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile (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 & ./Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1)