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.001463/0.001463, allocations: 113.6 kB / 16.41 MB, free: 6.445 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.001594/0.001594, allocations: 183 kB / 17.34 MB, free: 5.738 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.405/1.405, allocations: 222.9 MB / 241 MB, free: 15.15 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.26/2.26, allocations: 390.2 MB / 0.6655 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001587/0.001587, allocations: 63.89 kB / 0.9515 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8121/0.8137, allocations: 140.4 MB / 1.089 GB, free: 5.766 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.003304/0.8171, allocations: 1.998 MB / 1.091 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001929/0.819, allocations: 1.201 MB / 1.092 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001129/0.8191, allocations: 3.031 kB / 1.092 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00048/0.8196, allocations: 159.1 kB / 1.092 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003538/0.82, allocations: 156.5 kB / 1.092 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005584/0.8206, allocations: 224.7 kB / 1.092 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004198/0.821, allocations: 311.8 kB / 1.093 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001637/0.8212, allocations: 48.77 kB / 1.093 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002696/0.8215, allocations: 156.3 kB / 1.093 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002121/0.8217, allocations: 144.4 kB / 1.093 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.084e-05/0.8217, allocations: 14.06 kB / 1.093 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001547/0.8219, allocations: 60.22 kB / 1.093 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001147/0.822, allocations: 90.17 kB / 1.093 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001106/0.8221, allocations: 124.5 kB / 1.093 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004602/0.8226, allocations: 367.2 kB / 1.094 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.8226, allocations: 1.312 kB / 1.094 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.552e-06/0.8226, allocations: 0 / 1.094 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.8226, allocations: 4 kB / 1.094 GB, free: 2.73 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.0009618/0.8236, allocations: 0.6204 MB / 1.094 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.8236, allocations: 13.81 kB / 1.094 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.26e-05/0.8237, allocations: 32.56 kB / 1.094 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004933/0.8242, allocations: 375.5 kB / 1.095 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.8243, allocations: 8.656 kB / 1.095 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.537e-05/0.8243, allocations: 5.812 kB / 1.095 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002795/0.8246, allocations: 114.5 kB / 1.095 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.8246, allocations: 0 / 1.095 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.817e-05/0.8246, allocations: 1.375 kB / 1.095 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.8246, allocations: 5.25 kB / 1.095 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001802/0.8248, allocations: 62.22 kB / 1.095 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008043/0.8256, allocations: 499.4 kB / 1.095 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003509/0.826, allocations: 138.8 kB / 1.095 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001161/0.8261, allocations: 51.23 kB / 1.095 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.844e-05/0.8262, allocations: 6.625 kB / 1.095 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002406/0.8264, allocations: 113.7 kB / 1.095 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 1.443e-06/0.8264, allocations: 0 / 1.095 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.0005634/0.827, allocations: 221.7 kB / 1.096 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.037e-05/0.827, allocations: 52.91 kB / 1.096 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006675/0.8277, allocations: 0.5091 MB / 1.096 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.8277, allocations: 37.25 kB / 1.096 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.8278, allocations: 162 kB / 1.096 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.036e-05/0.8279, allocations: 34.14 kB / 1.096 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001115/0.828, allocations: 79.58 kB / 1.097 GB, free: 0.6484 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.141e-05/0.8281, allocations: 343.4 kB / 1.097 GB, free: 332 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000207/0.8283, allocations: 102.4 kB / 1.097 GB, free: 300 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002413/0.8286, allocations: 130.8 kB / 1.097 GB, free: 240 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003344/0.8289, allocations: 192.9 kB / 1.097 GB, free: 140 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.8289, allocations: 1.062 kB / 1.097 GB, free: 140 kB / 0.8575 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005515/0.8295, allocations: 313.1 kB / 1.098 GB, free: 12 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.8295, allocations: 9.859 kB / 1.098 GB, free: 8 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.8295, allocations: 0.9688 kB / 1.098 GB, free: 8 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.8295, allocations: 2.438 kB / 1.098 GB, free: 8 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000255/0.8298, allocations: 58.28 kB / 1.098 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.8298, allocations: 0.875 kB / 1.098 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000148/0.83, allocations: 25.55 kB / 1.098 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.238e-05/0.83, allocations: 10.69 kB / 1.098 GB, free: 15.98 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.0001938/0.8302, allocations: 180.6 kB / 1.098 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.193e-05/0.8303, allocations: 33.16 kB / 1.098 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.19e-05/0.8303, allocations: 34.16 kB / 1.098 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.369e-06/0.8303, allocations: 2.891 kB / 1.098 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.8304, allocations: 0 / 1.098 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.8304, allocations: 0.5625 kB / 1.098 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003392/0.8307, allocations: 307.6 kB / 1.098 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.8307, allocations: 0.75 kB / 1.098 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.292e-05/0.8308, allocations: 15.53 kB / 1.098 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.68e-06/0.8308, allocations: 5.688 kB / 1.098 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.8308, allocations: 2.375 kB / 1.098 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.8308, allocations: 5.531 kB / 1.098 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.8308, allocations: 0.8438 kB / 1.098 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003859/0.8312, allocations: 202.3 kB / 1.098 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.8314, allocations: 116.7 kB / 1.099 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.139e-05/0.8314, allocations: 7.281 kB / 1.099 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.8316, allocations: 11.69 kB / 1.099 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.44e-05/0.8316, allocations: 15.8 kB / 1.099 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.675e-05/0.8317, allocations: 7.344 kB / 1.099 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003893/0.8321, allocations: 315.2 kB / 1.099 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8321, allocations: 0.5312 kB / 1.099 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003253/0.8324, allocations: 65.78 kB / 1.099 GB, free: 15.14 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.0009817/0.8334, allocations: 431.5 kB / 1.099 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004466/0.8338, allocations: 190.3 kB / 1.1 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.8339, allocations: 1.125 kB / 1.1 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001497/0.834, allocations: 61.42 kB / 1.1 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004974/0.8345, allocations: 92.83 kB / 1.1 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009515/0.8355, allocations: 0.5564 MB / 1.1 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004019/0.8359, allocations: 0.7848 MB / 1.101 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.494e-05/0.836, allocations: 36.38 kB / 1.101 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of SimCode: time 3.71e-07/0.836, allocations: 4 kB / 1.101 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of Templates: time 0.009056/0.8451, allocations: 4.43 MB / 1.105 GB, free: 13.24 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