Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_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.008208/0.008209, allocations: 102.1 kB / 15.73 MB, free: 5.988 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.001278/0.001278, allocations: 196.2 kB / 16.67 MB, free: 5.926 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.711/1.711, allocations: 205.1 MB / 222.6 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.851/1.851, allocations: 251.7 MB / 0.5094 GB, free: 3.051 MB / 414.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.001762/0.001762, allocations: 76.47 kB / 0.7258 GB, free: 9.016 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2899/0.2917, allocations: 104.7 MB / 0.828 GB, free: 212 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.004621/0.2964, allocations: 2.007 MB / 0.83 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002146/0.2986, allocations: 0.987 MB / 0.831 GB, free: 13.19 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002771/0.2989, allocations: 7.938 kB / 0.831 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0006205/0.2995, allocations: 151.5 kB / 0.8311 GB, free: 13.04 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.0005882/0.3002, allocations: 155.4 kB / 0.8313 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006526/0.3008, allocations: 170.6 kB / 0.8314 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0005757/0.3014, allocations: 295.2 kB / 0.8317 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002139/0.3016, allocations: 56.3 kB / 0.8318 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003044/0.302, allocations: 143.4 kB / 0.8319 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002692/0.3022, allocations: 135.5 kB / 0.832 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.535e-05/0.3023, allocations: 12 kB / 0.832 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001634/0.3025, allocations: 43.98 kB / 0.8321 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001468/0.3026, allocations: 87.67 kB / 0.8322 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001621/0.3028, allocations: 111.2 kB / 0.8323 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004943/0.3033, allocations: 342.8 kB / 0.8326 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3033, allocations: 0 / 0.8326 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3033, allocations: 0 / 0.8326 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.293e-06/0.3033, allocations: 4 kB / 0.8326 GB, free: 11.51 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.0009919/0.3043, allocations: 0.603 MB / 0.8332 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/0.3044, allocations: 8.031 kB / 0.8332 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.307e-05/0.3045, allocations: 32.56 kB / 0.8332 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005926/0.3051, allocations: 358.2 kB / 0.8336 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.539e-05/0.3051, allocations: 8.375 kB / 0.8336 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.017e-05/0.3052, allocations: 16.12 kB / 0.8336 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002783/0.3054, allocations: 109.5 kB / 0.8337 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.3055, allocations: 4 kB / 0.8337 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.3055, allocations: 0 / 0.8337 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.3055, allocations: 0 / 0.8337 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001795/0.3057, allocations: 63.95 kB / 0.8338 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008142/0.3065, allocations: 484.4 kB / 0.8342 GB, free: 9.703 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003518/0.3069, allocations: 146.6 kB / 0.8344 GB, free: 9.551 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/0.307, allocations: 44.84 kB / 0.8344 GB, free: 9.504 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.129e-05/0.307, allocations: 3.984 kB / 0.8344 GB, free: 9.5 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002439/0.3073, allocations: 114.2 kB / 0.8345 GB, free: 9.379 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=13): time 1.613e-06/0.3073, allocations: 4 kB / 0.8345 GB, free: 9.375 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13): time 0.0005694/0.3079, allocations: 225.2 kB / 0.8347 GB, free: 9.148 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.3079, allocations: 59.34 kB / 0.8348 GB, free: 9.078 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005493/0.3085, allocations: 497.6 kB / 0.8353 GB, free: 8.586 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.3085, allocations: 25.7 kB / 0.8353 GB, free: 8.555 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/0.3087, allocations: 164.3 kB / 0.8355 GB, free: 8.391 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.302e-05/0.3087, allocations: 39.55 kB / 0.8355 GB, free: 8.352 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001283/0.3088, allocations: 73.95 kB / 0.8356 GB, free: 8.273 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002408/0.3091, allocations: 346.8 kB / 0.8359 GB, free: 7.926 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002022/0.3093, allocations: 100.5 kB / 0.836 GB, free: 7.828 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002446/0.3095, allocations: 131.6 kB / 0.8361 GB, free: 7.691 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004011/0.31, allocations: 184.5 kB / 0.8363 GB, free: 7.504 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.31, allocations: 0 / 0.8363 GB, free: 7.504 MB / 0.6544 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005567/0.3105, allocations: 317.1 kB / 0.8366 GB, free: 7.188 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.765e-05/0.3106, allocations: 10.8 kB / 0.8366 GB, free: 7.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.3106, allocations: 0 / 0.8366 GB, free: 7.18 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.939e-05/0.3106, allocations: 4 kB / 0.8366 GB, free: 7.176 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002452/0.3109, allocations: 51.91 kB / 0.8367 GB, free: 7.125 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.3109, allocations: 11.88 kB / 0.8367 GB, free: 7.113 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001527/0.3111, allocations: 16 kB / 0.8367 GB, free: 7.098 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.486e-05/0.3111, allocations: 8 kB / 0.8367 GB, free: 7.09 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.0001916/0.3113, allocations: 185.7 kB / 0.8369 GB, free: 6.898 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.036e-05/0.3113, allocations: 31.53 kB / 0.8369 GB, free: 6.867 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.44e-05/0.3114, allocations: 35 kB / 0.8369 GB, free: 6.832 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.3114, allocations: 4 kB / 0.8369 GB, free: 6.828 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.819e-06/0.3115, allocations: 3.938 kB / 0.8369 GB, free: 6.824 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.3115, allocations: 0 / 0.8369 GB, free: 6.824 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003154/0.3118, allocations: 293.4 kB / 0.8372 GB, free: 6.488 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.3118, allocations: 8 kB / 0.8372 GB, free: 6.48 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.456e-05/0.3119, allocations: 15.98 kB / 0.8372 GB, free: 6.465 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.3119, allocations: 0 / 0.8372 GB, free: 6.465 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/0.3119, allocations: 7.984 kB / 0.8373 GB, free: 6.457 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.3119, allocations: 0 / 0.8373 GB, free: 6.457 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.3119, allocations: 3.938 kB / 0.8373 GB, free: 6.453 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004473/0.3124, allocations: 204.6 kB / 0.8375 GB, free: 6.234 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001496/0.3126, allocations: 108.7 kB / 0.8376 GB, free: 6.109 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.303e-05/0.3126, allocations: 8 kB / 0.8376 GB, free: 6.102 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.3127, allocations: 7.984 kB / 0.8376 GB, free: 6.094 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.213e-05/0.3128, allocations: 23.92 kB / 0.8376 GB, free: 6.07 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.3128, allocations: 8 kB / 0.8376 GB, free: 6.062 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003951/0.3132, allocations: 307.1 kB / 0.8379 GB, free: 5.766 MB / 0.6544 GB Notification: Performance of sort global known variables: time 5.71e-07/0.3133, allocations: 3.938 kB / 0.8379 GB, free: 5.762 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003561/0.3136, allocations: 51.91 kB / 0.8379 GB, free: 5.711 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.001127/0.3148, allocations: 413 kB / 0.8383 GB, free: 5.457 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004718/0.3152, allocations: 191.8 kB / 0.8385 GB, free: 5.27 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3153, allocations: 0 / 0.8385 GB, free: 5.27 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001685/0.3154, allocations: 67.84 kB / 0.8386 GB, free: 5.207 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005092/0.3159, allocations: 94.52 kB / 0.8387 GB, free: 5.121 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/0.3171, allocations: 0.5122 MB / 0.8392 GB, free: 4.582 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004746/0.3176, allocations: 0.7829 MB / 0.8399 GB, free: 3.773 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001918/0.3178, allocations: 58.92 kB / 0.84 GB, free: 3.715 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.09e-05/0.3179, allocations: 35.42 kB / 0.84 GB, free: 3.68 MB / 0.6544 GB Notification: Performance of SimCode: time 7.72e-07/0.3179, allocations: 0 / 0.84 GB, free: 3.68 MB / 0.6544 GB Notification: Performance of Templates: time 0.009884/0.3277, allocations: 3.874 MB / 0.8438 GB, free: 15.84 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Equal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1)