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.001129/0.001129, allocations: 104.2 kB / 16.41 MB, free: 6.016 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.001081/0.001081, allocations: 192.3 kB / 17.34 MB, free: 5.609 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.385/1.385, 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.3-maint.9.1.x/package.mo): time 2.38/2.38, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.00141, allocations: 67.89 kB / 0.9515 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8018/0.8032, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.003183/0.8064, allocations: 1.996 MB / 1.091 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001903/0.8083, allocations: 1.198 MB / 1.092 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001365/0.8085, allocations: 1.438 kB / 1.092 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000473/0.809, allocations: 162.9 kB / 1.092 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003842/0.8094, allocations: 154.2 kB / 1.092 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006185/0.81, allocations: 221 kB / 1.092 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004562/0.8105, allocations: 312.9 kB / 1.093 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001614/0.8107, allocations: 52.34 kB / 1.093 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002597/0.8109, allocations: 152.1 kB / 1.093 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002026/0.8111, allocations: 145.1 kB / 1.093 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.444e-05/0.8112, allocations: 13.94 kB / 1.093 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001603/0.8114, allocations: 63.81 kB / 1.093 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001141/0.8115, allocations: 86.62 kB / 1.093 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001135/0.8116, allocations: 128.8 kB / 1.093 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005149/0.8121, allocations: 371 kB / 1.094 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.8121, allocations: 0 / 1.094 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.304e-06/0.8121, allocations: 0.9062 kB / 1.094 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.173e-06/0.8122, allocations: 0 / 1.094 GB, free: 2.5 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.000943/0.8131, allocations: 0.6254 MB / 1.094 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.8132, allocations: 8.938 kB / 1.094 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.527e-05/0.8132, allocations: 32.62 kB / 1.094 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004906/0.8137, allocations: 370.8 kB / 1.095 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.8138, allocations: 12.52 kB / 1.095 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.758e-05/0.8138, allocations: 6.547 kB / 1.095 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002574/0.8141, allocations: 106.7 kB / 1.095 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.8141, allocations: 11.81 kB / 1.095 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.8141, allocations: 1.859 kB / 1.095 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.8141, allocations: 1.344 kB / 1.095 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001843/0.8143, allocations: 62.27 kB / 1.095 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008517/0.8152, allocations: 0.4951 MB / 1.095 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003537/0.8155, allocations: 134.8 kB / 1.095 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001212/0.8157, allocations: 46.92 kB / 1.095 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.522e-05/0.8157, allocations: 6.516 kB / 1.095 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002421/0.8159, allocations: 117.2 kB / 1.096 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 1.643e-06/0.816, allocations: 0 / 1.096 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.0005679/0.8165, allocations: 221.6 kB / 1.096 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.849e-05/0.8166, allocations: 53.33 kB / 1.096 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007138/0.8173, allocations: 0.5101 MB / 1.096 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.8173, allocations: 30.8 kB / 1.096 GB, free: 0.6328 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.8174, allocations: 168.3 kB / 1.096 GB, free: 500 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.575e-05/0.8175, allocations: 36.94 kB / 1.096 GB, free: 472 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/0.8176, allocations: 71.22 kB / 1.097 GB, free: 432 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.997e-05/0.8177, allocations: 348.2 kB / 1.097 GB, free: 96 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002387/0.8179, allocations: 97.14 kB / 1.097 GB, free: 68 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002882/0.8182, allocations: 139.5 kB / 1.097 GB, free: 0 / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004726/0.8187, allocations: 185 kB / 1.097 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.8188, allocations: 4 kB / 1.097 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000768/0.8195, allocations: 317.6 kB / 1.098 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.808e-05/0.8196, allocations: 10 kB / 1.098 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.8196, allocations: 1.281 kB / 1.098 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.663e-05/0.8196, allocations: 5.938 kB / 1.098 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002587/0.8199, allocations: 49.94 kB / 1.098 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.8199, allocations: 2.156 kB / 1.098 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00017/0.8201, allocations: 22.59 kB / 1.098 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-05/0.8201, allocations: 12.7 kB / 1.098 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.0002513/0.8204, allocations: 180.2 kB / 1.098 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.762e-05/0.8205, allocations: 34.84 kB / 1.098 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.186e-05/0.8206, allocations: 34.7 kB / 1.098 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.8206, allocations: 5.125 kB / 1.098 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.8206, allocations: 0 / 1.098 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.8206, allocations: 2.406 kB / 1.098 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004579/0.8211, allocations: 302.3 kB / 1.098 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.8211, allocations: 0.75 kB / 1.098 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.791e-05/0.8212, allocations: 15.45 kB / 1.098 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.8212, allocations: 8.938 kB / 1.098 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.846e-05/0.8212, allocations: 4.031 kB / 1.098 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.8212, allocations: 0.75 kB / 1.098 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.8212, allocations: 0.7812 kB / 1.098 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004668/0.8217, allocations: 207.2 kB / 1.098 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001269/0.8218, allocations: 116.4 kB / 1.099 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.287e-05/0.8219, allocations: 7.531 kB / 1.099 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.822, allocations: 10.88 kB / 1.099 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.732e-05/0.8221, allocations: 16.41 kB / 1.099 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.247e-05/0.8221, allocations: 7.516 kB / 1.099 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004859/0.8226, allocations: 314.7 kB / 1.099 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8226, allocations: 4 kB / 1.099 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003633/0.823, allocations: 57.52 kB / 1.099 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.00108/0.8241, allocations: 426.9 kB / 1.099 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004669/0.8246, allocations: 191.2 kB / 1.1 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.8246, allocations: 0 / 1.1 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001556/0.8247, allocations: 66.56 kB / 1.1 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.0005063/0.8253, allocations: 89.89 kB / 1.1 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009961/0.8263, allocations: 0.5538 MB / 1.1 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003928/0.8267, allocations: 0.7858 MB / 1.101 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.8268, allocations: 35.55 kB / 1.101 GB, free: 13.56 MB / 0.8731 GB Notification: Performance of SimCode: time 4.41e-07/0.8268, allocations: 0 / 1.101 GB, free: 13.56 MB / 0.8731 GB Notification: Performance of Templates: time 0.009312/0.8361, allocations: 4.43 MB / 1.105 GB, free: 13.02 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/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