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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Less,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Less,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001432/0.001432, allocations: 190.9 kB / 16.25 MB, free: 6.633 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.558/1.558, allocations: 222.9 MB / 239.9 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.638/2.638, allocations: 461.9 MB / 0.7343 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001513, allocations: 68.31 kB / 0.8987 GB, free: 37.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3055/0.3071, allocations: 157.4 MB / 1.052 GB, free: 8.672 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.003077/0.3102, allocations: 2.064 MB / 1.054 GB, free: 6.586 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001714/0.3119, allocations: 1.181 MB / 1.056 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001037/0.312, allocations: 3.938 kB / 1.056 GB, free: 5.398 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.00037/0.3124, allocations: 147.6 kB / 1.056 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002802/0.3127, allocations: 143.5 kB / 1.056 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004176/0.3131, allocations: 202.8 kB / 1.056 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003043/0.3134, allocations: 307.2 kB / 1.056 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001492/0.3136, allocations: 56.36 kB / 1.056 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001663/0.3137, allocations: 139.4 kB / 1.057 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001557/0.3139, allocations: 159.3 kB / 1.057 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.975e-05/0.3139, allocations: 12 kB / 1.057 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001212/0.3141, allocations: 59.97 kB / 1.057 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.421e-05/0.3142, allocations: 87.67 kB / 1.057 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.3143, allocations: 131.1 kB / 1.057 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003351/0.3146, allocations: 359.1 kB / 1.057 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3146, allocations: 7.875 kB / 1.057 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3146, allocations: 4 kB / 1.057 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.3147, allocations: 0 / 1.057 GB, free: 3.621 MB / 0.8106 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.0008789/0.3155, allocations: 0.6108 MB / 1.058 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.3156, allocations: 12.62 kB / 1.058 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.96e-05/0.3156, allocations: 42.67 kB / 1.058 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.481e-05/0.3157, allocations: 32.56 kB / 1.058 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004457/0.3161, allocations: 381.9 kB / 1.058 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.3162, allocations: 8 kB / 1.058 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.84e-05/0.3162, allocations: 12 kB / 1.058 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002304/0.3164, allocations: 101.6 kB / 1.058 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.3165, allocations: 0 / 1.058 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.3165, allocations: 7.984 kB / 1.059 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.3165, allocations: 0 / 1.059 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001628/0.3166, allocations: 57.84 kB / 1.059 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007953/0.3174, allocations: 0.5002 MB / 1.059 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003297/0.3178, allocations: 142.6 kB / 1.059 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/0.3179, allocations: 48.83 kB / 1.059 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.627e-05/0.318, allocations: 8 kB / 1.059 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002293/0.3182, allocations: 107.3 kB / 1.059 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=13): time 1.532e-06/0.3182, allocations: 0 / 1.059 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13): time 0.000533/0.3187, allocations: 225.3 kB / 1.06 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.783e-05/0.3188, allocations: 55.41 kB / 1.06 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005247/0.3193, allocations: 0.5015 MB / 1.06 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.328e-05/0.3193, allocations: 37.7 kB / 1.06 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.3195, allocations: 164.4 kB / 1.06 GB, free: 396 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.651e-05/0.3195, allocations: 43.53 kB / 1.06 GB, free: 352 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.674e-05/0.3196, allocations: 65.88 kB / 1.06 GB, free: 276 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.3198, allocations: 350.8 kB / 1.061 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001793/0.3199, allocations: 96.52 kB / 1.061 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002083/0.3201, allocations: 135.6 kB / 1.061 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003259/0.3205, allocations: 179 kB / 1.061 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.3205, allocations: 0 / 1.061 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004921/0.321, allocations: 321.2 kB / 1.061 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.321, allocations: 7.938 kB / 1.061 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.321, allocations: 4.062 kB / 1.061 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.321, allocations: 4 kB / 1.061 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002031/0.3212, allocations: 47.91 kB / 1.061 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.3213, allocations: 4 kB / 1.061 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001283/0.3214, allocations: 27.83 kB / 1.062 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.813e-05/0.3214, allocations: 12 kB / 1.062 GB, free: 15.07 MB / 0.8262 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.000162/0.3216, allocations: 177.8 kB / 1.062 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.44e-05/0.3216, allocations: 39.55 kB / 1.062 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.138e-05/0.3217, allocations: 35.12 kB / 1.062 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.3217, allocations: 4 kB / 1.062 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.3217, allocations: 0 / 1.062 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.3217, allocations: 0 / 1.062 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002484/0.322, allocations: 305.3 kB / 1.062 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.322, allocations: 4 kB / 1.062 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.448e-05/0.3221, allocations: 8 kB / 1.062 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-06/0.3221, allocations: 3.938 kB / 1.062 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.3221, allocations: 7.984 kB / 1.062 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.594e-06/0.3221, allocations: 0 / 1.062 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3221, allocations: 3.938 kB / 1.062 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003662/0.3225, allocations: 212.1 kB / 1.062 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.284e-05/0.3226, allocations: 112.7 kB / 1.062 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.159e-05/0.3226, allocations: 7.938 kB / 1.062 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.854e-05/0.3227, allocations: 11.98 kB / 1.062 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.421e-05/0.3228, allocations: 19.92 kB / 1.062 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-05/0.3228, allocations: 7.984 kB / 1.062 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003334/0.3232, allocations: 319.1 kB / 1.063 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3232, allocations: 0 / 1.063 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002643/0.3234, allocations: 59.89 kB / 1.063 GB, free: 13.67 MB / 0.8262 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.001411/0.3249, allocations: 1.055 MB / 1.064 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003948/0.3253, allocations: 199.8 kB / 1.064 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3253, allocations: 0 / 1.064 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001451/0.3254, allocations: 63.91 kB / 1.064 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004412/0.3259, allocations: 89.83 kB / 1.064 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003666/0.3296, allocations: 3.184 MB / 1.067 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003496/0.3299, allocations: 0.7831 MB / 1.068 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001371/0.3301, allocations: 58.94 kB / 1.068 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001886/0.3303, allocations: 107.4 kB / 1.068 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of SimCode: time 1.051e-06/0.3303, allocations: 0 / 1.068 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.208/4.538, allocations: 6.913 MB / 1.075 GB, free: 1.406 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002179/4.539, allocations: 248.1 kB / 1.075 GB, free: 1.152 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.514/7.053, allocations: 0 / 1.075 GB, free: 1.152 MB / 0.8262 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Less_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Less.fmu > 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