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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008211/0.0008211, allocations: 72.45 kB / 19.17 MB, free: 0.7344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 173.9 kB / 22.46 MB, free: 2.09 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8683/0.8683, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.784/1.784, allocations: 389 MB / 0.633 GB, free: 12.66 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.785e-06/2.785e-06, allocations: 0 / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.733e-05/2.012e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.002514/0.002534, allocations: 1.961 MB / 1.002 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001405/0.003938, allocations: 1.286 MB / 1.003 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.497e-05/0.004033, allocations: 7.938 kB / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0003448/0.004378, allocations: 167.3 kB / 1.003 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0003403/0.004718, allocations: 207.1 kB / 1.003 GB, free: 9.816 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003244/0.005043, allocations: 171.3 kB / 1.003 GB, free: 9.648 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.000295/0.005338, allocations: 342.9 kB / 1.004 GB, free: 9.312 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.00546, allocations: 36.89 kB / 1.004 GB, free: 9.273 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001685/0.005628, allocations: 187.5 kB / 1.004 GB, free: 9.09 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000157/0.005785, allocations: 147.6 kB / 1.004 GB, free: 8.945 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.368e-05/0.005809, allocations: 20 kB / 1.004 GB, free: 8.926 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.00591, allocations: 55.92 kB / 1.004 GB, free: 8.871 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 8.255e-05/0.005993, allocations: 95.66 kB / 1.004 GB, free: 8.777 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 6.684e-05/0.006059, allocations: 71.72 kB / 1.004 GB, free: 8.707 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003112/0.006371, allocations: 378.7 kB / 1.005 GB, free: 8.336 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.006373, allocations: 4 kB / 1.005 GB, free: 8.332 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.42e-07/0.006374, allocations: 0 / 1.005 GB, free: 8.332 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.006378, allocations: 0 / 1.005 GB, free: 8.332 MB / 0.9636 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.0006509/0.007029, allocations: 0.574 MB / 1.005 GB, free: 7.727 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.007063, allocations: 12.75 kB / 1.005 GB, free: 7.715 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.214e-05/0.007095, allocations: 42.73 kB / 1.005 GB, free: 7.664 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.87e-05/0.007144, allocations: 36.7 kB / 1.005 GB, free: 7.629 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003247/0.007469, allocations: 316.2 kB / 1.006 GB, free: 7.297 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.007485, allocations: 11.94 kB / 1.006 GB, free: 7.285 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.299e-05/0.007498, allocations: 7.938 kB / 1.006 GB, free: 7.277 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001714/0.007669, allocations: 117.5 kB / 1.006 GB, free: 7.156 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.007676, allocations: 4 kB / 1.006 GB, free: 7.152 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.007688, allocations: 4 kB / 1.006 GB, free: 7.148 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.007692, allocations: 0 / 1.006 GB, free: 7.148 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001059/0.007798, allocations: 71.95 kB / 1.006 GB, free: 7.078 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005167/0.008315, allocations: 451.5 kB / 1.006 GB, free: 6.594 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002014/0.008516, allocations: 130.8 kB / 1.006 GB, free: 6.457 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.705e-05/0.008583, allocations: 52.83 kB / 1.006 GB, free: 6.402 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.381e-05/0.008597, allocations: 0 / 1.006 GB, free: 6.402 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001519/0.008749, allocations: 119.3 kB / 1.007 GB, free: 6.273 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=13): time 1.022e-06/0.00875, allocations: 4 kB / 1.007 GB, free: 6.27 MB / 0.9636 GB Notification: Performance of matching and sorting (n=13): time 0.0003255/0.009075, allocations: 233.3 kB / 1.007 GB, free: 6.035 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/0.009104, allocations: 55.41 kB / 1.007 GB, free: 5.969 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003678/0.009471, allocations: 0.5289 MB / 1.007 GB, free: 5.43 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.009487, allocations: 33.7 kB / 1.007 GB, free: 5.391 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 8.786e-05/0.009575, allocations: 176.4 kB / 1.008 GB, free: 5.215 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.915e-05/0.009604, allocations: 31.75 kB / 1.008 GB, free: 5.184 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.011e-05/0.009674, allocations: 77.91 kB / 1.008 GB, free: 5.098 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.218e-05/0.009767, allocations: 342.8 kB / 1.008 GB, free: 4.754 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001191/0.009886, allocations: 108.5 kB / 1.008 GB, free: 4.648 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001312/0.01002, allocations: 139.6 kB / 1.008 GB, free: 4.504 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002031/0.01022, allocations: 191 kB / 1.008 GB, free: 4.309 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.01022, allocations: 0 / 1.008 GB, free: 4.309 MB / 0.9636 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003318/0.01055, allocations: 334.3 kB / 1.009 GB, free: 3.977 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.01057, allocations: 10.03 kB / 1.009 GB, free: 3.969 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.01058, allocations: 0 / 1.009 GB, free: 3.969 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.01059, allocations: 8 kB / 1.009 GB, free: 3.961 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.01071, allocations: 51.91 kB / 1.009 GB, free: 3.91 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.01072, allocations: 4 kB / 1.009 GB, free: 3.906 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.239e-05/0.01079, allocations: 15.94 kB / 1.009 GB, free: 3.891 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.111e-05/0.01081, allocations: 15.98 kB / 1.009 GB, free: 3.875 MB / 0.9636 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.0001234/0.01093, allocations: 185.7 kB / 1.009 GB, free: 3.684 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.941e-05/0.01096, allocations: 35.77 kB / 1.009 GB, free: 3.648 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000265/0.01123, allocations: 219.3 kB / 1.009 GB, free: 3.426 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.01123, allocations: 7.938 kB / 1.009 GB, free: 3.418 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.01124, allocations: 0 / 1.009 GB, free: 3.418 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.01124, allocations: 0 / 1.009 GB, free: 3.418 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001744/0.01141, allocations: 260.6 kB / 1.009 GB, free: 3.121 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.01142, allocations: 4 kB / 1.009 GB, free: 3.117 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.896e-05/0.01146, allocations: 15.98 kB / 1.009 GB, free: 3.102 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.01146, allocations: 0 / 1.009 GB, free: 3.102 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.01147, allocations: 4 kB / 1.009 GB, free: 3.098 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.01147, allocations: 7.938 kB / 1.01 GB, free: 3.09 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.01147, allocations: 0 / 1.01 GB, free: 3.09 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002352/0.01171, allocations: 220.8 kB / 1.01 GB, free: 2.855 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 4.143e-05/0.01175, allocations: 47.69 kB / 1.01 GB, free: 2.809 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.516e-05/0.01177, allocations: 4 kB / 1.01 GB, free: 2.805 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.846e-05/0.01182, allocations: 15.92 kB / 1.01 GB, free: 2.789 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.469e-05/0.01188, allocations: 23.97 kB / 1.01 GB, free: 2.766 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.01189, allocations: 8 kB / 1.01 GB, free: 2.758 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0002181/0.01211, allocations: 323.1 kB / 1.01 GB, free: 2.445 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.01211, allocations: 4 kB / 1.01 GB, free: 2.441 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002009/0.01231, allocations: 63.88 kB / 1.01 GB, free: 2.379 MB / 0.9636 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 (timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * 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.001035/0.01334, allocations: 1.104 MB / 1.011 GB, free: 1.434 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002607/0.0136, allocations: 191.8 kB / 1.011 GB, free: 1.246 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.0136, allocations: 0 / 1.011 GB, free: 1.246 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 8.783e-05/0.01369, allocations: 63.89 kB / 1.012 GB, free: 1.184 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002656/0.01396, allocations: 96.47 kB / 1.012 GB, free: 1.102 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002564/0.01652, allocations: 3.229 MB / 1.015 GB, free: 13.77 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001227/0.01664, allocations: 179.8 kB / 1.015 GB, free: 13.57 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0001063/0.01675, allocations: 58.94 kB / 1.015 GB, free: 13.52 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001194/0.01687, allocations: 120.5 kB / 1.015 GB, free: 13.4 MB / 0.9792 GB Notification: Performance of SimCode: time 4.71e-07/0.01687, allocations: 0 / 1.015 GB, free: 13.4 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01865/0.03552, allocations: 8.481 MB / 1.023 GB, free: 5.023 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.019/7.054, allocations: 16.25 kB / 1.023 GB, free: 5.012 MB / 0.9792 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Less.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Less.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable intLes.u1 in file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.csv. Warning: Get data of variable intLes.u1 from file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.csv failed! Error: Could not read variable intLes.u2 in file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.csv. Warning: Get data of variable intLes.u2 from file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.csv failed! Error: Could not read variable intLes.y in file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.csv. Warning: Get data of variable intLes.y from file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.21059558633715]