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.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.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.01039/0.01039, allocations: 99.92 kB / 15.73 MB, free: 6.023 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.001963/0.001963, allocations: 190.6 kB / 16.67 MB, free: 5.938 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.451/1.451, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.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.341/2.341, allocations: 390.2 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 67.89 kB / 0.9509 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9356/0.9371, allocations: 140.4 MB / 1.088 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.003568/0.9407, allocations: 1.991 MB / 1.09 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002034/0.9428, allocations: 1.212 MB / 1.091 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001417/0.9429, allocations: 2 kB / 1.091 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005697/0.9435, allocations: 155.8 kB / 1.091 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003833/0.9439, allocations: 155.8 kB / 1.091 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006358/0.9446, allocations: 225.4 kB / 1.092 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004318/0.945, allocations: 308.1 kB / 1.092 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001946/0.9452, allocations: 51.86 kB / 1.092 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002184/0.9454, allocations: 145.1 kB / 1.092 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000215/0.9457, allocations: 144.4 kB / 1.092 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.825e-05/0.9457, allocations: 18.28 kB / 1.092 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001685/0.9459, allocations: 59.33 kB / 1.092 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001282/0.946, allocations: 86.12 kB / 1.092 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001248/0.9462, allocations: 132.4 kB / 1.092 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004665/0.9466, allocations: 367.5 kB / 1.093 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.9466, allocations: 4 kB / 1.093 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.974e-06/0.9466, allocations: 0.6875 kB / 1.093 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.9467, allocations: 0 / 1.093 GB, free: 2.492 MB / 0.8575 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.0009142/0.9476, allocations: 0.6165 MB / 1.093 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.9476, allocations: 13.34 kB / 1.093 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.465e-05/0.9477, allocations: 32.86 kB / 1.093 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005005/0.9482, allocations: 379.8 kB / 1.094 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.9482, allocations: 4.156 kB / 1.094 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.412e-05/0.9483, allocations: 13.86 kB / 1.094 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002564/0.9485, allocations: 103.1 kB / 1.094 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.9486, allocations: 0 / 1.094 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.731e-05/0.9486, allocations: 5.797 kB / 1.094 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.9486, allocations: 5.594 kB / 1.094 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00019/0.9488, allocations: 61.77 kB / 1.094 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008171/0.9496, allocations: 499.3 kB / 1.094 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003812/0.95, allocations: 147 kB / 1.095 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001238/0.9501, allocations: 46.77 kB / 1.095 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.531e-05/0.9502, allocations: 6.203 kB / 1.095 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002727/0.9504, allocations: 109.5 kB / 1.095 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 3.307e-06/0.9505, allocations: 0.6875 kB / 1.095 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.0007215/0.9512, allocations: 226.7 kB / 1.095 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/0.9512, allocations: 57.69 kB / 1.095 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009033/0.9522, allocations: 0.5095 MB / 1.096 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.812e-05/0.9522, allocations: 31.73 kB / 1.096 GB, free: 0.6211 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.9523, allocations: 159.8 kB / 1.096 GB, free: 496 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.309e-05/0.9524, allocations: 37.59 kB / 1.096 GB, free: 468 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001387/0.9525, allocations: 70.73 kB / 1.096 GB, free: 428 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.9527, allocations: 347.9 kB / 1.096 GB, free: 92 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002517/0.9529, allocations: 101.4 kB / 1.096 GB, free: 60 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003345/0.9533, allocations: 135.8 kB / 1.096 GB, free: 16 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004261/0.9537, allocations: 185.5 kB / 1.097 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.9537, allocations: 0 / 1.097 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000763/0.9545, allocations: 321.3 kB / 1.097 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.749e-05/0.9545, allocations: 9.188 kB / 1.097 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.9545, allocations: 0.75 kB / 1.097 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.229e-05/0.9546, allocations: 3.266 kB / 1.097 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002615/0.9548, allocations: 49.27 kB / 1.097 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.9548, allocations: 2.562 kB / 1.097 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001656/0.955, allocations: 21.66 kB / 1.097 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.553e-05/0.9551, allocations: 14.16 kB / 1.097 GB, free: 15.75 MB / 0.8731 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.0002537/0.9553, allocations: 183.2 kB / 1.097 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.425e-05/0.9554, allocations: 34.92 kB / 1.097 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.481e-05/0.9555, allocations: 34.09 kB / 1.097 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.9555, allocations: 1.656 kB / 1.097 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.9555, allocations: 0.7188 kB / 1.097 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.9555, allocations: 4.656 kB / 1.097 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003739/0.9559, allocations: 304.2 kB / 1.098 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.9559, allocations: 0 / 1.098 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.238e-05/0.956, allocations: 16.03 kB / 1.098 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.956, allocations: 5.562 kB / 1.098 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.9561, allocations: 6.578 kB / 1.098 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.9561, allocations: 1.062 kB / 1.098 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.9561, allocations: 1.609 kB / 1.098 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004548/0.9565, allocations: 201.9 kB / 1.098 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001362/0.9567, allocations: 116.8 kB / 1.098 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.038e-05/0.9567, allocations: 11.03 kB / 1.098 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.9569, allocations: 7.812 kB / 1.098 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.985e-05/0.9569, allocations: 24.48 kB / 1.098 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.799e-05/0.957, allocations: 7.188 kB / 1.098 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004032/0.9574, allocations: 314.8 kB / 1.098 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.8e-07/0.9574, allocations: 0 / 1.098 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003359/0.9577, allocations: 57 kB / 1.098 GB, free: 14.9 MB / 0.8731 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.001018/0.9587, allocations: 431 kB / 1.099 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004744/0.9592, allocations: 195.2 kB / 1.099 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.9592, allocations: 0 / 1.099 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001728/0.9594, allocations: 60.72 kB / 1.099 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005176/0.96, allocations: 93.33 kB / 1.099 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.961, allocations: 0.5156 MB / 1.1 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004681/0.9614, allocations: 0.7894 MB / 1.1 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001723/0.9616, allocations: 52.84 kB / 1.1 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.547e-05/0.9617, allocations: 32.14 kB / 1.1 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of SimCode: time 2.2e-07/0.9617, allocations: 0 / 1.1 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of Templates: time 0.01036/0.9721, allocations: 4.092 MB / 1.104 GB, free: 13.21 MB / 0.8731 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 -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/jenkins/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