Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLes.u1|intLes.u2|intLes.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLes.u1|intLes.u2|intLes.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001464/0.001464, allocations: 106.5 kB / 16.35 MB, free: 5.824 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.001718/0.001719, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.417/1.417, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.282/2.282, allocations: 390.3 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001967, allocations: 64.59 kB / 0.814 GB, free: 32.56 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3241/0.3261, allocations: 140.4 MB / 0.9511 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.003539/0.3297, allocations: 1.996 MB / 0.9531 GB, free: 6.043 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002062/0.3318, allocations: 1.193 MB / 0.9542 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002029/0.332, allocations: 7.938 kB / 0.9543 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004821/0.3325, allocations: 163.4 kB / 0.9544 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0004383/0.333, allocations: 155.4 kB / 0.9546 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006618/0.3336, allocations: 223.3 kB / 0.9548 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004995/0.3342, allocations: 311.2 kB / 0.9551 GB, free: 4 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001801/0.3343, allocations: 60.22 kB / 0.9551 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000265/0.3346, allocations: 147.4 kB / 0.9553 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002405/0.3349, allocations: 143.5 kB / 0.9554 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.154e-05/0.3349, allocations: 19.94 kB / 0.9554 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001501/0.3351, allocations: 51.92 kB / 0.9555 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000114/0.3352, allocations: 87.72 kB / 0.9556 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001283/0.3353, allocations: 119.2 kB / 0.9557 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004396/0.3358, allocations: 374.7 kB / 0.956 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.3358, allocations: 4 kB / 0.956 GB, free: 3.008 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3358, allocations: 3.938 kB / 0.956 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.134e-05/0.3358, allocations: 0 / 0.956 GB, free: 3.004 MB / 0.7325 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.0009322/0.3368, allocations: 0.6109 MB / 0.9566 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.3368, allocations: 8.031 kB / 0.9566 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.139e-05/0.3369, allocations: 36.47 kB / 0.9567 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005501/0.3374, allocations: 386.1 kB / 0.957 GB, free: 1.883 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.3375, allocations: 8 kB / 0.957 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.13e-05/0.3375, allocations: 8 kB / 0.9571 GB, free: 1.867 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002503/0.3378, allocations: 109.5 kB / 0.9572 GB, free: 1.754 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.3378, allocations: 0 / 0.9572 GB, free: 1.754 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/0.3378, allocations: 4 kB / 0.9572 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.3378, allocations: 0 / 0.9572 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001737/0.338, allocations: 63.89 kB / 0.9572 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008369/0.3388, allocations: 0.4887 MB / 0.9577 GB, free: 1.148 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003328/0.3392, allocations: 134.7 kB / 0.9578 GB, free: 1.008 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.3393, allocations: 44.84 kB / 0.9579 GB, free: 0.9609 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.404e-05/0.3393, allocations: 3.984 kB / 0.9579 GB, free: 0.957 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002385/0.3396, allocations: 119.5 kB / 0.958 GB, free: 0.8281 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=13): time 3.326e-06/0.3396, allocations: 7.984 kB / 0.958 GB, free: 0.8203 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13): time 0.0005151/0.3401, allocations: 224.4 kB / 0.9582 GB, free: 0.5977 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/0.3402, allocations: 55.41 kB / 0.9583 GB, free: 0.5312 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005509/0.3407, allocations: 0.5092 MB / 0.9588 GB, free: 16 kB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.634e-05/0.3408, allocations: 33.7 kB / 0.9588 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/0.3409, allocations: 164.4 kB / 0.959 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.066e-05/0.341, allocations: 39.55 kB / 0.959 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.3411, allocations: 65.97 kB / 0.9591 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.3412, allocations: 346.8 kB / 0.9594 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001975/0.3414, allocations: 96.52 kB / 0.9595 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002164/0.3417, allocations: 131.6 kB / 0.9596 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003277/0.342, allocations: 187.5 kB / 0.9598 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.342, allocations: 0 / 0.9598 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005399/0.3425, allocations: 317.1 kB / 0.9601 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.3426, allocations: 4 kB / 0.9601 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.3426, allocations: 3.938 kB / 0.9601 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.3426, allocations: 8.062 kB / 0.9601 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002236/0.3428, allocations: 51.91 kB / 0.9601 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/0.3429, allocations: 4 kB / 0.9601 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000149/0.343, allocations: 23.83 kB / 0.9602 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.725e-05/0.3431, allocations: 12 kB / 0.9602 GB, free: 14.51 MB / 0.7481 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,intLes.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.0001888/0.3433, allocations: 179.7 kB / 0.9604 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.034e-05/0.3433, allocations: 31.62 kB / 0.9604 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.009e-05/0.3434, allocations: 39.06 kB / 0.9604 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.3434, allocations: 12 kB / 0.9604 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.3434, allocations: 0 / 0.9604 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.3434, allocations: 0 / 0.9604 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002904/0.3437, allocations: 305.3 kB / 0.9607 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.3437, allocations: 0 / 0.9607 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.043e-05/0.3438, allocations: 11.98 kB / 0.9607 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.3438, allocations: 0 / 0.9607 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.902e-05/0.3438, allocations: 11.94 kB / 0.9607 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.3439, allocations: 0 / 0.9607 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.3439, allocations: 3.938 kB / 0.9608 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003662/0.3442, allocations: 208.7 kB / 0.961 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/0.3443, allocations: 112.7 kB / 0.9611 GB, free: 13.51 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.013e-05/0.3444, allocations: 11.92 kB / 0.9611 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.741e-05/0.3445, allocations: 4 kB / 0.9611 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.429e-05/0.3446, allocations: 23.97 kB / 0.9611 GB, free: 13.47 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.502e-05/0.3446, allocations: 4 kB / 0.9611 GB, free: 13.47 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003217/0.3449, allocations: 315.1 kB / 0.9614 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3449, allocations: 4 kB / 0.9614 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002888/0.3452, allocations: 60 kB / 0.9615 GB, free: 13.1 MB / 0.7481 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,intLes.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.0009562/0.3462, allocations: 416.2 kB / 0.9619 GB, free: 12.85 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003981/0.3466, allocations: 183.9 kB / 0.962 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3466, allocations: 0 / 0.962 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001555/0.3468, allocations: 63.91 kB / 0.9621 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004529/0.3473, allocations: 106.3 kB / 0.9622 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008911/0.3482, allocations: 0.5279 MB / 0.9627 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003781/0.3485, allocations: 0.7984 MB / 0.9635 GB, free: 11.13 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001384/0.3487, allocations: 46.95 kB / 0.9635 GB, free: 11.08 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.203e-05/0.3488, allocations: 39.36 kB / 0.9636 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of SimCode: time 2.3e-07/0.3488, allocations: 0 / 0.9636 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of Templates: time 0.008218/0.357, allocations: 4.061 MB / 0.9675 GB, free: 7.023 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Less.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches