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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00177/0.00177, allocations: 103 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002111/0.002111, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.526/1.526, allocations: 225.6 MB / 247.8 MB, free: 3.738 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.93/2.93, allocations: 497.2 MB / 0.7812 GB, free: 11.93 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 71.89 kB / 1.134 GB, free: 13.16 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.039/1.041, allocations: 173.9 MB / 1.304 GB, free: 32.13 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.002999/1.044, allocations: 2.023 MB / 1.306 GB, free: 30.72 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001697/1.045, allocations: 1.205 MB / 1.307 GB, free: 29.9 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001162/1.045, allocations: 6.781 kB / 1.307 GB, free: 29.89 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0004317/1.046, allocations: 162 kB / 1.307 GB, free: 29.85 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003022/1.046, allocations: 156.5 kB / 1.307 GB, free: 29.77 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004734/1.047, allocations: 218.5 kB / 1.308 GB, free: 29.66 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003216/1.047, allocations: 312.6 kB / 1.308 GB, free: 29.52 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001542/1.047, allocations: 41.83 kB / 1.308 GB, free: 29.5 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001782/1.047, allocations: 150.3 kB / 1.308 GB, free: 29.44 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001631/1.047, allocations: 164.3 kB / 1.308 GB, free: 29.38 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.223e-05/1.047, allocations: 15.62 kB / 1.308 GB, free: 29.38 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000121/1.048, allocations: 58.95 kB / 1.308 GB, free: 29.36 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.516e-05/1.048, allocations: 94.41 kB / 1.308 GB, free: 29.32 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001009/1.048, allocations: 124.7 kB / 1.309 GB, free: 29.23 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003627/1.048, allocations: 367.2 kB / 1.309 GB, free: 29.09 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/1.048, allocations: 2.906 kB / 1.309 GB, free: 29.09 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.573e-06/1.048, allocations: 0 / 1.309 GB, free: 29.09 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.305e-05/1.048, allocations: 0 / 1.309 GB, free: 29.09 MB / 1.061 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.0009182/1.049, allocations: 0.6346 MB / 1.31 GB, free: 28.54 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.549e-05/1.049, allocations: 11.03 kB / 1.31 GB, free: 28.54 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.708e-05/1.049, allocations: 37.56 kB / 1.31 GB, free: 28.5 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.671e-05/1.049, allocations: 38.16 kB / 1.31 GB, free: 28.48 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004636/1.05, allocations: 377.2 kB / 1.31 GB, free: 28.18 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/1.05, allocations: 7.125 kB / 1.31 GB, free: 28.18 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/1.05, allocations: 9.719 kB / 1.31 GB, free: 28.18 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002248/1.05, allocations: 114.7 kB / 1.31 GB, free: 28.12 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/1.05, allocations: 0 / 1.31 GB, free: 28.12 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/1.05, allocations: 2.688 kB / 1.31 GB, free: 28.12 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/1.05, allocations: 0 / 1.31 GB, free: 28.12 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001586/1.05, allocations: 64.72 kB / 1.31 GB, free: 28.1 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007161/1.051, allocations: 499.5 kB / 1.311 GB, free: 27.74 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003144/1.051, allocations: 133.5 kB / 1.311 GB, free: 27.68 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/1.051, allocations: 45.83 kB / 1.311 GB, free: 27.66 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.048e-05/1.051, allocations: 3.938 kB / 1.311 GB, free: 27.65 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002061/1.052, allocations: 119.2 kB / 1.311 GB, free: 27.58 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 1.503e-06/1.052, allocations: 4 kB / 1.311 GB, free: 27.58 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.0004741/1.052, allocations: 221.6 kB / 1.311 GB, free: 27.48 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.46e-05/1.052, allocations: 51.41 kB / 1.311 GB, free: 27.42 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004253/1.052, allocations: 0.5067 MB / 1.312 GB, free: 27.2 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/1.052, allocations: 33.12 kB / 1.312 GB, free: 27.16 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.785e-05/1.053, allocations: 171.8 kB / 1.312 GB, free: 27.02 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.902e-05/1.053, allocations: 32.89 kB / 1.312 GB, free: 26.99 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.266e-05/1.053, allocations: 77.67 kB / 1.312 GB, free: 26.94 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.737e-05/1.053, allocations: 344.9 kB / 1.312 GB, free: 26.62 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001638/1.053, allocations: 99.73 kB / 1.312 GB, free: 26.59 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001984/1.053, allocations: 129.4 kB / 1.313 GB, free: 26.53 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002769/1.053, allocations: 194.3 kB / 1.313 GB, free: 26.43 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/1.053, allocations: 3.938 kB / 1.313 GB, free: 26.43 MB / 1.061 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000439/1.054, allocations: 310.5 kB / 1.313 GB, free: 26.3 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/1.054, allocations: 9.75 kB / 1.313 GB, free: 26.3 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/1.054, allocations: 3.328 kB / 1.313 GB, free: 26.3 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/1.054, allocations: 2.938 kB / 1.313 GB, free: 26.3 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002072/1.054, allocations: 51.58 kB / 1.313 GB, free: 26.29 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/1.054, allocations: 2.875 kB / 1.313 GB, free: 26.29 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001349/1.054, allocations: 31.88 kB / 1.313 GB, free: 26.27 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.599e-05/1.054, allocations: 9.75 kB / 1.313 GB, free: 26.27 MB / 1.061 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.0001307/1.054, allocations: 187.4 kB / 1.313 GB, free: 26.12 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.11e-05/1.054, allocations: 37.8 kB / 1.313 GB, free: 26.1 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.195e-05/1.054, allocations: 36.8 kB / 1.313 GB, free: 26.09 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/1.054, allocations: 0 / 1.313 GB, free: 26.09 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/1.054, allocations: 6.875 kB / 1.313 GB, free: 26.08 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/1.054, allocations: 3.422 kB / 1.313 GB, free: 26.08 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002078/1.055, allocations: 302.7 kB / 1.314 GB, free: 25.84 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/1.055, allocations: 4 kB / 1.314 GB, free: 25.84 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.396e-05/1.055, allocations: 10.91 kB / 1.314 GB, free: 25.84 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/1.055, allocations: 6.5 kB / 1.314 GB, free: 25.83 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/1.055, allocations: 0 / 1.314 GB, free: 25.83 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/1.055, allocations: 2.531 kB / 1.314 GB, free: 25.83 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/1.055, allocations: 3.938 kB / 1.314 GB, free: 25.83 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003148/1.055, allocations: 206.3 kB / 1.314 GB, free: 25.71 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.851e-05/1.055, allocations: 120.3 kB / 1.314 GB, free: 25.59 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.18e-05/1.055, allocations: 10.47 kB / 1.314 GB, free: 25.58 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.606e-05/1.055, allocations: 9.578 kB / 1.314 GB, free: 25.58 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.905e-05/1.055, allocations: 13.2 kB / 1.314 GB, free: 25.58 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/1.055, allocations: 8.609 kB / 1.314 GB, free: 25.58 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000277/1.056, allocations: 317.6 kB / 1.314 GB, free: 25.43 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.056, allocations: 0 / 1.314 GB, free: 25.43 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002824/1.056, allocations: 55.09 kB / 1.314 GB, free: 25.43 MB / 1.061 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.001857/1.058, allocations: 1.065 MB / 1.315 GB, free: 24.67 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003657/1.058, allocations: 176.7 kB / 1.316 GB, free: 24.62 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/1.058, allocations: 0 / 1.316 GB, free: 24.62 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001234/1.058, allocations: 66.84 kB / 1.316 GB, free: 24.6 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004602/1.059, allocations: 96.86 kB / 1.316 GB, free: 24.56 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003188/1.062, allocations: 3.112 MB / 1.319 GB, free: 22.79 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002109/1.062, allocations: 0.7879 MB / 1.32 GB, free: 22.08 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001435/1.062, allocations: 60.12 kB / 1.32 GB, free: 22.07 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001457/1.062, allocations: 106.6 kB / 1.32 GB, free: 21.99 MB / 1.061 GB Notification: Performance of SimCode: time 7.41e-07/1.062, allocations: 0 / 1.32 GB, free: 21.99 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03258/1.095, allocations: 7.188 MB / 1.327 GB, free: 21.01 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.747/9.842, allocations: 6.984 kB / 1.327 GB, free: 21 MB / 1.061 GB " [Timeout remaining time 290] (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 --stepSize=0.0004 --timeout=800 --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) [Timeout 840.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.745577397290617]