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.001468/0.001468, allocations: 106.5 kB / 16.36 MB, free: 6.258 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.001895/0.001895, allocations: 189.7 kB / 17.3 MB, free: 5.848 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.692/1.692, allocations: 205.1 MB / 223.2 MB, free: 12.2 MB / 190.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.99/1.99, allocations: 292.3 MB / 0.5496 GB, free: 17.51 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.001613/0.001613, allocations: 67.91 kB / 0.6729 GB, free: 5.809 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2993/0.301, allocations: 114.6 MB / 0.7848 GB, free: 3.133 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003836/0.3049, allocations: 1.92 MB / 0.7867 GB, free: 1.195 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001825/0.3067, allocations: 1.035 MB / 0.7877 GB, free: 156 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001127/0.3068, allocations: 7.938 kB / 0.7877 GB, free: 148 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0003756/0.3072, allocations: 91.61 kB / 0.7878 GB, free: 56 kB / 0.6544 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.6461/0.9533, allocations: 93.44 kB / 0.7879 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008433/0.9542, allocations: 129 kB / 0.788 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0005783/0.9548, allocations: 216.2 kB / 0.7882 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002358/0.955, allocations: 49.56 kB / 0.7883 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002271/0.9553, allocations: 98.48 kB / 0.7883 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002062/0.9555, allocations: 99.08 kB / 0.7884 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.167e-05/0.9556, allocations: 14.38 kB / 0.7885 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000247/0.9558, allocations: 62.34 kB / 0.7885 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001145/0.956, allocations: 58.34 kB / 0.7886 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001301/0.9561, allocations: 93.23 kB / 0.7887 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004877/0.9566, allocations: 269.4 kB / 0.7889 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/0.9566, allocations: 0 / 0.7889 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.785e-06/0.9566, allocations: 4.969 kB / 0.7889 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.586e-05/0.9567, allocations: 0 / 0.7889 GB, free: 46.46 MB / 0.6544 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.001262/0.9579, allocations: 0.5445 MB / 0.7895 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.759e-05/0.958, allocations: 9.25 kB / 0.7895 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.346e-05/0.9581, allocations: 23.75 kB / 0.7895 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004767/0.9586, allocations: 293.9 kB / 0.7898 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.721e-05/0.9587, allocations: 14.56 kB / 0.7898 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.519e-05/0.9587, allocations: 10 kB / 0.7898 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004227/0.9591, allocations: 116.3 kB / 0.7899 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.9592, allocations: 5.438 kB / 0.7899 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.419e-05/0.9592, allocations: 5.062 kB / 0.7899 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.9592, allocations: 2.688 kB / 0.7899 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004381/0.9597, allocations: 90.95 kB / 0.79 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009543/0.9606, allocations: 449.8 kB / 0.7904 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004933/0.9612, allocations: 130.6 kB / 0.7905 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002383/0.9614, allocations: 59.39 kB / 0.7906 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.706e-05/0.9615, allocations: 2.625 kB / 0.7906 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004149/0.9619, allocations: 130.7 kB / 0.7907 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=16): time 2.595e-06/0.9619, allocations: 3.75 kB / 0.7907 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of matching and sorting (n=16): time 0.001007/0.9629, allocations: 243 kB / 0.791 GB, free: 45.35 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/0.963, allocations: 57.97 kB / 0.791 GB, free: 45.29 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004619/0.9635, allocations: 333.9 kB / 0.7913 GB, free: 45.17 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.528e-05/0.9635, allocations: 32.95 kB / 0.7914 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.9637, allocations: 139.4 kB / 0.7915 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.527e-05/0.9637, allocations: 39.36 kB / 0.7915 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001404/0.9639, allocations: 60.36 kB / 0.7916 GB, free: 45.01 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.964, allocations: 338 kB / 0.7919 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00034/0.9644, allocations: 80.47 kB / 0.792 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004142/0.9648, allocations: 145.1 kB / 0.7921 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006541/0.9655, allocations: 197.4 kB / 0.7923 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.653e-06/0.9655, allocations: 0 / 0.7923 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008773/0.9664, allocations: 283.8 kB / 0.7926 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.9664, allocations: 7.5 kB / 0.7926 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.9664, allocations: 0 / 0.7926 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.577e-05/0.9665, allocations: 7.938 kB / 0.7926 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003261/0.9668, allocations: 47.88 kB / 0.7927 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.423e-05/0.9669, allocations: 6.844 kB / 0.7927 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002584/0.9671, allocations: 29.16 kB / 0.7927 GB, free: 44.53 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.111e-05/0.9672, allocations: 6.938 kB / 0.7927 GB, free: 44.53 MB / 0.6544 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.0002056/0.9674, allocations: 166.6 kB / 0.7929 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.017e-05/0.9675, allocations: 21.53 kB / 0.7929 GB, free: 44.4 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.43e-05/0.9676, allocations: 24.42 kB / 0.7929 GB, free: 44.4 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.9676, allocations: 3.938 kB / 0.7929 GB, free: 44.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.9676, allocations: 0 / 0.7929 GB, free: 44.4 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 8.619e-05/0.9677, allocations: 102.9 kB / 0.793 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.364e-05/0.9677, allocations: 7 kB / 0.793 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001808/0.9679, allocations: 19.8 kB / 0.793 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.637e-05/0.9681, allocations: 16.41 kB / 0.793 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007037/0.9688, allocations: 266.4 kB / 0.7933 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006717/0.9695, allocations: 372.2 kB / 0.7937 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002473/0.9697, allocations: 72.5 kB / 0.7937 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000263/0.97, allocations: 208.6 kB / 0.7939 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of Backend: time 1.203e-06/0.97, allocations: 1.469 kB / 0.7939 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00253/0.9726, allocations: 0.5309 MB / 0.7944 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of SimCode: time 0.00114/0.9737, allocations: 0.8427 MB / 0.7953 GB, free: 43.12 MB / 0.6544 GB Notification: Performance of Templates: time 0.01162/0.9854, allocations: 3.129 MB / 0.7983 GB, free: 42.96 MB / 0.6544 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)