Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001698/0.001698, 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.002403/0.002403, allocations: 220.8 kB / 22.25 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.491/1.491, allocations: 230.6 MB / 256 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.89/2.89, allocations: 476.7 MB / 0.7707 GB, free: 4.289 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_Controls_OBC_CDL_Integers_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Less,fileNamePrefix="Buildings_11_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.002041/0.002041, allocations: 69.75 kB / 1.117 GB, free: 40.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3243, allocations: 170 MB / 1.283 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.004503/0.3288, allocations: 2.055 MB / 1.285 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002699/0.3315, allocations: 1.36 MB / 1.287 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002216/0.3317, allocations: 11.88 kB / 1.287 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005429/0.3323, allocations: 163.4 kB / 1.287 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0006151/0.3329, allocations: 211.2 kB / 1.287 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005404/0.3334, allocations: 163.6 kB / 1.287 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000607/0.334, allocations: 343 kB / 1.288 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001824/0.3342, allocations: 32.44 kB / 1.288 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00039/0.3346, allocations: 159.4 kB / 1.288 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000355/0.335, allocations: 175.3 kB / 1.288 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.876e-05/0.335, allocations: 16 kB / 1.288 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002131/0.3352, allocations: 47.98 kB / 1.288 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001662/0.3354, allocations: 99.66 kB / 1.288 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001808/0.3356, allocations: 127.1 kB / 1.288 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007365/0.3363, allocations: 386.3 kB / 1.289 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3363, allocations: 0 / 1.289 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.625e-06/0.3363, allocations: 0 / 1.289 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.616e-05/0.3363, allocations: 0 / 1.289 GB, free: 6.391 MB / 0.9825 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.001431/0.3378, allocations: 0.5761 MB / 1.289 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.757e-05/0.3378, allocations: 8.031 kB / 1.289 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.751e-05/0.3379, allocations: 42.73 kB / 1.289 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001319/0.338, allocations: 40.7 kB / 1.289 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000651/0.3387, allocations: 328.2 kB / 1.29 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.024e-05/0.3387, allocations: 7.984 kB / 1.29 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.945e-05/0.3387, allocations: 8 kB / 1.29 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002984/0.339, allocations: 117.4 kB / 1.29 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.339, allocations: 0 / 1.29 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.864e-05/0.3391, allocations: 4 kB / 1.29 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.3391, allocations: 0 / 1.29 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001889/0.3393, allocations: 59.95 kB / 1.29 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001062/0.3403, allocations: 475.5 kB / 1.29 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003806/0.3407, allocations: 130.8 kB / 1.29 GB, free: 4.5 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001276/0.3408, allocations: 52.75 kB / 1.29 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.26e-05/0.3409, allocations: 4 kB / 1.29 GB, free: 4.441 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002936/0.3412, allocations: 115.2 kB / 1.29 GB, free: 4.316 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 2.094e-06/0.3412, allocations: 0 / 1.29 GB, free: 4.316 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0006632/0.3418, allocations: 221.4 kB / 1.291 GB, free: 4.094 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.304e-05/0.3419, allocations: 63.33 kB / 1.291 GB, free: 4.02 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007974/0.3427, allocations: 0.5211 MB / 1.291 GB, free: 3.484 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.272e-05/0.3427, allocations: 33.7 kB / 1.291 GB, free: 3.445 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001728/0.3429, allocations: 176.4 kB / 1.291 GB, free: 3.27 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.242e-05/0.3429, allocations: 35.75 kB / 1.291 GB, free: 3.234 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001376/0.3431, allocations: 77.91 kB / 1.292 GB, free: 3.148 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001808/0.3433, allocations: 350.8 kB / 1.292 GB, free: 2.797 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002162/0.3435, allocations: 96.52 kB / 1.292 GB, free: 2.703 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002417/0.3437, allocations: 136.1 kB / 1.292 GB, free: 2.562 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003725/0.3441, allocations: 196.2 kB / 1.292 GB, free: 2.363 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.3441, allocations: 0 / 1.292 GB, free: 2.363 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006429/0.3447, allocations: 329.3 kB / 1.293 GB, free: 2.035 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.3448, allocations: 7.938 kB / 1.293 GB, free: 2.027 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.3448, allocations: 0 / 1.293 GB, free: 2.027 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.3448, allocations: 4 kB / 1.293 GB, free: 2.023 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002368/0.345, allocations: 47.91 kB / 1.293 GB, free: 1.977 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.345, allocations: 4 kB / 1.293 GB, free: 1.973 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001672/0.3452, allocations: 20 kB / 1.293 GB, free: 1.953 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.554e-05/0.3452, allocations: 16 kB / 1.293 GB, free: 1.938 MB / 0.9825 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.0002178/0.3454, allocations: 177.8 kB / 1.293 GB, free: 1.754 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.106e-05/0.3455, allocations: 39.7 kB / 1.293 GB, free: 1.715 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004461/0.346, allocations: 196.7 kB / 1.293 GB, free: 1.52 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.346, allocations: 0 / 1.293 GB, free: 1.52 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.346, allocations: 4 kB / 1.293 GB, free: 1.516 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.346, allocations: 4 kB / 1.293 GB, free: 1.512 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003024/0.3463, allocations: 272.6 kB / 1.293 GB, free: 1.203 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.3463, allocations: 0 / 1.293 GB, free: 1.203 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.204e-05/0.3463, allocations: 15.92 kB / 1.293 GB, free: 1.188 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.081e-05/0.3464, allocations: 7.938 kB / 1.293 GB, free: 1.18 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.3464, allocations: 3.938 kB / 1.293 GB, free: 1.176 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.878e-06/0.3464, allocations: 3.984 kB / 1.293 GB, free: 1.172 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3464, allocations: 0 / 1.293 GB, free: 1.172 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003929/0.3468, allocations: 217.8 kB / 1.294 GB, free: 0.9414 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.207e-05/0.3469, allocations: 39.7 kB / 1.294 GB, free: 0.9023 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.551e-05/0.3469, allocations: 7.984 kB / 1.294 GB, free: 0.8945 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.347, allocations: 8 kB / 1.294 GB, free: 0.8867 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.432e-05/0.3471, allocations: 15.97 kB / 1.294 GB, free: 0.8711 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.42e-05/0.3471, allocations: 8 kB / 1.294 GB, free: 0.8633 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003977/0.3475, allocations: 327.1 kB / 1.294 GB, free: 0.5469 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3475, allocations: 0 / 1.294 GB, free: 0.5469 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003074/0.3478, allocations: 59.89 kB / 1.294 GB, free: 500 kB / 0.9825 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.002247/0.35, allocations: 1.078 MB / 1.295 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004635/0.3505, allocations: 179.8 kB / 1.295 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.3505, allocations: 4.125 kB / 1.295 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001612/0.3507, allocations: 59.89 kB / 1.295 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004744/0.3511, allocations: 88.77 kB / 1.295 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004635/0.3558, allocations: 3.181 MB / 1.299 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004693/0.3562, allocations: 0.787 MB / 1.299 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001815/0.3564, allocations: 58.94 kB / 1.299 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001971/0.3566, allocations: 107.4 kB / 1.299 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of SimCode: time 1.072e-06/0.3566, allocations: 0 / 1.299 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0395/0.3961, allocations: 7.549 MB / 1.307 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.01, allocations: 10.62 kB / 1.307 GB, free: 3.531 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Less_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Less.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Less.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.05032132798806]