Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.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.Equal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Equal") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Equal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001482/0.001482, allocations: 98.91 kB / 16.29 MB, free: 6 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.001615/0.001616, allocations: 184.2 kB / 17.22 MB, free: 5.617 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.595/1.595, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.994/1.994, allocations: 292.3 MB / 0.5495 GB, free: 17.48 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.0015/0.0015, allocations: 71.89 kB / 0.6722 GB, free: 6.48 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3075/0.309, allocations: 114.5 MB / 0.7841 GB, free: 3.82 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.003896/0.313, allocations: 1.987 MB / 0.786 GB, free: 1.812 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002119/0.3152, allocations: 1.116 MB / 0.7871 GB, free: 0.6875 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001685/0.3154, allocations: 7.938 kB / 0.7871 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0005243/0.3159, allocations: 151.4 kB / 0.7873 GB, free: 0.5312 MB / 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.0004068/0.3164, allocations: 155.4 kB / 0.7874 GB, free: 388 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005525/0.3169, allocations: 194.6 kB / 0.7876 GB, free: 196 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.5522/0.8692, allocations: 310.5 kB / 0.7879 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002668/0.8695, allocations: 45.73 kB / 0.7879 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003132/0.8698, allocations: 145.1 kB / 0.7881 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000203/0.87, allocations: 149 kB / 0.7882 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.231e-05/0.8701, allocations: 14.19 kB / 0.7882 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002073/0.8703, allocations: 58.38 kB / 0.7883 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001102/0.8704, allocations: 87.2 kB / 0.7884 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001169/0.8705, allocations: 123.6 kB / 0.7885 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004324/0.871, allocations: 373.8 kB / 0.7888 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.871, allocations: 0 / 0.7888 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.365e-06/0.871, allocations: 2.625 kB / 0.7888 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.148e-06/0.871, allocations: 0 / 0.7888 GB, free: 46.53 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.000937/0.872, allocations: 0.6178 MB / 0.7895 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.872, allocations: 13.19 kB / 0.7895 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.988e-05/0.8721, allocations: 35.44 kB / 0.7895 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003959/0.8725, allocations: 368.6 kB / 0.7899 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.8725, allocations: 10.38 kB / 0.7899 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.763e-05/0.8725, allocations: 6.781 kB / 0.7899 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002133/0.8727, allocations: 118 kB / 0.79 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.8728, allocations: 1.625 kB / 0.79 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.8728, allocations: 2.156 kB / 0.79 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.8728, allocations: 2.781 kB / 0.79 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001468/0.8729, allocations: 58.7 kB / 0.79 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000658/0.8736, allocations: 0.4915 MB / 0.7905 GB, free: 45.47 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003005/0.8739, allocations: 132.9 kB / 0.7906 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.86e-05/0.874, allocations: 52.47 kB / 0.7907 GB, free: 45.44 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.71e-05/0.8741, allocations: 0 / 0.7907 GB, free: 45.44 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002113/0.8743, allocations: 117.7 kB / 0.7908 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=13): time 2.344e-06/0.8743, allocations: 0 / 0.7908 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13): time 0.0004876/0.8748, allocations: 223.6 kB / 0.791 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.8748, allocations: 54.03 kB / 0.7911 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004895/0.8753, allocations: 0.5109 MB / 0.7916 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/0.8754, allocations: 32.83 kB / 0.7916 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.8755, allocations: 170.5 kB / 0.7918 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.092e-05/0.8755, allocations: 34.17 kB / 0.7918 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.973e-05/0.8756, allocations: 70.98 kB / 0.7919 GB, free: 45 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.552e-05/0.8757, allocations: 345.8 kB / 0.7922 GB, free: 44.69 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001726/0.8759, allocations: 105.2 kB / 0.7923 GB, free: 44.69 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001847/0.8761, allocations: 133 kB / 0.7924 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000291/0.8764, allocations: 175.8 kB / 0.7926 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.8764, allocations: 2.469 kB / 0.7926 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004644/0.8769, allocations: 323.3 kB / 0.7929 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.8769, allocations: 7 kB / 0.7929 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.8769, allocations: 3.891 kB / 0.7929 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.8769, allocations: 0 / 0.7929 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002039/0.8771, allocations: 50.34 kB / 0.793 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.8772, allocations: 7.375 kB / 0.793 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001168/0.8773, allocations: 24.72 kB / 0.793 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.856e-05/0.8773, allocations: 7.906 kB / 0.793 GB, free: 44.57 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.timTabLin1.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition1,timTabLin1.tab.nextTimeEventScaled,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,reaToInt1.y,reaToInt.y,intEqu.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0001331/0.8775, allocations: 180.5 kB / 0.7932 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.832e-05/0.8775, allocations: 29.31 kB / 0.7932 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.099e-05/0.8776, allocations: 36.2 kB / 0.7932 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.8776, allocations: 5.391 kB / 0.7932 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.8776, allocations: 3.938 kB / 0.7932 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.8776, allocations: 3.531 kB / 0.7932 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001935/0.8778, allocations: 296.4 kB / 0.7935 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.8778, allocations: 0 / 0.7935 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.3e-05/0.8779, allocations: 19.25 kB / 0.7935 GB, free: 44.24 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.8779, allocations: 2.625 kB / 0.7936 GB, free: 44.24 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.8779, allocations: 2.719 kB / 0.7936 GB, free: 44.24 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.8779, allocations: 5.812 kB / 0.7936 GB, free: 44.24 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.8779, allocations: 5 kB / 0.7936 GB, free: 44.24 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003058/0.8782, allocations: 206.3 kB / 0.7938 GB, free: 44.15 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.055e-05/0.8783, allocations: 118.6 kB / 0.7939 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.203e-05/0.8784, allocations: 6.094 kB / 0.7939 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.8785, allocations: 6.734 kB / 0.7939 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.88e-05/0.8785, allocations: 32.7 kB / 0.7939 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.8786, allocations: 4.438 kB / 0.7939 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002651/0.8788, allocations: 312.1 kB / 0.7942 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8788, allocations: 0 / 0.7942 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002652/0.8791, allocations: 55.94 kB / 0.7943 GB, free: 43.95 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: 9 ($whenCondition2,$whenCondition1,intEqu.y,reaToInt.y,reaToInt1.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin1.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009912/0.8801, allocations: 419.1 kB / 0.7947 GB, free: 43.85 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003721/0.8805, allocations: 195.1 kB / 0.7949 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.8805, allocations: 3.375 kB / 0.7949 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001264/0.8806, allocations: 65.16 kB / 0.7949 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004246/0.8811, allocations: 89.69 kB / 0.795 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006917/0.8818, allocations: 0.5211 MB / 0.7955 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002486/0.882, allocations: 0.7857 MB / 0.7963 GB, free: 42.91 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001143/0.8822, allocations: 50.28 kB / 0.7963 GB, free: 42.9 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.978e-05/0.8822, allocations: 35.33 kB / 0.7964 GB, free: 42.9 MB / 0.6544 GB Notification: Performance of SimCode: time 2.31e-07/0.8822, allocations: 0 / 0.7964 GB, free: 42.9 MB / 0.6544 GB Notification: Performance of Templates: time 0.008327/0.8906, allocations: 4.063 MB / 0.8003 GB, free: 42.68 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Equal -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1)