Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008984/0.0008984, 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.00108/0.00108, 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.9088/0.9088, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.778/1.778, allocations: 377.8 MB / 0.6221 GB, free: 8.652 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.627e-06/3.627e-06, allocations: 0 / 0.981 GB, free: 2.602 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.275e-05/2.638e-05, allocations: 2.281 kB / 0.981 GB, free: 2.598 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.001444/0.001471, allocations: 0.7081 MB / 0.9816 GB, free: 1.895 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0008128/0.002284, allocations: 0.8509 MB / 0.9825 GB, free: 1.031 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.521e-05/0.002319, allocations: 0 / 0.9825 GB, free: 1.031 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.828e-05/0.002347, allocations: 3.938 kB / 0.9825 GB, free: 1.027 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.086e-05/0.002418, allocations: 7.938 kB / 0.9825 GB, free: 1.02 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001431/0.002561, allocations: 27.91 kB / 0.9825 GB, free: 0.9922 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 8.039e-05/0.002642, allocations: 51.78 kB / 0.9826 GB, free: 0.9414 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.002744, allocations: 11.98 kB / 0.9826 GB, free: 0.9297 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 7.61e-05/0.00282, allocations: 23.97 kB / 0.9826 GB, free: 0.9062 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 4.983e-05/0.002869, allocations: 19.92 kB / 0.9826 GB, free: 0.8867 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.371e-05/0.002893, allocations: 4 kB / 0.9826 GB, free: 0.8828 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 9.297e-06/0.002902, allocations: 4 kB / 0.9826 GB, free: 0.8789 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.791e-05/0.00292, allocations: 11.98 kB / 0.9826 GB, free: 0.8672 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.488e-05/0.002945, allocations: 23.91 kB / 0.9827 GB, free: 0.8438 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 8.957e-05/0.003035, allocations: 47.84 kB / 0.9827 GB, free: 0.7969 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.003037, allocations: 4 kB / 0.9827 GB, free: 0.793 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.072e-06/0.003038, allocations: 0 / 0.9827 GB, free: 0.793 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.577e-06/0.003041, allocations: 0 / 0.9827 GB, free: 0.793 MB / 0.9323 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.0003785/0.00342, allocations: 278.2 kB / 0.983 GB, free: 0.4922 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.003458, allocations: 15.97 kB / 0.983 GB, free: 488 kB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.853e-05/0.003486, allocations: 34.75 kB / 0.983 GB, free: 444 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.534e-05/0.003512, allocations: 12.89 kB / 0.983 GB, free: 432 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.577e-05/0.003607, allocations: 105.8 kB / 0.9831 GB, free: 300 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.003621, allocations: 4.375 kB / 0.9831 GB, free: 296 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.099e-05/0.003632, allocations: 12.31 kB / 0.9832 GB, free: 284 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/0.00377, allocations: 69.95 kB / 0.9832 GB, free: 208 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.483e-06/0.003776, allocations: 0 / 0.9832 GB, free: 208 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.208e-06/0.003785, allocations: 0 / 0.9832 GB, free: 208 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.003791, allocations: 4 kB / 0.9832 GB, free: 204 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001116/0.003903, allocations: 43.95 kB / 0.9833 GB, free: 160 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003303/0.004233, allocations: 263.8 kB / 0.9835 GB, free: 15.86 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001257/0.004359, allocations: 66.48 kB / 0.9836 GB, free: 15.78 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.634e-05/0.004415, allocations: 28.91 kB / 0.9836 GB, free: 15.75 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.004431, allocations: 4 kB / 0.9836 GB, free: 15.75 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.911e-05/0.004451, allocations: 34.5 kB / 0.9836 GB, free: 15.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.004451, allocations: 0 / 0.9836 GB, free: 15.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=4): time 0.0002545/0.004706, allocations: 109.6 kB / 0.9838 GB, free: 15.59 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.831e-05/0.004734, allocations: 51.41 kB / 0.9838 GB, free: 15.53 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.96e-05/0.004794, allocations: 113.9 kB / 0.9839 GB, free: 15.41 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.004806, allocations: 29.7 kB / 0.9839 GB, free: 15.37 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.926e-05/0.004845, allocations: 92.08 kB / 0.984 GB, free: 15.28 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.491e-05/0.00486, allocations: 3.953 kB / 0.984 GB, free: 15.27 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-05/0.004889, allocations: 21.72 kB / 0.984 GB, free: 15.25 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.433e-05/0.004964, allocations: 322.8 kB / 0.9844 GB, free: 14.92 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.213e-05/0.005016, allocations: 19.98 kB / 0.9844 GB, free: 14.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.861e-05/0.005064, allocations: 23.97 kB / 0.9844 GB, free: 14.88 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001001/0.005164, allocations: 56.81 kB / 0.9845 GB, free: 14.82 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.005166, allocations: 0 / 0.9845 GB, free: 14.82 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001298/0.005296, allocations: 89.55 kB / 0.9845 GB, free: 14.73 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.005308, allocations: 7.984 kB / 0.9845 GB, free: 14.72 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.005313, allocations: 0 / 0.9845 GB, free: 14.72 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.005324, allocations: 0 / 0.9845 GB, free: 14.72 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.463e-05/0.005399, allocations: 16.25 kB / 0.9846 GB, free: 14.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.005404, allocations: 320 / 0.9846 GB, free: 14.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.452e-05/0.005439, allocations: 11.98 kB / 0.9846 GB, free: 14.69 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.005444, allocations: 4 kB / 0.9846 GB, free: 14.69 MB / 0.948 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.872e-05/0.005513, allocations: 117.8 kB / 0.9847 GB, free: 14.56 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.4e-05/0.005527, allocations: 3.984 kB / 0.9847 GB, free: 14.56 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.625e-05/0.005543, allocations: 4 kB / 0.9847 GB, free: 14.55 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.005545, allocations: 0 / 0.9847 GB, free: 14.55 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.005549, allocations: 4 kB / 0.9847 GB, free: 14.55 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.005552, allocations: 0 / 0.9847 GB, free: 14.55 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001156/0.005668, allocations: 148.6 kB / 0.9848 GB, free: 14.36 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.005669, allocations: 0 / 0.9848 GB, free: 14.36 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.425e-05/0.005703, allocations: 15.98 kB / 0.9849 GB, free: 14.35 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.01e-07/0.005704, allocations: 0 / 0.9849 GB, free: 14.35 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.005711, allocations: 4 kB / 0.9849 GB, free: 14.34 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.005711, allocations: 0 / 0.9849 GB, free: 14.34 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.005715, allocations: 7.922 kB / 0.9849 GB, free: 14.34 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001601/0.005875, allocations: 183.4 kB / 0.985 GB, free: 14.14 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.057e-06/0.005884, allocations: 7.953 kB / 0.9851 GB, free: 14.13 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.018e-05/0.005894, allocations: 0 / 0.9851 GB, free: 14.13 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.795e-05/0.005942, allocations: 11.98 kB / 0.9851 GB, free: 14.12 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.919e-05/0.005991, allocations: 15.98 kB / 0.9851 GB, free: 14.11 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.005995, allocations: 0 / 0.9851 GB, free: 14.11 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.152e-05/0.006026, allocations: 87.27 kB / 0.9852 GB, free: 14.02 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.006026, allocations: 3.938 kB / 0.9852 GB, free: 14.02 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001453/0.006171, allocations: 12 kB / 0.9852 GB, free: 14 MB / 0.948 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.0003265/0.006498, allocations: 0.7085 MB / 0.9859 GB, free: 13.27 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001493/0.006647, allocations: 59.94 kB / 0.9859 GB, free: 13.21 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.006648, allocations: 0 / 0.9859 GB, free: 13.21 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.191e-05/0.00671, allocations: 39.91 kB / 0.986 GB, free: 13.17 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002141/0.006924, allocations: 6.516 kB / 0.986 GB, free: 13.16 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009795/0.007904, allocations: 1.327 MB / 0.9873 GB, free: 11.75 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.323e-05/0.007947, allocations: 71.34 kB / 0.9873 GB, free: 11.66 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 3.069e-05/0.007978, allocations: 4.25 kB / 0.9873 GB, free: 11.66 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.631e-05/0.008024, allocations: 20.48 kB / 0.9874 GB, free: 11.64 MB / 0.948 GB Notification: Performance of SimCode: time 5.31e-07/0.008025, allocations: 0 / 0.9874 GB, free: 11.64 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0149/0.02292, allocations: 2.555 MB / 0.9899 GB, free: 9.23 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.615/6.638, allocations: 5.656 kB / 0.9899 GB, free: 9.227 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.790564893744886]