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.001684/0.001684, allocations: 110.4 kB / 18.94 MB, free: 2.793 MB / 14.72 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.002336/0.002336, allocations: 222.7 kB / 22.26 MB, free: 5.215 MB / 14.72 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 1.51/1.51, allocations: 230.6 MB / 256 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] 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 3.295/3.295, allocations: 0.505 GB / 0.8101 GB, free: 22.04 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 62.66 kB / 1.177 GB, free: 17.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4071/0.409, allocations: 180.2 MB / 1.353 GB, free: 8.441 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.004276/0.4133, allocations: 2.049 MB / 1.355 GB, free: 6.379 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002897/0.4162, allocations: 1.365 MB / 1.356 GB, free: 5.012 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002108/0.4164, allocations: 7.938 kB / 1.356 GB, free: 5.004 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.000529/0.417, allocations: 163.4 kB / 1.356 GB, free: 4.844 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0006799/0.4176, allocations: 207.2 kB / 1.357 GB, free: 4.641 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000471/0.4181, allocations: 163.6 kB / 1.357 GB, free: 4.48 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000559/0.4187, allocations: 339 kB / 1.357 GB, free: 4.148 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001722/0.4188, allocations: 37.14 kB / 1.357 GB, free: 4.113 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003614/0.4192, allocations: 163.4 kB / 1.357 GB, free: 3.953 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002968/0.4195, allocations: 167.3 kB / 1.357 GB, free: 3.789 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.951e-05/0.4195, allocations: 16 kB / 1.357 GB, free: 3.773 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001745/0.4197, allocations: 63.97 kB / 1.357 GB, free: 3.711 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001261/0.4198, allocations: 91.61 kB / 1.358 GB, free: 3.621 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001601/0.42, allocations: 131.1 kB / 1.358 GB, free: 3.492 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005926/0.4206, allocations: 386.3 kB / 1.358 GB, free: 3.113 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.341e-06/0.4206, allocations: 0 / 1.358 GB, free: 3.113 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.583e-06/0.4206, allocations: 0 / 1.358 GB, free: 3.113 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.665e-05/0.4206, allocations: 0 / 1.358 GB, free: 3.113 MB / 1.045 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.001228/0.4218, allocations: 0.5663 MB / 1.359 GB, free: 2.516 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.586e-05/0.4219, allocations: 16.02 kB / 1.359 GB, free: 2.5 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.215e-05/0.422, allocations: 34.75 kB / 1.359 GB, free: 2.457 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001082/0.4221, allocations: 44.66 kB / 1.359 GB, free: 2.414 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006045/0.4227, allocations: 324.2 kB / 1.359 GB, free: 2.074 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.698e-05/0.4227, allocations: 11.91 kB / 1.359 GB, free: 2.062 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.162e-05/0.4227, allocations: 4 kB / 1.359 GB, free: 2.059 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002753/0.423, allocations: 107 kB / 1.359 GB, free: 1.949 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.423, allocations: 0 / 1.359 GB, free: 1.949 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.796e-05/0.423, allocations: 7.969 kB / 1.359 GB, free: 1.941 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.423, allocations: 4 kB / 1.359 GB, free: 1.938 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001851/0.4232, allocations: 59.91 kB / 1.359 GB, free: 1.879 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008977/0.4241, allocations: 483.5 kB / 1.36 GB, free: 1.363 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003838/0.4245, allocations: 130.6 kB / 1.36 GB, free: 1.227 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001196/0.4246, allocations: 48.83 kB / 1.36 GB, free: 1.176 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.749e-05/0.4246, allocations: 0 / 1.36 GB, free: 1.176 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002641/0.4249, allocations: 111.3 kB / 1.36 GB, free: 1.055 MB / 1.045 GB Notification: Performance of pre-optimization done (n=13): time 1.563e-06/0.4249, allocations: 0 / 1.36 GB, free: 1.055 MB / 1.045 GB Notification: Performance of matching and sorting (n=13): time 0.0006056/0.4255, allocations: 236.7 kB / 1.36 GB, free: 0.8203 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/0.4256, allocations: 51.41 kB / 1.36 GB, free: 0.7578 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007239/0.4263, allocations: 0.5289 MB / 1.361 GB, free: 224 kB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.023e-05/0.4263, allocations: 25.7 kB / 1.361 GB, free: 192 kB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001893/0.4265, allocations: 180.4 kB / 1.361 GB, free: 8 kB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 6.822e-05/0.4266, allocations: 31.98 kB / 1.361 GB, free: 15.97 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00014/0.4267, allocations: 69.92 kB / 1.361 GB, free: 15.89 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002007/0.4269, allocations: 350.8 kB / 1.361 GB, free: 15.54 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002142/0.4271, allocations: 100.5 kB / 1.361 GB, free: 15.45 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002447/0.4274, allocations: 139.6 kB / 1.362 GB, free: 15.3 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003717/0.4277, allocations: 178.5 kB / 1.362 GB, free: 15.12 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.4277, allocations: 0 / 1.362 GB, free: 15.12 MB / 1.061 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006745/0.4284, allocations: 333.3 kB / 1.362 GB, free: 14.79 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.4284, allocations: 11.81 kB / 1.362 GB, free: 14.78 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.4285, allocations: 4 kB / 1.362 GB, free: 14.77 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.4285, allocations: 0 / 1.362 GB, free: 14.77 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002502/0.4287, allocations: 55.91 kB / 1.362 GB, free: 14.72 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.4287, allocations: 0 / 1.362 GB, free: 14.72 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001668/0.4289, allocations: 27.81 kB / 1.362 GB, free: 14.69 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.291e-05/0.4289, allocations: 8 kB / 1.362 GB, free: 14.68 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.000235/0.4292, allocations: 181.7 kB / 1.362 GB, free: 14.5 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.082e-05/0.4292, allocations: 39.7 kB / 1.362 GB, free: 14.46 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004685/0.4297, allocations: 204.8 kB / 1.363 GB, free: 14.25 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.4297, allocations: 7.938 kB / 1.363 GB, free: 14.24 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.4297, allocations: 0 / 1.363 GB, free: 14.24 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.4297, allocations: 0 / 1.363 GB, free: 14.24 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003352/0.4301, allocations: 280.5 kB / 1.363 GB, free: 13.93 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.4301, allocations: 0 / 1.363 GB, free: 13.93 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.417e-05/0.4301, allocations: 19.92 kB / 1.363 GB, free: 13.91 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.4301, allocations: 0 / 1.363 GB, free: 13.91 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.844e-05/0.4302, allocations: 8 kB / 1.363 GB, free: 13.9 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.4302, allocations: 4 kB / 1.363 GB, free: 13.89 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.4302, allocations: 0 / 1.363 GB, free: 13.89 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00042/0.4306, allocations: 200.8 kB / 1.363 GB, free: 13.68 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.2e-05/0.4307, allocations: 39.75 kB / 1.363 GB, free: 13.64 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.902e-05/0.4307, allocations: 7.984 kB / 1.363 GB, free: 13.63 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.4308, allocations: 7.938 kB / 1.363 GB, free: 13.62 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.839e-05/0.4309, allocations: 23.97 kB / 1.363 GB, free: 13.6 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-05/0.4309, allocations: 11.98 kB / 1.363 GB, free: 13.59 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004204/0.4314, allocations: 319.1 kB / 1.363 GB, free: 13.28 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4314, allocations: 4 kB / 1.363 GB, free: 13.27 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003233/0.4317, allocations: 59.89 kB / 1.364 GB, free: 13.21 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 (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 (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.00229/0.434, allocations: 1.076 MB / 1.365 GB, free: 12.27 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000455/0.4344, allocations: 179.8 kB / 1.365 GB, free: 12.09 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4344, allocations: 0 / 1.365 GB, free: 12.09 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001476/0.4346, allocations: 59.91 kB / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005117/0.4351, allocations: 84.16 kB / 1.365 GB, free: 11.96 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004637/0.4397, allocations: 3.184 MB / 1.368 GB, free: 8.68 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005198/0.4402, allocations: 0.7909 MB / 1.369 GB, free: 7.863 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001626/0.4404, allocations: 58.88 kB / 1.369 GB, free: 7.805 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002531/0.4407, allocations: 115.4 kB / 1.369 GB, free: 7.691 MB / 1.061 GB Notification: Performance of SimCode: time 1.423e-06/0.4407, allocations: 0 / 1.369 GB, free: 7.691 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05242/0.4931, allocations: 7.552 MB / 1.376 GB, free: 240 kB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/12.2, allocations: 10.92 kB / 1.376 GB, free: 232 kB / 1.061 GB " [Timeout remaining time 288] (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/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: 19.191865066066384]