Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008848/0.0008848, 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.001106/0.001106, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.888/0.888, allocations: 177.1 MB / 202.8 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.736/1.736, allocations: 389 MB / 0.633 GB, free: 12.72 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.557e-06/3.557e-06, allocations: 0 / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.508e-05/2.863e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.001715/0.001744, allocations: 0.7004 MB / 1 GB, free: 12.76 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0009162/0.00266, allocations: 0.8509 MB / 1.001 GB, free: 11.9 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.308e-05/0.002703, allocations: 4 kB / 1.001 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.053e-05/0.002733, allocations: 7.875 kB / 1.001 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 8.555e-05/0.002819, allocations: 7.875 kB / 1.001 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001694/0.002988, allocations: 19.97 kB / 1.001 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 8.379e-05/0.003072, allocations: 47.91 kB / 1.001 GB, free: 11.81 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.003202, allocations: 15.98 kB / 1.001 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/0.003306, allocations: 23.92 kB / 1.001 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.014e-05/0.003376, allocations: 23.95 kB / 1.001 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.145e-05/0.003407, allocations: 4 kB / 1.001 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 1.191e-05/0.003419, allocations: 4 kB / 1.001 GB, free: 11.74 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.08e-05/0.00344, allocations: 7.938 kB / 1.001 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.043e-05/0.00347, allocations: 15.98 kB / 1.001 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001346/0.003605, allocations: 55.78 kB / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.003609, allocations: 0 / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.064e-06/0.003611, allocations: 0 / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.003618, allocations: 3.938 kB / 1.001 GB, free: 11.66 MB / 0.9636 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.00048/0.004098, allocations: 278.3 kB / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.004144, allocations: 8.75 kB / 1.002 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.355e-05/0.004178, allocations: 38.75 kB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.897e-05/0.004207, allocations: 4.891 kB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.004309, allocations: 113.7 kB / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.004326, allocations: 4.375 kB / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/0.004336, allocations: 4.375 kB / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.004486, allocations: 77.94 kB / 1.002 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.004493, allocations: 4 kB / 1.002 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.749e-06/0.004503, allocations: 0 / 1.002 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.004507, allocations: 0 / 1.002 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001159/0.004623, allocations: 51.89 kB / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003446/0.004968, allocations: 256.7 kB / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001324/0.0051, allocations: 58.55 kB / 1.002 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.782e-05/0.005158, allocations: 28.91 kB / 1.002 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.532e-05/0.005173, allocations: 4 kB / 1.002 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.005195, allocations: 38.5 kB / 1.002 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 1.633e-06/0.005197, allocations: 0 / 1.002 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4): time 0.0002655/0.005462, allocations: 105.6 kB / 1.002 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.04e-05/0.005493, allocations: 55.41 kB / 1.003 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.755e-05/0.00556, allocations: 105.8 kB / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.007e-05/0.00557, allocations: 25.7 kB / 1.003 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.371e-05/0.005614, allocations: 92.12 kB / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.694e-05/0.005631, allocations: 15.84 kB / 1.003 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.035e-05/0.005661, allocations: 17.72 kB / 1.003 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.6e-05/0.005737, allocations: 326.8 kB / 1.003 GB, free: 9.797 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.841e-05/0.005796, allocations: 23.98 kB / 1.003 GB, free: 9.773 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.768e-05/0.005844, allocations: 31.84 kB / 1.003 GB, free: 9.742 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.999e-05/0.005944, allocations: 52.75 kB / 1.003 GB, free: 9.688 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.005946, allocations: 0 / 1.003 GB, free: 9.688 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001334/0.006079, allocations: 85.98 kB / 1.003 GB, free: 9.598 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.006093, allocations: 7.984 kB / 1.003 GB, free: 9.59 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.006098, allocations: 7.984 kB / 1.003 GB, free: 9.582 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.006111, allocations: 0 / 1.003 GB, free: 9.582 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.979e-05/0.006191, allocations: 11.98 kB / 1.003 GB, free: 9.57 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.006196, allocations: 320 / 1.003 GB, free: 9.57 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.673e-05/0.006233, allocations: 7.984 kB / 1.003 GB, free: 9.562 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.006238, allocations: 0 / 1.003 GB, free: 9.562 MB / 0.9636 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 6.625e-05/0.006305, allocations: 125.7 kB / 1.003 GB, free: 9.43 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.607e-05/0.006321, allocations: 7.953 kB / 1.003 GB, free: 9.422 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.058e-05/0.006341, allocations: 4 kB / 1.003 GB, free: 9.41 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.006343, allocations: 0 / 1.003 GB, free: 9.41 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.006349, allocations: 0 / 1.003 GB, free: 9.41 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.006355, allocations: 0 / 1.003 GB, free: 9.41 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001198/0.006475, allocations: 148.7 kB / 1.004 GB, free: 9.223 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.006476, allocations: 0 / 1.004 GB, free: 9.223 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.278e-05/0.006519, allocations: 11.98 kB / 1.004 GB, free: 9.211 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.006521, allocations: 0 / 1.004 GB, free: 9.211 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.006528, allocations: 0 / 1.004 GB, free: 9.211 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.006529, allocations: 4 kB / 1.004 GB, free: 9.207 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.006531, allocations: 4 kB / 1.004 GB, free: 9.203 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001662/0.006697, allocations: 179.4 kB / 1.004 GB, free: 9.012 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 9.878e-06/0.006707, allocations: 3.953 kB / 1.004 GB, free: 9.008 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/0.006719, allocations: 4 kB / 1.004 GB, free: 9.004 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.853e-05/0.006768, allocations: 15.92 kB / 1.004 GB, free: 8.988 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.909e-05/0.006817, allocations: 11.98 kB / 1.004 GB, free: 8.977 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.006821, allocations: 0 / 1.004 GB, free: 8.977 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.345e-05/0.006855, allocations: 91.25 kB / 1.004 GB, free: 8.887 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.006855, allocations: 4 kB / 1.004 GB, free: 8.883 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001479/0.007003, allocations: 8 kB / 1.004 GB, free: 8.875 MB / 0.9636 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.0003766/0.007379, allocations: 0.7124 MB / 1.005 GB, free: 8.137 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001638/0.007543, allocations: 55.88 kB / 1.005 GB, free: 8.082 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.007545, allocations: 0 / 1.005 GB, free: 8.082 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.019e-05/0.007605, allocations: 43.91 kB / 1.005 GB, free: 8.039 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002513/0.007856, allocations: 4 kB / 1.005 GB, free: 8.035 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001035/0.008891, allocations: 1.32 MB / 1.006 GB, free: 6.637 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.636e-05/0.008937, allocations: 63.34 kB / 1.006 GB, free: 6.555 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.476e-05/0.008972, allocations: 11.98 kB / 1.006 GB, free: 6.543 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.011e-05/0.009022, allocations: 28.47 kB / 1.006 GB, free: 6.516 MB / 0.9636 GB Notification: Performance of SimCode: time 4.91e-07/0.009023, allocations: 0 / 1.006 GB, free: 6.516 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01395/0.02297, allocations: 2.559 MB / 1.009 GB, free: 4.094 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.521/6.544, allocations: 6.562 kB / 1.009 GB, free: 4.09 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.535906044766307]