Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.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.0007945/0.0007945, 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.0007853/0.0007853, allocations: 170.3 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.889/0.889, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.758/1.758, allocations: 389 MB / 0.633 GB, free: 12.7 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.GreaterEqualThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.556e-05/1.732e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.001189/0.001206, allocations: 0.6979 MB / 1 GB, free: 12.8 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0009448/0.002151, allocations: 0.8626 MB / 1.001 GB, free: 11.92 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.436e-05/0.002196, allocations: 0 / 1.001 GB, free: 11.92 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.867e-05/0.002234, allocations: 3.938 kB / 1.001 GB, free: 11.92 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 8.53e-05/0.002319, allocations: 0 / 1.001 GB, free: 11.92 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.000176/0.002495, allocations: 27.91 kB / 1.001 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 9.598e-05/0.002591, allocations: 47.91 kB / 1.001 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.002708, allocations: 11.92 kB / 1.001 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 8.663e-05/0.002794, allocations: 27.92 kB / 1.001 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.524e-05/0.00285, allocations: 23.95 kB / 1.001 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.261e-05/0.002872, allocations: 4 kB / 1.001 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 9.207e-06/0.002881, allocations: 7.938 kB / 1.001 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.437e-05/0.002896, allocations: 4 kB / 1.001 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.124e-05/0.002917, allocations: 11.98 kB / 1.001 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 8.56e-05/0.003003, allocations: 55.78 kB / 1.001 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.003005, allocations: 4 kB / 1.001 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of FrontEnd: time 5.41e-07/0.003006, allocations: 4 kB / 1.001 GB, free: 11.69 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.296e-06/0.003009, allocations: 0 / 1.001 GB, free: 11.69 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.0004924/0.003502, allocations: 278.2 kB / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.003538, allocations: 8.75 kB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.114e-05/0.003569, allocations: 38.75 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.94e-05/0.003589, allocations: 4.891 kB / 1.002 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.867e-05/0.003678, allocations: 113.7 kB / 1.002 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.003689, allocations: 384 / 1.002 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.536e-06/0.003698, allocations: 8.359 kB / 1.002 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.003826, allocations: 81.95 kB / 1.002 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.003832, allocations: 0 / 1.002 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.003841, allocations: 0 / 1.002 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.003846, allocations: 0 / 1.002 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001167/0.003963, allocations: 51.89 kB / 1.002 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003034/0.004266, allocations: 248.7 kB / 1.002 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001227/0.004389, allocations: 58.55 kB / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.659e-05/0.004455, allocations: 44.84 kB / 1.002 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.496e-05/0.00447, allocations: 0 / 1.002 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/0.004491, allocations: 34.5 kB / 1.002 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 7.92e-07/0.004491, allocations: 0 / 1.002 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4): time 0.0002515/0.004743, allocations: 109.6 kB / 1.002 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.565e-05/0.004768, allocations: 51.41 kB / 1.002 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.862e-05/0.004827, allocations: 117.8 kB / 1.003 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.05e-05/0.004838, allocations: 25.7 kB / 1.003 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.533e-05/0.004873, allocations: 92.12 kB / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.588e-05/0.004889, allocations: 15.84 kB / 1.003 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.712e-05/0.004916, allocations: 17.72 kB / 1.003 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.747e-05/0.004983, allocations: 318.8 kB / 1.003 GB, free: 9.824 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.966e-05/0.005033, allocations: 19.98 kB / 1.003 GB, free: 9.805 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.544e-05/0.005078, allocations: 23.97 kB / 1.003 GB, free: 9.781 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.635e-05/0.005175, allocations: 60.75 kB / 1.003 GB, free: 9.719 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.005176, allocations: 4 kB / 1.003 GB, free: 9.715 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001192/0.005296, allocations: 81.59 kB / 1.003 GB, free: 9.629 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.005307, allocations: 4 kB / 1.003 GB, free: 9.625 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.005311, allocations: 0 / 1.003 GB, free: 9.625 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.848e-06/0.005321, allocations: 0 / 1.003 GB, free: 9.625 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.682e-05/0.005388, allocations: 15.97 kB / 1.003 GB, free: 9.609 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-06/0.005392, allocations: 0 / 1.003 GB, free: 9.609 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.603e-05/0.005428, allocations: 12 kB / 1.003 GB, free: 9.598 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.221e-06/0.005434, allocations: 8 kB / 1.003 GB, free: 9.59 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,intGreEquThr.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.301e-05/0.005487, allocations: 121.7 kB / 1.003 GB, free: 9.461 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.32e-05/0.0055, allocations: 3.953 kB / 1.003 GB, free: 9.457 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.784e-05/0.005518, allocations: 8 kB / 1.003 GB, free: 9.441 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.005522, allocations: 4 kB / 1.003 GB, free: 9.438 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.005526, allocations: 0 / 1.003 GB, free: 9.438 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.005528, allocations: 0 / 1.003 GB, free: 9.438 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001031/0.005631, allocations: 144.7 kB / 1.004 GB, free: 9.254 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.005632, allocations: 0 / 1.004 GB, free: 9.254 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.197e-05/0.005664, allocations: 11.98 kB / 1.004 GB, free: 9.242 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.005666, allocations: 11.94 kB / 1.004 GB, free: 9.23 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.121e-06/0.005672, allocations: 0 / 1.004 GB, free: 9.23 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-07/0.005673, allocations: 0 / 1.004 GB, free: 9.23 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.005674, allocations: 0 / 1.004 GB, free: 9.23 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000146/0.00582, allocations: 179.4 kB / 1.004 GB, free: 9.039 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 7.975e-06/0.005827, allocations: 7.953 kB / 1.004 GB, free: 9.031 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.267e-06/0.005837, allocations: 0 / 1.004 GB, free: 9.031 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.352e-05/0.00588, allocations: 7.984 kB / 1.004 GB, free: 9.023 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.429e-05/0.005925, allocations: 15.92 kB / 1.004 GB, free: 9.008 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-06/0.005927, allocations: 4 kB / 1.004 GB, free: 9.004 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.074e-05/0.005958, allocations: 91.27 kB / 1.004 GB, free: 8.914 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.005958, allocations: 0 / 1.004 GB, free: 8.914 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001373/0.006096, allocations: 4 kB / 1.004 GB, free: 8.91 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 (intGreEquThr.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.0003123/0.006408, allocations: 0.7205 MB / 1.005 GB, free: 8.164 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001418/0.00655, allocations: 55.89 kB / 1.005 GB, free: 8.109 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.006551, allocations: 4 kB / 1.005 GB, free: 8.105 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.472e-05/0.006606, allocations: 27.97 kB / 1.005 GB, free: 8.078 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000187/0.006793, allocations: 14.22 kB / 1.005 GB, free: 8.066 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008916/0.007684, allocations: 1.317 MB / 1.006 GB, free: 6.668 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.866e-05/0.007723, allocations: 71.34 kB / 1.006 GB, free: 6.578 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.741e-05/0.007751, allocations: 0 / 1.006 GB, free: 6.578 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.52e-05/0.007796, allocations: 24.48 kB / 1.006 GB, free: 6.555 MB / 0.9636 GB Notification: Performance of SimCode: time 3.81e-07/0.007796, allocations: 0 / 1.006 GB, free: 6.555 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01362/0.02141, allocations: 2.573 MB / 1.009 GB, free: 4.129 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.536/6.558, allocations: 11.92 kB / 1.009 GB, free: 4.117 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.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.543721308000386]