Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001296/0.001296, allocations: 104.6 kB / 16.27 MB, free: 6.414 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.001259/0.001259, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.425/1.425, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.564/2.564, allocations: 437.1 MB / 0.7111 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002081/0.002081, allocations: 72.12 kB / 0.8699 GB, free: 2.191 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3101/0.3122, allocations: 151.6 MB / 1.018 GB, free: 10.62 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.003689/0.3159, allocations: 2.004 MB / 1.02 GB, free: 8.602 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002137/0.3181, allocations: 1.205 MB / 1.021 GB, free: 7.391 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001284/0.3182, allocations: 7.938 kB / 1.021 GB, free: 7.383 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0004502/0.3187, allocations: 159.4 kB / 1.021 GB, free: 7.227 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0003596/0.3191, allocations: 151.4 kB / 1.021 GB, free: 7.078 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005505/0.3197, allocations: 222.6 kB / 1.022 GB, free: 6.863 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.000383/0.3201, allocations: 315.2 kB / 1.022 GB, free: 6.555 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001709/0.3203, allocations: 44.38 kB / 1.022 GB, free: 6.508 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001964/0.3205, allocations: 139.5 kB / 1.022 GB, free: 6.371 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002123/0.3207, allocations: 159.4 kB / 1.022 GB, free: 6.215 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.71e-05/0.3207, allocations: 12 kB / 1.022 GB, free: 6.203 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001419/0.3209, allocations: 51.97 kB / 1.022 GB, free: 6.152 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001264/0.321, allocations: 91.67 kB / 1.022 GB, free: 6.062 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001312/0.3212, allocations: 123.1 kB / 1.023 GB, free: 5.941 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0004315/0.3216, allocations: 359.1 kB / 1.023 GB, free: 5.59 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3216, allocations: 0 / 1.023 GB, free: 5.59 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.406e-06/0.3216, allocations: 0 / 1.023 GB, free: 5.59 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.3216, allocations: 3.938 kB / 1.023 GB, free: 5.586 MB / 0.795 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.001039/0.3227, allocations: 0.6225 MB / 1.023 GB, free: 4.914 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.436e-05/0.3227, allocations: 12.92 kB / 1.024 GB, free: 4.902 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.66e-05/0.3228, allocations: 36.47 kB / 1.024 GB, free: 4.867 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005605/0.3234, allocations: 378.1 kB / 1.024 GB, free: 4.457 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/0.3234, allocations: 4 kB / 1.024 GB, free: 4.453 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.213e-05/0.3234, allocations: 11.94 kB / 1.024 GB, free: 4.441 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002614/0.3237, allocations: 108.4 kB / 1.024 GB, free: 4.332 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.3237, allocations: 0 / 1.024 GB, free: 4.332 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.844e-05/0.3237, allocations: 8 kB / 1.024 GB, free: 4.324 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.3238, allocations: 4 kB / 1.024 GB, free: 4.32 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001781/0.3239, allocations: 55.95 kB / 1.024 GB, free: 4.266 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008681/0.3248, allocations: 0.4925 MB / 1.025 GB, free: 3.723 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003655/0.3252, allocations: 134.8 kB / 1.025 GB, free: 3.582 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001321/0.3253, allocations: 44.84 kB / 1.025 GB, free: 3.535 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.589e-05/0.3254, allocations: 7.938 kB / 1.025 GB, free: 3.527 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002563/0.3256, allocations: 119.4 kB / 1.025 GB, free: 3.398 MB / 0.795 GB Notification: Performance of pre-optimization done (n=13): time 1.472e-06/0.3256, allocations: 0 / 1.025 GB, free: 3.398 MB / 0.795 GB Notification: Performance of matching and sorting (n=13): time 0.0005694/0.3262, allocations: 223.5 kB / 1.025 GB, free: 3.176 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/0.3263, allocations: 51.41 kB / 1.025 GB, free: 3.113 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006336/0.3269, allocations: 0.5093 MB / 1.026 GB, free: 2.598 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.482e-05/0.3269, allocations: 29.64 kB / 1.026 GB, free: 2.562 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000139/0.3271, allocations: 168.4 kB / 1.026 GB, free: 2.395 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.449e-05/0.3272, allocations: 43.48 kB / 1.026 GB, free: 2.352 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.3273, allocations: 73.88 kB / 1.026 GB, free: 2.273 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000178/0.3275, allocations: 350.8 kB / 1.026 GB, free: 1.922 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002081/0.3277, allocations: 96.52 kB / 1.026 GB, free: 1.828 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000237/0.3279, allocations: 136.1 kB / 1.026 GB, free: 1.688 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003503/0.3283, allocations: 188 kB / 1.027 GB, free: 1.496 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.3283, allocations: 0 / 1.027 GB, free: 1.496 MB / 0.795 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005868/0.3289, allocations: 309.2 kB / 1.027 GB, free: 1.188 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.3289, allocations: 4 kB / 1.027 GB, free: 1.184 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.3289, allocations: 7.938 kB / 1.027 GB, free: 1.176 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.3289, allocations: 0 / 1.027 GB, free: 1.176 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002475/0.3292, allocations: 51.97 kB / 1.027 GB, free: 1.125 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.3292, allocations: 3.938 kB / 1.027 GB, free: 1.121 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001499/0.3294, allocations: 31.89 kB / 1.027 GB, free: 1.09 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.278e-05/0.3294, allocations: 12 kB / 1.027 GB, free: 1.078 MB / 0.795 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.0002035/0.3296, allocations: 182.8 kB / 1.027 GB, free: 0.8906 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.11e-05/0.3297, allocations: 35.56 kB / 1.027 GB, free: 0.8555 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.434e-05/0.3298, allocations: 43.06 kB / 1.027 GB, free: 0.8125 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.3298, allocations: 0 / 1.027 GB, free: 0.8125 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.3298, allocations: 0 / 1.027 GB, free: 0.8125 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.3298, allocations: 0 / 1.027 GB, free: 0.8125 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003237/0.3301, allocations: 309.3 kB / 1.028 GB, free: 472 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.3301, allocations: 0 / 1.028 GB, free: 472 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.878e-05/0.3302, allocations: 11.98 kB / 1.028 GB, free: 460 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.3302, allocations: 4 kB / 1.028 GB, free: 456 kB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.3302, allocations: 7.938 kB / 1.028 GB, free: 448 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3302, allocations: 0 / 1.028 GB, free: 448 kB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3302, allocations: 0 / 1.028 GB, free: 448 kB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004097/0.3307, allocations: 204.7 kB / 1.028 GB, free: 224 kB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 9.873e-05/0.3308, allocations: 116.7 kB / 1.028 GB, free: 88 kB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.462e-05/0.3308, allocations: 11.88 kB / 1.028 GB, free: 76 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.3309, allocations: 11.98 kB / 1.028 GB, free: 64 kB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.367e-05/0.331, allocations: 19.97 kB / 1.028 GB, free: 44 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-05/0.331, allocations: 8 kB / 1.028 GB, free: 36 kB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0003775/0.3314, allocations: 315.1 kB / 1.028 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3314, allocations: 0 / 1.028 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002966/0.3317, allocations: 55.91 kB / 1.028 GB, free: 15.68 MB / 0.8106 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.001545/0.3333, allocations: 424.8 kB / 1.029 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004641/0.3338, allocations: 195.8 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.3338, allocations: 0 / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001482/0.3339, allocations: 59.95 kB / 1.029 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004992/0.3344, allocations: 100.4 kB / 1.029 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009608/0.3354, allocations: 0.5647 MB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004398/0.3359, allocations: 0.7869 MB / 1.03 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.873e-05/0.336, allocations: 35.42 kB / 1.03 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of SimCode: time 2.444e-06/0.336, allocations: 0 / 1.03 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of Templates: time 0.007518/0.3435, allocations: 4.392 MB / 1.035 GB, free: 9.262 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Less.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches