Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_Buildings_Controls_OBC_CDL_Integers_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Less,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0012/0.0012, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 192.8 kB / 16.25 MB, free: 6.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.452/2.452, allocations: 390.2 MB / 0.6644 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 63.89 kB / 0.8122 GB, free: 14.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7064/0.7084, allocations: 140.4 MB / 0.9492 GB, free: 9.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.00319/0.7116, allocations: 2.051 MB / 0.9512 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001646/0.7133, allocations: 1.168 MB / 0.9524 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001244/0.7134, allocations: 6.344 kB / 0.9524 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004304/0.7139, allocations: 154.5 kB / 0.9525 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003098/0.7142, allocations: 139.1 kB / 0.9527 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004636/0.7147, allocations: 201.8 kB / 0.9529 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003415/0.715, allocations: 316.8 kB / 0.9532 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001661/0.7152, allocations: 54.75 kB / 0.9532 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001879/0.7154, allocations: 147.8 kB / 0.9534 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001674/0.7156, allocations: 150.7 kB / 0.9535 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.403e-05/0.7156, allocations: 18.03 kB / 0.9535 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001449/0.7158, allocations: 53.83 kB / 0.9536 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.5e-05/0.7159, allocations: 98.22 kB / 0.9537 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.779e-05/0.716, allocations: 125.3 kB / 0.9538 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003549/0.7163, allocations: 363.8 kB / 0.9541 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.7164, allocations: 0 / 0.9541 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.252e-06/0.7164, allocations: 1.188 kB / 0.9541 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.7164, allocations: 0 / 0.9541 GB, free: 5.461 MB / 0.7169 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.0008667/0.7173, allocations: 0.6243 MB / 0.9547 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.7173, allocations: 9.5 kB / 0.9548 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.862e-05/0.7173, allocations: 41.14 kB / 0.9548 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.036e-05/0.7174, allocations: 35.28 kB / 0.9548 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004056/0.7178, allocations: 375.4 kB / 0.9552 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.7179, allocations: 7.562 kB / 0.9552 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.166e-05/0.7179, allocations: 9.969 kB / 0.9552 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002455/0.7181, allocations: 108.1 kB / 0.9553 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.7182, allocations: 3.938 kB / 0.9553 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.653e-05/0.7182, allocations: 5.375 kB / 0.9553 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.7182, allocations: 1.469 kB / 0.9553 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001668/0.7184, allocations: 57.03 kB / 0.9554 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006961/0.7191, allocations: 0.5029 MB / 0.9559 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003103/0.7194, allocations: 139.5 kB / 0.956 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.7195, allocations: 49.31 kB / 0.956 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.963e-05/0.7195, allocations: 1.25 kB / 0.956 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002297/0.7198, allocations: 112.7 kB / 0.9561 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.593e-06/0.7198, allocations: 0 / 0.9561 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0005054/0.7203, allocations: 224.8 kB / 0.9564 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/0.7203, allocations: 60.34 kB / 0.9564 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005268/0.7209, allocations: 0.5087 MB / 0.9569 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.7209, allocations: 29.69 kB / 0.9569 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.937e-05/0.721, allocations: 161.7 kB / 0.9571 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.438e-05/0.721, allocations: 39.39 kB / 0.9571 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.266e-05/0.7211, allocations: 65.12 kB / 0.9572 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.87e-05/0.7212, allocations: 349.4 kB / 0.9575 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001811/0.7214, allocations: 100.4 kB / 0.9576 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002/0.7216, allocations: 131 kB / 0.9578 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002992/0.7219, allocations: 183.7 kB / 0.9579 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.7219, allocations: 0 / 0.9579 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004944/0.7224, allocations: 327.3 kB / 0.9582 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.7224, allocations: 13.47 kB / 0.9583 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.7225, allocations: 1.125 kB / 0.9583 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.7225, allocations: 2.219 kB / 0.9583 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002236/0.7227, allocations: 53.41 kB / 0.9583 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.353e-06/0.7227, allocations: 2.25 kB / 0.9583 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001439/0.7229, allocations: 23.11 kB / 0.9583 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.023e-05/0.7229, allocations: 7.75 kB / 0.9583 GB, free: 2.227 MB / 0.7169 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.000153/0.7231, allocations: 187.3 kB / 0.9585 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.61e-05/0.7231, allocations: 33.78 kB / 0.9586 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.96e-05/0.7232, allocations: 38 kB / 0.9586 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.7232, allocations: 1.656 kB / 0.9586 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.7232, allocations: 0 / 0.9586 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.319e-06/0.7232, allocations: 1.125 kB / 0.9586 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002224/0.7235, allocations: 295.7 kB / 0.9589 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.7235, allocations: 0.875 kB / 0.9589 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.927e-05/0.7235, allocations: 8.844 kB / 0.9589 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.7235, allocations: 4.719 kB / 0.9589 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.7236, allocations: 14.2 kB / 0.9589 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.7236, allocations: 0.9062 kB / 0.9589 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.7236, allocations: 0 / 0.9589 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003581/0.7239, allocations: 214.2 kB / 0.9591 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 7.015e-05/0.724, allocations: 114.9 kB / 0.9592 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.485e-05/0.7241, allocations: 9 kB / 0.9592 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.7242, allocations: 9.359 kB / 0.9592 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.768e-05/0.7243, allocations: 26.78 kB / 0.9593 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/0.7243, allocations: 5.594 kB / 0.9593 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000311/0.7246, allocations: 315 kB / 0.9596 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7246, allocations: 1.188 kB / 0.9596 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000303/0.7249, allocations: 51.12 kB / 0.9596 GB, free: 1.246 MB / 0.7169 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.001389/0.7263, allocations: 1.061 MB / 0.9606 GB, free: 472 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004221/0.7267, allocations: 199 kB / 0.9608 GB, free: 388 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.7268, allocations: 0 / 0.9608 GB, free: 388 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001401/0.7269, allocations: 63.12 kB / 0.9609 GB, free: 364 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004752/0.7274, allocations: 91.3 kB / 0.961 GB, free: 320 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004158/0.7316, allocations: 3.189 MB / 0.9641 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003662/0.7319, allocations: 0.7848 MB / 0.9649 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001804/0.7321, allocations: 51.41 kB / 0.9649 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001739/0.7323, allocations: 112 kB / 0.965 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of SimCode: time 3.81e-07/0.7323, allocations: 0 / 0.965 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03934/0.7717, allocations: 6.906 MB / 0.9718 GB, free: 9.957 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002771/0.772, allocations: 249.7 kB / 0.972 GB, free: 9.695 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.051/2.823, allocations: 0 / 0.972 GB, free: 9.695 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Less_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Less.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Less.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches