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.001966/0.001966, allocations: 101.9 kB / 16.37 MB, free: 6.48 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.002332/0.002333, allocations: 189.8 kB / 17.31 MB, free: 5.816 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.549/1.549, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.81/1.81, allocations: 292.3 MB / 0.5496 GB, free: 17.49 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.001414/0.001414, allocations: 70.88 kB / 0.6729 GB, free: 5.832 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2371/0.2385, allocations: 114.6 MB / 0.7848 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003804/0.2424, allocations: 1.909 MB / 0.7867 GB, free: 1.234 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001991/0.2444, allocations: 1.042 MB / 0.7877 GB, free: 188 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001464/0.2446, allocations: 7.938 kB / 0.7877 GB, free: 180 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0004167/0.2451, allocations: 87.64 kB / 0.7878 GB, free: 92 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.3673/0.6124, allocations: 97.56 kB / 0.7879 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006486/0.6131, allocations: 132.8 kB / 0.788 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004444/0.6135, allocations: 218.2 kB / 0.7882 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002061/0.6137, allocations: 46.28 kB / 0.7883 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000211/0.614, allocations: 101 kB / 0.7884 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001393/0.6141, allocations: 102.4 kB / 0.7885 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.184e-05/0.6141, allocations: 15.25 kB / 0.7885 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001758/0.6143, allocations: 55.25 kB / 0.7885 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.37e-05/0.6144, allocations: 62.86 kB / 0.7886 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.6145, allocations: 86.84 kB / 0.7887 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003491/0.6149, allocations: 273.7 kB / 0.7889 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.6149, allocations: 0 / 0.7889 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.994e-06/0.6149, allocations: 2.656 kB / 0.7889 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.6149, allocations: 0 / 0.7889 GB, free: 46.57 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.0008349/0.6158, allocations: 0.5442 MB / 0.7895 GB, free: 46.13 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.6158, allocations: 13.22 kB / 0.7895 GB, free: 46.13 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.338e-05/0.6159, allocations: 23.94 kB / 0.7895 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003115/0.6162, allocations: 292.7 kB / 0.7898 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/0.6162, allocations: 12.78 kB / 0.7898 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.683e-05/0.6163, allocations: 14.17 kB / 0.7898 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002778/0.6165, allocations: 113.2 kB / 0.7899 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.6166, allocations: 0 / 0.7899 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.916e-05/0.6166, allocations: 5.875 kB / 0.7899 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.6166, allocations: 5.5 kB / 0.7899 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002676/0.6169, allocations: 87.05 kB / 0.79 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006708/0.6176, allocations: 452.8 kB / 0.7904 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003216/0.6179, allocations: 129 kB / 0.7906 GB, free: 45.56 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001476/0.6181, allocations: 56.09 kB / 0.7906 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.391e-05/0.6181, allocations: 1.188 kB / 0.7906 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002637/0.6184, allocations: 131.1 kB / 0.7907 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=16): time 1.453e-06/0.6184, allocations: 0 / 0.7907 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of matching and sorting (n=16): time 0.0006205/0.619, allocations: 245.8 kB / 0.791 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.613e-05/0.619, allocations: 57.97 kB / 0.791 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002741/0.6193, allocations: 333.8 kB / 0.7913 GB, free: 45.28 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.6194, allocations: 30.83 kB / 0.7914 GB, free: 45.25 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.559e-05/0.6194, allocations: 142.9 kB / 0.7915 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.342e-05/0.6195, allocations: 41.91 kB / 0.7915 GB, free: 45.13 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.962e-05/0.6196, allocations: 60.83 kB / 0.7916 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.718e-05/0.6196, allocations: 337.9 kB / 0.7919 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001922/0.6198, allocations: 81.17 kB / 0.792 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002084/0.6201, allocations: 143.6 kB / 0.7921 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000341/0.6204, allocations: 198.9 kB / 0.7923 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.6204, allocations: 0 / 0.7923 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004974/0.6209, allocations: 283.3 kB / 0.7926 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.621, allocations: 8.156 kB / 0.7926 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.621, allocations: 3.406 kB / 0.7926 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.626e-05/0.621, allocations: 7.938 kB / 0.7926 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001915/0.6212, allocations: 43.86 kB / 0.7927 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.6212, allocations: 3.469 kB / 0.7927 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001451/0.6214, allocations: 28.08 kB / 0.7927 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.853e-05/0.6214, allocations: 10.91 kB / 0.7927 GB, free: 44.64 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.0001219/0.6215, allocations: 164.9 kB / 0.7929 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.03e-05/0.6216, allocations: 22.16 kB / 0.7929 GB, free: 44.51 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.024e-05/0.6216, allocations: 30.59 kB / 0.7929 GB, free: 44.51 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.187e-06/0.6216, allocations: 3.5 kB / 0.7929 GB, free: 44.51 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.6216, allocations: 2.812 kB / 0.7929 GB, free: 44.51 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.6216, allocations: 0 / 0.7929 GB, free: 44.51 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006902/0.6223, allocations: 0.5515 MB / 0.7935 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.6224, allocations: 1.125 kB / 0.7935 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.043e-05/0.6224, allocations: 19.05 kB / 0.7935 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.6225, allocations: 0 / 0.7935 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.6225, allocations: 0 / 0.7935 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.6225, allocations: 3.469 kB / 0.7935 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.6225, allocations: 2.578 kB / 0.7935 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003981/0.6229, allocations: 303.8 kB / 0.7938 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.181e-05/0.623, allocations: 102.3 kB / 0.7939 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.628e-05/0.623, allocations: 11.34 kB / 0.7939 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/0.6231, allocations: 13.02 kB / 0.7939 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.765e-05/0.6232, allocations: 17.7 kB / 0.7939 GB, free: 43.94 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.6232, allocations: 9 kB / 0.7939 GB, free: 43.94 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001838/0.6234, allocations: 210.3 kB / 0.7941 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6234, allocations: 1.25 kB / 0.7941 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003187/0.6238, allocations: 44.97 kB / 0.7942 GB, free: 43.86 MB / 0.6544 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.001013/0.6248, allocations: 420.8 kB / 0.7946 GB, free: 43.76 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004476/0.6252, allocations: 195.1 kB / 0.7947 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.6253, allocations: 0 / 0.7947 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001704/0.6254, allocations: 75.05 kB / 0.7948 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004223/0.6259, allocations: 55.06 kB / 0.7949 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006921/0.6266, allocations: 435.4 kB / 0.7953 GB, free: 43.51 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001959/0.6268, allocations: 0.7467 MB / 0.796 GB, free: 42.82 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.911e-05/0.6268, allocations: 28.61 kB / 0.796 GB, free: 42.81 MB / 0.6544 GB Notification: Performance of SimCode: time 7.52e-07/0.6269, allocations: 0 / 0.796 GB, free: 42.81 MB / 0.6544 GB Notification: Performance of Templates: time 0.005723/0.6326, allocations: 3.261 MB / 0.7992 GB, free: 42.59 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)