Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.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.0009308/0.0009308, allocations: 80.44 kB / 19.17 MB, free: 0.7383 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.000904/0.000904, allocations: 165.9 kB / 22.45 MB, free: 2.102 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.8752/0.8752, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.686/1.686, allocations: 359 MB / 0.6037 GB, free: 11.08 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.GreaterThreshold,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 0.9505 GB, free: 3.477 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.362e-05/1.562e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.473 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.001222/0.001237, allocations: 0.7057 MB / 0.9512 GB, free: 2.762 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0009502/0.002187, allocations: 0.8587 MB / 0.952 GB, free: 1.891 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.855e-05/0.002226, allocations: 0 / 0.952 GB, free: 1.891 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.924e-05/0.002255, allocations: 7.938 kB / 0.952 GB, free: 1.883 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.075e-05/0.002326, allocations: 0 / 0.952 GB, free: 1.883 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001612/0.002487, allocations: 27.91 kB / 0.9521 GB, free: 1.855 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 8.038e-05/0.002567, allocations: 47.84 kB / 0.9521 GB, free: 1.809 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.002671, allocations: 8 kB / 0.9521 GB, free: 1.801 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 7.597e-05/0.002747, allocations: 27.95 kB / 0.9521 GB, free: 1.773 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.382e-05/0.002801, allocations: 23.92 kB / 0.9522 GB, free: 1.75 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.506e-05/0.002826, allocations: 4 kB / 0.9522 GB, free: 1.746 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 8.826e-06/0.002835, allocations: 4 kB / 0.9522 GB, free: 1.742 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.762e-05/0.002852, allocations: 7.984 kB / 0.9522 GB, free: 1.734 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.433e-05/0.002877, allocations: 19.92 kB / 0.9522 GB, free: 1.715 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 9.867e-05/0.002975, allocations: 51.84 kB / 0.9522 GB, free: 1.664 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.002979, allocations: 3.984 kB / 0.9523 GB, free: 1.66 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.092e-06/0.00298, allocations: 0 / 0.9523 GB, free: 1.66 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.978e-06/0.002984, allocations: 0 / 0.9523 GB, free: 1.66 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004265/0.00341, allocations: 282.2 kB / 0.9525 GB, free: 1.355 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.003451, allocations: 12.03 kB / 0.9525 GB, free: 1.344 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.205e-05/0.003483, allocations: 34.69 kB / 0.9526 GB, free: 1.301 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.273e-05/0.003506, allocations: 4.891 kB / 0.9526 GB, free: 1.297 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.711e-05/0.003603, allocations: 113.7 kB / 0.9527 GB, free: 1.16 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.003617, allocations: 12.31 kB / 0.9527 GB, free: 1.148 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.458e-06/0.003626, allocations: 384 / 0.9527 GB, free: 1.148 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/0.003764, allocations: 73.91 kB / 0.9528 GB, free: 1.07 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.003771, allocations: 0 / 0.9528 GB, free: 1.07 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.00378, allocations: 0 / 0.9528 GB, free: 1.07 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.003785, allocations: 3.984 kB / 0.9528 GB, free: 1.066 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001126/0.003898, allocations: 51.95 kB / 0.9528 GB, free: 1.016 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003522/0.00425, allocations: 259.8 kB / 0.9531 GB, free: 0.7188 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001301/0.00438, allocations: 62.55 kB / 0.9531 GB, free: 0.6484 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.631e-05/0.004437, allocations: 28.91 kB / 0.9532 GB, free: 0.6172 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.389e-05/0.004451, allocations: 0 / 0.9532 GB, free: 0.6172 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.004479, allocations: 34.56 kB / 0.9532 GB, free: 0.5742 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=4): time 7.52e-07/0.00448, allocations: 0 / 0.9532 GB, free: 0.5742 MB / 0.9011 GB Notification: Performance of matching and sorting (n=4): time 0.00025/0.00473, allocations: 109.6 kB / 0.9533 GB, free: 472 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.768e-05/0.004757, allocations: 55.41 kB / 0.9533 GB, free: 404 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.992e-05/0.004817, allocations: 109.9 kB / 0.9534 GB, free: 284 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.099e-05/0.004828, allocations: 29.7 kB / 0.9535 GB, free: 248 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 3.801e-05/0.004866, allocations: 88.09 kB / 0.9536 GB, free: 156 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.715e-05/0.004883, allocations: 15.88 kB / 0.9536 GB, free: 140 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.901e-05/0.004912, allocations: 13.72 kB / 0.9536 GB, free: 120 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.783e-05/0.005, allocations: 326.8 kB / 0.9539 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.402e-05/0.005054, allocations: 19.98 kB / 0.9539 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.561e-05/0.0051, allocations: 23.97 kB / 0.9539 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.742e-05/0.005197, allocations: 57.03 kB / 0.954 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.005199, allocations: 0 / 0.954 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001207/0.00532, allocations: 89.59 kB / 0.9541 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.005332, allocations: 8 kB / 0.9541 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.005336, allocations: 0 / 0.9541 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.005347, allocations: 0 / 0.9541 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.116e-05/0.005418, allocations: 15.98 kB / 0.9541 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.005423, allocations: 7.984 kB / 0.9541 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.098e-05/0.005454, allocations: 4 kB / 0.9541 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.69e-06/0.00546, allocations: 4 kB / 0.9541 GB, free: 15.55 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (reaToInt.y,intGreThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 5.685e-05/0.005517, allocations: 117.8 kB / 0.9542 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.355e-05/0.00553, allocations: 4 kB / 0.9542 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.902e-05/0.005549, allocations: 11.94 kB / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.92e-07/0.00555, allocations: 3.938 kB / 0.9542 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.005554, allocations: 0 / 0.9542 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.005556, allocations: 0 / 0.9542 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001077/0.005664, allocations: 148.6 kB / 0.9544 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.81e-07/0.005665, allocations: 4 kB / 0.9544 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.267e-05/0.005697, allocations: 11.98 kB / 0.9544 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.005699, allocations: 3.938 kB / 0.9544 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.005705, allocations: 0 / 0.9544 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.005707, allocations: 4.312 kB / 0.9544 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.005707, allocations: 0 / 0.9544 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001609/0.005868, allocations: 180 kB / 0.9546 GB, free: 15 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.494e-06/0.005876, allocations: 0 / 0.9546 GB, free: 15 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.005888, allocations: 4 kB / 0.9546 GB, free: 15 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.611e-05/0.005934, allocations: 11.98 kB / 0.9546 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.614e-05/0.00599, allocations: 11.98 kB / 0.9546 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.005993, allocations: 0 / 0.9546 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.695e-05/0.00603, allocations: 99.19 kB / 0.9547 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.00603, allocations: 0 / 0.9547 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001452/0.006175, allocations: 7.953 kB / 0.9547 GB, free: 14.87 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: 2 (intGreThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0006064/0.006781, allocations: 0.7113 MB / 0.9554 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.000176/0.006957, allocations: 67.88 kB / 0.9555 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.006959, allocations: 0 / 0.9555 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.776e-05/0.007017, allocations: 23.98 kB / 0.9555 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002189/0.007236, allocations: 9.703 kB / 0.9555 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001205/0.00844, allocations: 1.339 MB / 0.9568 GB, free: 12.61 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001011/0.008541, allocations: 67.34 kB / 0.9569 GB, free: 12.53 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.048e-05/0.008572, allocations: 0 / 0.9569 GB, free: 12.53 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.786e-05/0.008619, allocations: 20.48 kB / 0.9569 GB, free: 12.51 MB / 0.9167 GB Notification: Performance of SimCode: time 6.71e-07/0.00862, allocations: 4 kB / 0.9569 GB, free: 12.5 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01592/0.02454, allocations: 2.565 MB / 0.9594 GB, free: 10.09 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.627/6.651, allocations: 0 / 0.9594 GB, free: 10.09 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable intGreThr.t in file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.csv. Warning: Get data of variable intGreThr.t from file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.csv failed! Error: Could not read variable intGreThr.u in file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.csv. Warning: Get data of variable intGreThr.u from file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.csv failed! Error: Could not read variable intGreThr.y in file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.csv. Warning: Get data of variable intGreThr.y from file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.775004299357533]