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.0008504/0.0008504, 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.00084/0.00084, 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.8757/0.8757, allocations: 177.1 MB / 202.8 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.673/1.673, allocations: 359 MB / 0.6037 GB, free: 11.07 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 2.605e-06/2.605e-06, allocations: 0 / 0.9505 GB, free: 3.473 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.432e-05/2.692e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.469 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.002859/0.002886, allocations: 1.98 MB / 0.9524 GB, free: 1.469 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001626/0.004512, allocations: 1.286 MB / 0.9537 GB, free: 184 kB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001256/0.004637, allocations: 4 kB / 0.9537 GB, free: 180 kB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0004305/0.005068, allocations: 171.2 kB / 0.9539 GB, free: 8 kB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0004448/0.005513, allocations: 203.1 kB / 0.9541 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002901/0.005803, allocations: 167.5 kB / 0.9542 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0005876/0.00639, allocations: 343 kB / 0.9545 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001386/0.006529, allocations: 32.92 kB / 0.9546 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001851/0.006714, allocations: 195.5 kB / 0.9548 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001562/0.00687, allocations: 135.7 kB / 0.9549 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.706e-05/0.006897, allocations: 12 kB / 0.9549 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.007016, allocations: 71.83 kB / 0.955 GB, free: 14.87 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 8.848e-05/0.007105, allocations: 95.67 kB / 0.9551 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 6.729e-05/0.007172, allocations: 71.7 kB / 0.9551 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0003518/0.007524, allocations: 378.7 kB / 0.9555 GB, free: 14.33 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.007529, allocations: 0 / 0.9555 GB, free: 14.33 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.483e-06/0.00753, allocations: 0 / 0.9555 GB, free: 14.33 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.007537, allocations: 0 / 0.9555 GB, free: 14.33 MB / 0.9167 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.0008256/0.008362, allocations: 0.5857 MB / 0.9561 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.008412, allocations: 8.031 kB / 0.9561 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.04e-05/0.008452, allocations: 38.75 kB / 0.9561 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.533e-05/0.008518, allocations: 36.7 kB / 0.9561 GB, free: 13.62 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004043/0.008922, allocations: 320.1 kB / 0.9564 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/0.008946, allocations: 19.86 kB / 0.9565 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.58e-05/0.008962, allocations: 4 kB / 0.9565 GB, free: 13.26 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002056/0.009168, allocations: 112.3 kB / 0.9566 GB, free: 13.15 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.009176, allocations: 4 kB / 0.9566 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.00919, allocations: 4 kB / 0.9566 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.009196, allocations: 4 kB / 0.9566 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000124/0.00932, allocations: 59.95 kB / 0.9566 GB, free: 13.08 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006472/0.009967, allocations: 455.6 kB / 0.9571 GB, free: 12.59 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002528/0.01022, allocations: 134.7 kB / 0.9572 GB, free: 12.45 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.834e-05/0.0103, allocations: 48.83 kB / 0.9573 GB, free: 12.4 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.082e-05/0.01032, allocations: 11.94 kB / 0.9573 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001927/0.01051, allocations: 118.5 kB / 0.9574 GB, free: 12.26 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=13): time 1.743e-06/0.01051, allocations: 0 / 0.9574 GB, free: 12.26 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13): time 0.0004335/0.01095, allocations: 233.3 kB / 0.9576 GB, free: 12.03 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/0.01099, allocations: 51.41 kB / 0.9576 GB, free: 11.96 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004304/0.01142, allocations: 0.5327 MB / 0.9582 GB, free: 11.42 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.01145, allocations: 29.7 kB / 0.9582 GB, free: 11.39 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.01156, allocations: 180.5 kB / 0.9584 GB, free: 11.21 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.697e-05/0.0116, allocations: 35.69 kB / 0.9584 GB, free: 11.17 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.773e-05/0.01169, allocations: 73.97 kB / 0.9585 GB, free: 11.09 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.0118, allocations: 346.8 kB / 0.9588 GB, free: 10.74 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001497/0.01195, allocations: 100.5 kB / 0.9589 GB, free: 10.64 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000166/0.01212, allocations: 139.6 kB / 0.959 GB, free: 10.5 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002647/0.01238, allocations: 191.7 kB / 0.9592 GB, free: 10.3 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.01239, allocations: 0 / 0.9592 GB, free: 10.3 MB / 0.9167 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004005/0.01279, allocations: 341.3 kB / 0.9595 GB, free: 9.965 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/0.01281, allocations: 4 kB / 0.9595 GB, free: 9.961 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.01282, allocations: 0 / 0.9595 GB, free: 9.961 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.01284, allocations: 7.938 kB / 0.9596 GB, free: 9.953 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001521/0.013, allocations: 47.97 kB / 0.9596 GB, free: 9.906 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.013, allocations: 3.938 kB / 0.9596 GB, free: 9.902 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.882e-05/0.01309, allocations: 23.88 kB / 0.9596 GB, free: 9.879 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.872e-05/0.01312, allocations: 15.98 kB / 0.9596 GB, free: 9.863 MB / 0.9167 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.0001603/0.01328, allocations: 185.5 kB / 0.9598 GB, free: 9.672 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.509e-05/0.01332, allocations: 39.83 kB / 0.9599 GB, free: 9.633 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003391/0.01366, allocations: 207.4 kB / 0.9601 GB, free: 9.426 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.01366, allocations: 7.938 kB / 0.9601 GB, free: 9.418 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.01367, allocations: 0 / 0.9601 GB, free: 9.418 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.01367, allocations: 3.938 kB / 0.9601 GB, free: 9.414 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002121/0.01389, allocations: 264.5 kB / 0.9603 GB, free: 9.113 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.01389, allocations: 0 / 0.9603 GB, free: 9.113 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.56e-05/0.01393, allocations: 15.98 kB / 0.9603 GB, free: 9.098 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.01394, allocations: 0 / 0.9603 GB, free: 9.098 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.01395, allocations: 8 kB / 0.9603 GB, free: 9.09 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.01395, allocations: 7.922 kB / 0.9603 GB, free: 9.082 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.01395, allocations: 3.938 kB / 0.9603 GB, free: 9.078 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000351/0.0143, allocations: 220.8 kB / 0.9606 GB, free: 8.844 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 5.298e-05/0.01436, allocations: 43.7 kB / 0.9606 GB, free: 8.801 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.903e-05/0.01439, allocations: 4 kB / 0.9606 GB, free: 8.797 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.271e-05/0.01445, allocations: 11.92 kB / 0.9606 GB, free: 8.785 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.639e-05/0.01451, allocations: 23.97 kB / 0.9606 GB, free: 8.762 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.01453, allocations: 4 kB / 0.9606 GB, free: 8.758 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002567/0.01478, allocations: 331.1 kB / 0.961 GB, free: 8.441 MB / 0.9167 GB Notification: Performance of sort global known variables: time 9e-08/0.01478, allocations: 4 kB / 0.961 GB, free: 8.438 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002651/0.01505, allocations: 59.94 kB / 0.961 GB, free: 8.379 MB / 0.9167 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.001258/0.01631, allocations: 1.096 MB / 0.9621 GB, free: 7.438 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0003085/0.01661, allocations: 191.8 kB / 0.9623 GB, free: 7.25 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.01662, allocations: 4 kB / 0.9623 GB, free: 7.246 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.01672, allocations: 67.83 kB / 0.9623 GB, free: 7.184 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003233/0.01704, allocations: 103.5 kB / 0.9624 GB, free: 7.086 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002899/0.01994, allocations: 3.219 MB / 0.9656 GB, free: 3.777 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000125/0.02007, allocations: 187.8 kB / 0.9658 GB, free: 3.57 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0001222/0.02019, allocations: 58.94 kB / 0.9658 GB, free: 3.512 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001296/0.02032, allocations: 124.4 kB / 0.9659 GB, free: 3.391 MB / 0.9167 GB Notification: Performance of SimCode: time 6.11e-07/0.02032, allocations: 4 kB / 0.9659 GB, free: 3.387 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02376/0.04408, allocations: 8.481 MB / 0.9742 GB, free: 11.03 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.909/6.953, allocations: 6.875 kB / 0.9742 GB, free: 11.02 MB / 0.9323 GB " [Timeout remaining time 293] (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/jenkins/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: 10.966201038099825]