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: "" <> 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.0007998/0.0007997, allocations: 90.44 kB / 15.36 MB, free: 0.7383 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.005071/0.005071, allocations: 171 kB / 16.26 MB, free: 6.676 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.311/1.311, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.369/2.369, allocations: 462.6 MB / 0.7364 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002914/0.0002914, allocations: 11.72 kB / 0.9029 GB, free: 36.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2307/0.231, allocations: 159.6 MB / 1.059 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.001887/0.233, allocations: 1.71 MB / 1.06 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001596/0.2346, allocations: 1.158 MB / 1.062 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.732e-05/0.2347, allocations: 7.938 kB / 1.062 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0003232/0.235, allocations: 147.6 kB / 1.062 GB, free: 1.832 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002458/0.2353, allocations: 143.5 kB / 1.062 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004304/0.2357, allocations: 203 kB / 1.062 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002892/0.236, allocations: 287.2 kB / 1.062 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.2361, allocations: 48.36 kB / 1.062 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001605/0.2363, allocations: 127.4 kB / 1.063 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001586/0.2365, allocations: 143.4 kB / 1.063 GB, free: 0.9023 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.198e-05/0.2365, allocations: 4 kB / 1.063 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.2366, allocations: 43.98 kB / 1.063 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.234e-05/0.2367, allocations: 83.66 kB / 1.063 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001048/0.2368, allocations: 136.9 kB / 1.063 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003012/0.2371, allocations: 351 kB / 1.063 GB, free: 296 kB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.2371, allocations: 0 / 1.063 GB, free: 296 kB / 0.8106 GB Notification: Performance of FrontEnd: time 9.52e-07/0.2371, allocations: 3.938 kB / 1.063 GB, free: 292 kB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.2371, allocations: 0 / 1.063 GB, free: 292 kB / 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.000738/0.2379, allocations: 0.5681 MB / 1.064 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.2379, allocations: 15.97 kB / 1.064 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.803e-05/0.238, allocations: 34.75 kB / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.942e-05/0.238, allocations: 40.5 kB / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003925/0.2384, allocations: 374 kB / 1.064 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.2385, allocations: 8 kB / 1.064 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.2385, allocations: 8 kB / 1.064 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002111/0.2387, allocations: 113.5 kB / 1.064 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.511e-06/0.2387, allocations: 0 / 1.064 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.2387, allocations: 4 kB / 1.064 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.2387, allocations: 3.938 kB / 1.064 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001456/0.2389, allocations: 63.95 kB / 1.064 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006592/0.2396, allocations: 0.4925 MB / 1.065 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002952/0.2399, allocations: 134.8 kB / 1.065 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.24, allocations: 52.83 kB / 1.065 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.815e-05/0.24, allocations: 3.984 kB / 1.065 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001985/0.2402, allocations: 115.3 kB / 1.065 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 1.352e-06/0.2402, allocations: 0 / 1.065 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.0004416/0.2407, allocations: 225.3 kB / 1.065 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.092e-05/0.2407, allocations: 51.41 kB / 1.065 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000488/0.2412, allocations: 0.5093 MB / 1.066 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/0.2412, allocations: 29.7 kB / 1.066 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.909e-05/0.2413, allocations: 168.4 kB / 1.066 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.378e-05/0.2414, allocations: 35.55 kB / 1.066 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.365e-05/0.2414, allocations: 45.62 kB / 1.066 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.2416, allocations: 342.8 kB / 1.067 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001769/0.2417, allocations: 100.5 kB / 1.067 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001869/0.2419, allocations: 131.6 kB / 1.067 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002859/0.2422, allocations: 180 kB / 1.067 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2422, allocations: 0 / 1.067 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004715/0.2427, allocations: 325.1 kB / 1.067 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.2427, allocations: 11.88 kB / 1.067 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.2427, allocations: 3.984 kB / 1.067 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.2428, allocations: 4 kB / 1.067 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001936/0.243, allocations: 44.05 kB / 1.067 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.243, allocations: 7.984 kB / 1.067 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001284/0.2431, allocations: 23.78 kB / 1.067 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.644e-05/0.2431, allocations: 15.98 kB / 1.067 GB, free: 11.79 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.0001476/0.2433, allocations: 169.8 kB / 1.068 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.837e-05/0.2433, allocations: 35.56 kB / 1.068 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.536e-05/0.2434, allocations: 39.12 kB / 1.068 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.2434, allocations: 4 kB / 1.068 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.2434, allocations: 3.938 kB / 1.068 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.2434, allocations: 0 / 1.068 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002275/0.2437, allocations: 305.3 kB / 1.068 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2437, allocations: 0 / 1.068 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.72e-05/0.2437, allocations: 11.98 kB / 1.068 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.2437, allocations: 7.938 kB / 1.068 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.2438, allocations: 4 kB / 1.068 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.2438, allocations: 3.938 kB / 1.068 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.2438, allocations: 0 / 1.068 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003197/0.2441, allocations: 213.9 kB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.212e-05/0.2442, allocations: 116.7 kB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.494e-05/0.2442, allocations: 3.938 kB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.981e-05/0.2443, allocations: 15.98 kB / 1.068 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.959e-05/0.2444, allocations: 19.92 kB / 1.068 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/0.2444, allocations: 11.98 kB / 1.068 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002937/0.2447, allocations: 311.1 kB / 1.069 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2447, allocations: 4 kB / 1.069 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002547/0.245, allocations: 59.89 kB / 1.069 GB, free: 10.39 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.001291/0.2463, allocations: 1.057 MB / 1.07 GB, free: 9.465 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003456/0.2466, allocations: 195.8 kB / 1.07 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.2466, allocations: 0 / 1.07 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001221/0.2468, allocations: 56.72 kB / 1.07 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004097/0.2472, allocations: 87.7 kB / 1.07 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003409/0.2506, allocations: 3.184 MB / 1.073 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003002/0.2509, allocations: 0.7831 MB / 1.074 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001269/0.251, allocations: 54.95 kB / 1.074 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001455/0.2512, allocations: 107.4 kB / 1.074 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of SimCode: time 3e-07/0.2512, allocations: 0 / 1.074 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.568/3.819, allocations: 6.522 MB / 1.08 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002528/3.819, allocations: 244.7 kB / 1.081 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.015/5.834, allocations: 4 kB / 1.081 GB, free: 14.28 MB / 0.8419 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