Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.0007594/0.0007596, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008657/0.000866, allocations: 181.6 kB / 16.92 MB, free: 6.914 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.268/1.268, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.487/2.487, allocations: 443.2 MB / 0.7181 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003369/0.000337, allocations: 8.5 kB / 0.8801 GB, free: 42.21 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2383/0.2387, allocations: 155.2 MB / 1.032 GB, free: 4.77 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.001999/0.2407, allocations: 1.703 MB / 1.033 GB, free: 3.051 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001618/0.2423, allocations: 1.162 MB / 1.034 GB, free: 1.883 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.299e-05/0.2424, allocations: 7.938 kB / 1.034 GB, free: 1.875 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003423/0.2428, allocations: 155.5 kB / 1.035 GB, free: 1.723 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002456/0.243, allocations: 135.6 kB / 1.035 GB, free: 1.59 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004169/0.2435, allocations: 210.7 kB / 1.035 GB, free: 1.387 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002955/0.2438, allocations: 287.1 kB / 1.035 GB, free: 1.105 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.2439, allocations: 44.38 kB / 1.035 GB, free: 1.059 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001572/0.2441, allocations: 135.4 kB / 1.035 GB, free: 0.9258 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001595/0.2442, allocations: 143.4 kB / 1.035 GB, free: 0.7852 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.168e-05/0.2443, allocations: 4 kB / 1.035 GB, free: 0.7812 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.2444, allocations: 39.98 kB / 1.036 GB, free: 0.7422 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.682e-05/0.2445, allocations: 79.72 kB / 1.036 GB, free: 0.6641 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001029/0.2446, allocations: 144.9 kB / 1.036 GB, free: 0.5156 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000258/0.2448, allocations: 283.5 kB / 1.036 GB, free: 244 kB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.2448, allocations: 0 / 1.036 GB, free: 244 kB / 0.7794 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2448, allocations: 0 / 1.036 GB, free: 244 kB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.2449, allocations: 0 / 1.036 GB, free: 244 kB / 0.7794 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.0007686/0.2456, allocations: 0.5798 MB / 1.037 GB, free: 15.61 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3e-05/0.2457, allocations: 8.031 kB / 1.037 GB, free: 15.6 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.962e-05/0.2457, allocations: 32.56 kB / 1.037 GB, free: 15.57 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004227/0.2462, allocations: 378.1 kB / 1.037 GB, free: 15.16 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.2462, allocations: 8 kB / 1.037 GB, free: 15.15 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.929e-05/0.2462, allocations: 4 kB / 1.037 GB, free: 15.15 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002182/0.2464, allocations: 115.6 kB / 1.037 GB, free: 15.03 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.2465, allocations: 0 / 1.037 GB, free: 15.03 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.2465, allocations: 0 / 1.037 GB, free: 15.03 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.2465, allocations: 4 kB / 1.037 GB, free: 15.03 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001582/0.2466, allocations: 67.89 kB / 1.037 GB, free: 14.96 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006973/0.2474, allocations: 0.4925 MB / 1.038 GB, free: 14.42 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003096/0.2477, allocations: 134.7 kB / 1.038 GB, free: 14.28 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.2478, allocations: 56.77 kB / 1.038 GB, free: 14.22 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.787e-05/0.2478, allocations: 0 / 1.038 GB, free: 14.22 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002047/0.248, allocations: 107.3 kB / 1.038 GB, free: 14.1 MB / 0.795 GB Notification: Performance of pre-optimization done (n=13): time 3.026e-06/0.248, allocations: 3.984 kB / 1.038 GB, free: 14.1 MB / 0.795 GB Notification: Performance of matching and sorting (n=13): time 0.0004628/0.2485, allocations: 227.6 kB / 1.038 GB, free: 13.87 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/0.2486, allocations: 59.41 kB / 1.038 GB, free: 13.8 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005053/0.2491, allocations: 0.5015 MB / 1.039 GB, free: 13.29 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.2491, allocations: 33.7 kB / 1.039 GB, free: 13.25 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.2492, allocations: 168.4 kB / 1.039 GB, free: 13.08 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.255e-05/0.2492, allocations: 31.55 kB / 1.039 GB, free: 13.05 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.87e-05/0.2493, allocations: 41.69 kB / 1.039 GB, free: 13 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.2494, allocations: 350.8 kB / 1.039 GB, free: 12.65 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001729/0.2496, allocations: 96.52 kB / 1.039 GB, free: 12.56 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001912/0.2498, allocations: 135.6 kB / 1.04 GB, free: 12.42 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002938/0.2501, allocations: 179 kB / 1.04 GB, free: 12.23 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.2501, allocations: 0 / 1.04 GB, free: 12.23 MB / 0.795 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004823/0.2506, allocations: 325.6 kB / 1.04 GB, free: 11.91 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.2506, allocations: 8 kB / 1.04 GB, free: 11.9 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.2506, allocations: 3.938 kB / 1.04 GB, free: 11.9 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.969e-06/0.2506, allocations: 0 / 1.04 GB, free: 11.9 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000204/0.2509, allocations: 55.97 kB / 1.04 GB, free: 11.84 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.2509, allocations: 4 kB / 1.04 GB, free: 11.84 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001381/0.251, allocations: 19.84 kB / 1.04 GB, free: 11.82 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.813e-05/0.251, allocations: 15.98 kB / 1.04 GB, free: 11.8 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.000158/0.2512, allocations: 183.2 kB / 1.04 GB, free: 11.62 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.347e-05/0.2513, allocations: 35.56 kB / 1.04 GB, free: 11.58 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.721e-05/0.2513, allocations: 39 kB / 1.04 GB, free: 11.54 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.2513, allocations: 4 kB / 1.04 GB, free: 11.54 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.125e-06/0.2513, allocations: 4 kB / 1.04 GB, free: 11.54 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.2514, allocations: 3.984 kB / 1.04 GB, free: 11.53 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002315/0.2516, allocations: 293.5 kB / 1.041 GB, free: 11.2 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2516, allocations: 0 / 1.041 GB, free: 11.2 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.549e-05/0.2517, allocations: 15.98 kB / 1.041 GB, free: 11.18 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.2517, allocations: 0 / 1.041 GB, free: 11.18 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/0.2517, allocations: 11.94 kB / 1.041 GB, free: 11.17 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.2517, allocations: 0 / 1.041 GB, free: 11.17 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.2517, allocations: 0 / 1.041 GB, free: 11.17 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003323/0.252, allocations: 216.5 kB / 1.041 GB, free: 10.94 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 8.305e-05/0.2521, allocations: 116.7 kB / 1.041 GB, free: 10.8 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.661e-05/0.2522, allocations: 3.938 kB / 1.041 GB, free: 10.8 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.2523, allocations: 11.98 kB / 1.041 GB, free: 10.79 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.206e-05/0.2524, allocations: 19.97 kB / 1.041 GB, free: 10.77 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.2524, allocations: 8 kB / 1.041 GB, free: 10.76 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0003014/0.2527, allocations: 315.1 kB / 1.041 GB, free: 10.46 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.71e-07/0.2527, allocations: 0 / 1.041 GB, free: 10.46 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002703/0.253, allocations: 56 kB / 1.041 GB, free: 10.4 MB / 0.795 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.0008688/0.2538, allocations: 424.1 kB / 1.042 GB, free: 10.14 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003634/0.2542, allocations: 191.8 kB / 1.042 GB, free: 9.953 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2542, allocations: 4 kB / 1.042 GB, free: 9.949 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001248/0.2544, allocations: 55.91 kB / 1.042 GB, free: 9.895 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004436/0.2548, allocations: 90.69 kB / 1.042 GB, free: 9.809 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007925/0.2556, allocations: 0.6452 MB / 1.043 GB, free: 9.137 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003015/0.2559, allocations: 0.7792 MB / 1.044 GB, free: 8.332 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.873e-05/0.256, allocations: 35.42 kB / 1.044 GB, free: 8.297 MB / 0.795 GB Notification: Performance of SimCode: time 4.8e-07/0.256, allocations: 4 kB / 1.044 GB, free: 8.293 MB / 0.795 GB Notification: Performance of Templates: time 0.005706/0.2617, allocations: 4.318 MB / 1.048 GB, free: 3.988 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Less.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches