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.0007919/0.0007919, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008314/0.0008314, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8861/0.8861, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.744/1.744, allocations: 389 MB / 0.633 GB, free: 12.7 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.194e-06/2.194e-06, allocations: 0 / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.056e-05/2.275e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.002505/0.002528, allocations: 1.972 MB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001517/0.004045, allocations: 1.278 MB / 1.003 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001134/0.004158, allocations: 7.938 kB / 1.003 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0003709/0.004529, allocations: 167.2 kB / 1.003 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0003544/0.004884, allocations: 207.1 kB / 1.003 GB, free: 9.84 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002743/0.005158, allocations: 167.4 kB / 1.003 GB, free: 9.676 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0003286/0.005487, allocations: 354.9 kB / 1.004 GB, free: 9.328 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000137/0.005624, allocations: 24.92 kB / 1.004 GB, free: 9.301 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001876/0.005811, allocations: 195.5 kB / 1.004 GB, free: 9.109 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001542/0.005965, allocations: 135.7 kB / 1.004 GB, free: 8.977 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.565e-05/0.005991, allocations: 16 kB / 1.004 GB, free: 8.961 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001232/0.006114, allocations: 63.91 kB / 1.004 GB, free: 8.898 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 9.006e-05/0.006204, allocations: 95.61 kB / 1.004 GB, free: 8.805 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 6.713e-05/0.006271, allocations: 75.7 kB / 1.004 GB, free: 8.73 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003247/0.006596, allocations: 378.7 kB / 1.005 GB, free: 8.359 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.006601, allocations: 4 kB / 1.005 GB, free: 8.355 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.613e-06/0.006602, allocations: 4 kB / 1.005 GB, free: 8.352 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.461e-06/0.006608, allocations: 0 / 1.005 GB, free: 8.352 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.0007437/0.007351, allocations: 0.574 MB / 1.005 GB, free: 7.746 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.007392, allocations: 12.75 kB / 1.005 GB, free: 7.734 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.401e-05/0.007426, allocations: 38.73 kB / 1.005 GB, free: 7.688 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.467e-05/0.00748, allocations: 36.7 kB / 1.005 GB, free: 7.652 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004264/0.007907, allocations: 316.2 kB / 1.006 GB, free: 7.32 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.007925, allocations: 15.92 kB / 1.006 GB, free: 7.305 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.34e-05/0.007938, allocations: 4 kB / 1.006 GB, free: 7.301 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/0.008119, allocations: 117.5 kB / 1.006 GB, free: 7.18 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.008127, allocations: 4 kB / 1.006 GB, free: 7.176 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.00814, allocations: 7.984 kB / 1.006 GB, free: 7.168 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.008144, allocations: 0 / 1.006 GB, free: 7.168 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001143/0.008259, allocations: 63.95 kB / 1.006 GB, free: 7.105 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000555/0.008814, allocations: 447.6 kB / 1.006 GB, free: 6.625 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002272/0.009041, allocations: 134.7 kB / 1.006 GB, free: 6.484 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.031e-05/0.009111, allocations: 52.83 kB / 1.006 GB, free: 6.43 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.009127, allocations: 7.938 kB / 1.006 GB, free: 6.422 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001651/0.009292, allocations: 115.3 kB / 1.007 GB, free: 6.297 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=13): time 1.563e-06/0.009293, allocations: 0 / 1.007 GB, free: 6.297 MB / 0.9636 GB Notification: Performance of matching and sorting (n=13): time 0.0003549/0.009648, allocations: 239.9 kB / 1.007 GB, free: 6.059 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.226e-05/0.009681, allocations: 55.41 kB / 1.007 GB, free: 5.992 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003979/0.01008, allocations: 0.525 MB / 1.007 GB, free: 5.457 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.0101, allocations: 33.7 kB / 1.007 GB, free: 5.418 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 9.798e-05/0.01019, allocations: 180.4 kB / 1.008 GB, free: 5.238 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.723e-05/0.01022, allocations: 35.73 kB / 1.008 GB, free: 5.203 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.495e-05/0.0103, allocations: 73.92 kB / 1.008 GB, free: 5.121 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.952e-05/0.01038, allocations: 342.8 kB / 1.008 GB, free: 4.777 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001289/0.01051, allocations: 108.5 kB / 1.008 GB, free: 4.672 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001383/0.01065, allocations: 143.5 kB / 1.008 GB, free: 4.523 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002044/0.01086, allocations: 183 kB / 1.008 GB, free: 4.336 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.01086, allocations: 4 kB / 1.008 GB, free: 4.332 MB / 0.9636 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003473/0.01121, allocations: 334.3 kB / 1.009 GB, free: 4 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.01122, allocations: 10.03 kB / 1.009 GB, free: 3.992 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.01123, allocations: 0 / 1.009 GB, free: 3.992 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.01124, allocations: 3.938 kB / 1.009 GB, free: 3.988 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/0.01138, allocations: 51.91 kB / 1.009 GB, free: 3.938 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.01138, allocations: 0 / 1.009 GB, free: 3.938 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.673e-05/0.01146, allocations: 19.94 kB / 1.009 GB, free: 3.918 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.16e-05/0.01148, allocations: 12 kB / 1.009 GB, free: 3.906 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.0002628/0.01174, allocations: 193.8 kB / 1.009 GB, free: 3.707 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.066e-05/0.01177, allocations: 35.77 kB / 1.009 GB, free: 3.672 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002888/0.01206, allocations: 219.3 kB / 1.009 GB, free: 3.449 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.01206, allocations: 7.875 kB / 1.009 GB, free: 3.441 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.01207, allocations: 0 / 1.009 GB, free: 3.441 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.01207, allocations: 0 / 1.009 GB, free: 3.441 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001765/0.01225, allocations: 260.6 kB / 1.009 GB, free: 3.145 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.01225, allocations: 4 kB / 1.009 GB, free: 3.141 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.198e-05/0.01229, allocations: 19.98 kB / 1.01 GB, free: 3.121 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.0123, allocations: 0 / 1.01 GB, free: 3.121 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.0123, allocations: 0 / 1.01 GB, free: 3.121 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.01231, allocations: 3.938 kB / 1.01 GB, free: 3.117 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.01231, allocations: 4 kB / 1.01 GB, free: 3.113 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002235/0.01253, allocations: 224.8 kB / 1.01 GB, free: 2.875 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 4.184e-05/0.01257, allocations: 43.7 kB / 1.01 GB, free: 2.832 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.688e-05/0.0126, allocations: 4 kB / 1.01 GB, free: 2.828 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.134e-05/0.01265, allocations: 15.92 kB / 1.01 GB, free: 2.812 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.67e-05/0.01271, allocations: 19.97 kB / 1.01 GB, free: 2.793 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.01272, allocations: 16 kB / 1.01 GB, free: 2.777 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0002375/0.01296, allocations: 327.1 kB / 1.01 GB, free: 2.461 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01296, allocations: 4 kB / 1.01 GB, free: 2.457 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002105/0.01317, allocations: 59.89 kB / 1.01 GB, free: 2.398 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.00107/0.01424, allocations: 1.1 MB / 1.011 GB, free: 1.457 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002737/0.01451, allocations: 191.8 kB / 1.011 GB, free: 1.27 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.01451, allocations: 4.125 kB / 1.011 GB, free: 1.266 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 8.696e-05/0.0146, allocations: 63.91 kB / 1.012 GB, free: 1.203 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003053/0.01491, allocations: 90.75 kB / 1.012 GB, free: 1.121 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002656/0.01756, allocations: 3.221 MB / 1.015 GB, free: 13.8 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001253/0.01769, allocations: 187.8 kB / 1.015 GB, free: 13.6 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0001196/0.01781, allocations: 62.92 kB / 1.015 GB, free: 13.54 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001304/0.01794, allocations: 120.5 kB / 1.015 GB, free: 13.42 MB / 0.9792 GB Notification: Performance of SimCode: time 7.72e-07/0.01794, allocations: 0 / 1.015 GB, free: 13.42 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01895/0.03689, allocations: 8.48 MB / 1.023 GB, free: 5.047 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.732/6.769, allocations: 5.938 kB / 1.023 GB, free: 5.043 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 & /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/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.803123695775867]