Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.GreaterEqual,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreEqu.u1|intGreEqu.u2|intGreEqu.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreEqu.u1|intGreEqu.u2|intGreEqu.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001837/0.001837, allocations: 193.2 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.534/1.534, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.502/2.502, allocations: 390.2 MB / 0.6643 GB, free: 0.5078 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001806/0.001806, allocations: 67.89 kB / 0.812 GB, free: 14.73 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.839/0.8408, allocations: 140.3 MB / 0.9491 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual): time 0.003594/0.8445, allocations: 2.048 MB / 0.9511 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001888/0.8464, allocations: 1.184 MB / 0.9523 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001452/0.8465, allocations: 2.625 kB / 0.9523 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004817/0.847, allocations: 145.3 kB / 0.9524 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003323/0.8474, allocations: 145.3 kB / 0.9525 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005385/0.848, allocations: 200.7 kB / 0.9527 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003475/0.8483, allocations: 313.6 kB / 0.953 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001736/0.8485, allocations: 50.45 kB / 0.9531 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001914/0.8487, allocations: 151.4 kB / 0.9532 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001843/0.8489, allocations: 151.4 kB / 0.9534 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.279e-05/0.849, allocations: 17.91 kB / 0.9534 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001478/0.8491, allocations: 60.34 kB / 0.9534 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001013/0.8492, allocations: 90.48 kB / 0.9535 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.931e-05/0.8493, allocations: 118.5 kB / 0.9536 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003727/0.8497, allocations: 367 kB / 0.954 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.8497, allocations: 1 kB / 0.954 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.352e-06/0.8497, allocations: 0 / 0.954 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.8497, allocations: 0 / 0.954 GB, free: 5.473 MB / 0.7169 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.0008933/0.8506, allocations: 0.6226 MB / 0.9546 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.8507, allocations: 13.84 kB / 0.9546 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.404e-05/0.8508, allocations: 40.39 kB / 0.9547 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004141/0.8512, allocations: 370.8 kB / 0.955 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.8512, allocations: 3.344 kB / 0.955 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.216e-05/0.8513, allocations: 17.64 kB / 0.955 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002347/0.8515, allocations: 106.4 kB / 0.9551 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.8515, allocations: 0 / 0.9551 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.79e-05/0.8515, allocations: 9.188 kB / 0.9551 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.974e-06/0.8515, allocations: 2.25 kB / 0.9551 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001714/0.8517, allocations: 63.36 kB / 0.9552 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007088/0.8524, allocations: 496.3 kB / 0.9557 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003061/0.8528, allocations: 140.9 kB / 0.9558 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001158/0.8529, allocations: 47.77 kB / 0.9559 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.898e-05/0.8529, allocations: 2.656 kB / 0.9559 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002412/0.8532, allocations: 108 kB / 0.956 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.503e-06/0.8532, allocations: 0 / 0.956 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0005055/0.8537, allocations: 233.3 kB / 0.9562 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.861e-05/0.8537, allocations: 52.66 kB / 0.9562 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005198/0.8543, allocations: 0.5117 MB / 0.9567 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.8543, allocations: 26.98 kB / 0.9568 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.8544, allocations: 172.8 kB / 0.9569 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/0.8544, allocations: 33.91 kB / 0.957 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.605e-05/0.8545, allocations: 69.73 kB / 0.957 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.49e-05/0.8546, allocations: 354.1 kB / 0.9574 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001783/0.8548, allocations: 96.05 kB / 0.9574 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002034/0.855, allocations: 131 kB / 0.9576 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002941/0.8553, allocations: 179.4 kB / 0.9577 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.8553, allocations: 7.938 kB / 0.9578 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005205/0.8558, allocations: 324.2 kB / 0.9581 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.8559, allocations: 4.75 kB / 0.9581 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.8559, allocations: 4.875 kB / 0.9581 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/0.8559, allocations: 6.734 kB / 0.9581 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002384/0.8562, allocations: 54.28 kB / 0.9581 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.8562, allocations: 1.156 kB / 0.9581 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001442/0.8563, allocations: 18.41 kB / 0.9581 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.276e-05/0.8564, allocations: 20.45 kB / 0.9582 GB, free: 2.273 MB / 0.7169 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,intGreEqu.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.0001508/0.8565, allocations: 174.7 kB / 0.9583 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.828e-05/0.8566, allocations: 30.44 kB / 0.9584 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.33e-05/0.8567, allocations: 41.53 kB / 0.9584 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.8567, allocations: 1.844 kB / 0.9584 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.8567, allocations: 0 / 0.9584 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.8567, allocations: 1.062 kB / 0.9584 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002231/0.8569, allocations: 296.2 kB / 0.9587 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.8569, allocations: 0 / 0.9587 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.496e-05/0.857, allocations: 17.52 kB / 0.9587 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.857, allocations: 4.938 kB / 0.9587 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.741e-05/0.857, allocations: 9.75 kB / 0.9587 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.8571, allocations: 1.062 kB / 0.9587 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.8571, allocations: 0 / 0.9587 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000359/0.8574, allocations: 214.9 kB / 0.9589 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.869e-05/0.8575, allocations: 114 kB / 0.959 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.736e-05/0.8576, allocations: 10.12 kB / 0.959 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.913e-05/0.8577, allocations: 8.5 kB / 0.959 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.845e-05/0.8577, allocations: 22.81 kB / 0.9591 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.627e-05/0.8578, allocations: 5.594 kB / 0.9591 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003137/0.8581, allocations: 315.8 kB / 0.9594 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8581, allocations: 0 / 0.9594 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000307/0.8584, allocations: 52.16 kB / 0.9594 GB, free: 1.305 MB / 0.7169 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,intGreEqu.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.0009731/0.8594, allocations: 423.9 kB / 0.9598 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004391/0.8598, allocations: 198.8 kB / 0.96 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.8598, allocations: 0 / 0.96 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001462/0.86, allocations: 71.17 kB / 0.9601 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004846/0.8605, allocations: 85.22 kB / 0.9602 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008532/0.8614, allocations: 0.596 MB / 0.9608 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002987/0.8617, allocations: 0.801 MB / 0.9615 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001571/0.8618, allocations: 51.02 kB / 0.9616 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.74e-05/0.8619, allocations: 35.8 kB / 0.9616 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of SimCode: time 3.41e-07/0.8619, allocations: 0 / 0.9616 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of Templates: time 0.008556/0.8705, allocations: 3.993 MB / 0.9655 GB, free: 13.79 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqual.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches