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.0008066/0.0008066, 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.0008626/0.0008626, 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.8721/0.8721, allocations: 177.2 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.681/1.681, 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.715e-06/2.715e-06, allocations: 0 / 0.9505 GB, free: 3.484 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.046e-05/2.317e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.48 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.00151/0.001534, allocations: 0.7087 MB / 0.9512 GB, free: 2.77 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001113/0.002646, allocations: 0.8548 MB / 0.952 GB, free: 1.902 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.775e-05/0.002684, allocations: 0 / 0.952 GB, free: 1.902 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.986e-05/0.002714, allocations: 3.938 kB / 0.952 GB, free: 1.898 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.903e-05/0.002783, allocations: 0 / 0.952 GB, free: 1.898 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001542/0.002937, allocations: 27.86 kB / 0.9521 GB, free: 1.871 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 8.501e-05/0.003022, allocations: 51.84 kB / 0.9521 GB, free: 1.82 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.003127, allocations: 11.97 kB / 0.9521 GB, free: 1.809 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 8.221e-05/0.003209, allocations: 27.98 kB / 0.9521 GB, free: 1.781 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.133e-05/0.00326, allocations: 19.86 kB / 0.9522 GB, free: 1.762 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.437e-05/0.003285, allocations: 4 kB / 0.9522 GB, free: 1.758 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 8.977e-06/0.003293, allocations: 4 kB / 0.9522 GB, free: 1.754 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.888e-05/0.003312, allocations: 15.97 kB / 0.9522 GB, free: 1.738 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.939e-05/0.003342, allocations: 11.94 kB / 0.9522 GB, free: 1.727 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.000104/0.003446, allocations: 55.83 kB / 0.9523 GB, free: 1.672 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.003448, allocations: 0 / 0.9523 GB, free: 1.672 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.523e-06/0.00345, allocations: 4 kB / 0.9523 GB, free: 1.668 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.978e-06/0.003454, allocations: 0 / 0.9523 GB, free: 1.668 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.0003965/0.00385, allocations: 282.2 kB / 0.9525 GB, free: 1.363 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.00389, allocations: 8.031 kB / 0.9525 GB, free: 1.355 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.014e-05/0.00392, allocations: 34.75 kB / 0.9526 GB, free: 1.312 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.447e-05/0.003944, allocations: 8.891 kB / 0.9526 GB, free: 1.305 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.453e-05/0.004039, allocations: 109.7 kB / 0.9527 GB, free: 1.172 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.004052, allocations: 384 / 0.9527 GB, free: 1.172 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.023e-05/0.004062, allocations: 4.375 kB / 0.9527 GB, free: 1.168 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.004226, allocations: 73.97 kB / 0.9528 GB, free: 1.09 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.004234, allocations: 3.984 kB / 0.9528 GB, free: 1.086 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.004244, allocations: 4 kB / 0.9528 GB, free: 1.082 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.00425, allocations: 7.922 kB / 0.9528 GB, free: 1.074 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001279/0.004378, allocations: 43.95 kB / 0.9528 GB, free: 1.031 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003557/0.004734, allocations: 267.7 kB / 0.9531 GB, free: 0.7266 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001273/0.004861, allocations: 58.55 kB / 0.9531 GB, free: 0.6602 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.255e-05/0.004924, allocations: 40.91 kB / 0.9532 GB, free: 0.6172 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.663e-05/0.00494, allocations: 0 / 0.9532 GB, free: 0.6172 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.816e-05/0.004958, allocations: 30.56 kB / 0.9532 GB, free: 0.5781 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.004959, allocations: 0 / 0.9532 GB, free: 0.5781 MB / 0.9011 GB Notification: Performance of matching and sorting (n=4): time 0.0003192/0.005278, allocations: 105.6 kB / 0.9533 GB, free: 480 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.837e-05/0.005317, allocations: 55.41 kB / 0.9533 GB, free: 412 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.3e-05/0.0054, allocations: 109.8 kB / 0.9534 GB, free: 292 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.005415, allocations: 25.7 kB / 0.9535 GB, free: 260 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 4.711e-05/0.005462, allocations: 92.09 kB / 0.9536 GB, free: 164 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.896e-05/0.005481, allocations: 11.94 kB / 0.9536 GB, free: 152 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.311e-05/0.005515, allocations: 17.72 kB / 0.9536 GB, free: 128 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.005616, allocations: 318.8 kB / 0.9539 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.627e-05/0.005683, allocations: 19.98 kB / 0.9539 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.926e-05/0.005732, allocations: 23.97 kB / 0.9539 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000107/0.005839, allocations: 56.81 kB / 0.954 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.005841, allocations: 4 kB / 0.954 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001454/0.005986, allocations: 85.55 kB / 0.9541 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.006, allocations: 4 kB / 0.9541 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.006005, allocations: 0 / 0.9541 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.00602, allocations: 7.938 kB / 0.9541 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.632e-05/0.006106, allocations: 11.98 kB / 0.9541 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.006113, allocations: 3.984 kB / 0.9541 GB, free: 15.58 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.876e-05/0.006152, allocations: 12 kB / 0.9541 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.59e-06/0.006157, allocations: 0 / 0.9541 GB, free: 15.57 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 7.036e-05/0.006228, allocations: 121.8 kB / 0.9542 GB, free: 15.44 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.509e-05/0.006243, allocations: 0 / 0.9542 GB, free: 15.44 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.173e-05/0.006265, allocations: 8 kB / 0.9542 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.006268, allocations: 4 kB / 0.9542 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.006272, allocations: 0 / 0.9542 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.006275, allocations: 4.266 kB / 0.9542 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001226/0.006398, allocations: 144.6 kB / 0.9544 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.0064, allocations: 4 kB / 0.9544 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.98e-05/0.00644, allocations: 11.92 kB / 0.9544 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.006441, allocations: 8 kB / 0.9544 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.006449, allocations: 3.984 kB / 0.9544 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.00645, allocations: 0 / 0.9544 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.006451, allocations: 0 / 0.9544 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001784/0.00663, allocations: 184 kB / 0.9546 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.021e-05/0.00664, allocations: 4 kB / 0.9546 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.142e-05/0.006651, allocations: 0 / 0.9546 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.826e-05/0.0067, allocations: 7.984 kB / 0.9546 GB, free: 15 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.217e-05/0.006752, allocations: 11.98 kB / 0.9546 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.006756, allocations: 8 kB / 0.9546 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.874e-05/0.006795, allocations: 91.56 kB / 0.9547 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.006795, allocations: 0 / 0.9547 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001537/0.006948, allocations: 11.95 kB / 0.9547 GB, free: 14.88 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.0004131/0.007362, allocations: 0.7163 MB / 0.9554 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001659/0.007528, allocations: 51.94 kB / 0.9555 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.007529, allocations: 4 kB / 0.9555 GB, free: 14.08 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.688e-05/0.007586, allocations: 31.92 kB / 0.9555 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002444/0.007831, allocations: 7.984 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.001076/0.008907, allocations: 1.329 MB / 0.9568 GB, free: 12.63 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.798e-05/0.008955, allocations: 71.28 kB / 0.9569 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.679e-05/0.008992, allocations: 4 kB / 0.9569 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.093e-05/0.009042, allocations: 24.48 kB / 0.9569 GB, free: 12.52 MB / 0.9167 GB Notification: Performance of SimCode: time 5.01e-07/0.009043, allocations: 0 / 0.9569 GB, free: 12.52 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01747/0.02651, allocations: 2.569 MB / 0.9594 GB, free: 10.1 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.787/6.814, allocations: 5.875 kB / 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.802538947202265]