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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 113.9 kB / 17.6 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 190.8 kB / 20.78 MB, free: 1.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.567/1.567, allocations: 225.6 MB / 249.4 MB, free: 3.145 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.753/2.753, allocations: 476.7 MB / 0.7629 GB, free: 15.14 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.00223/0.00223, allocations: 71.88 kB / 1.107 GB, free: 5.082 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9329/0.9351, allocations: 168.7 MB / 1.272 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.001974/0.9371, allocations: 0.7192 MB / 1.272 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0008628/0.9379, allocations: 0.8372 MB / 1.273 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.229e-05/0.938, allocations: 0.75 kB / 1.273 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.962e-05/0.938, allocations: 4 kB / 1.273 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.88e-05/0.9381, allocations: 6.172 kB / 1.273 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001343/0.9382, allocations: 36.45 kB / 1.273 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001013/0.9383, allocations: 41.47 kB / 1.273 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.802e-05/0.9384, allocations: 9.688 kB / 1.273 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.165e-05/0.9385, allocations: 22.69 kB / 1.273 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.884e-05/0.9385, allocations: 33.05 kB / 1.273 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.987e-05/0.9386, allocations: 4.031 kB / 1.273 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.149e-05/0.9386, allocations: 4.125 kB / 1.273 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.974e-05/0.9386, allocations: 8.047 kB / 1.273 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.195e-05/0.9386, allocations: 26.56 kB / 1.273 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001149/0.9387, allocations: 48.19 kB / 1.273 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.9387, allocations: 0.875 kB / 1.273 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.413e-06/0.9387, allocations: 0 / 1.273 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.9388, allocations: 0.8438 kB / 1.273 GB, free: 6.496 MB / 0.9981 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.0004707/0.9392, allocations: 355.3 kB / 1.274 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.9393, allocations: 13.94 kB / 1.274 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.469e-05/0.9393, allocations: 36.3 kB / 1.274 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.825e-05/0.9393, allocations: 7.234 kB / 1.274 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.9394, allocations: 169.4 kB / 1.274 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.9395, allocations: 5.922 kB / 1.274 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.166e-05/0.9395, allocations: 6.5 kB / 1.274 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002066/0.9397, allocations: 64.34 kB / 1.274 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.9397, allocations: 0.875 kB / 1.274 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.9397, allocations: 4 kB / 1.274 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.9397, allocations: 0.9375 kB / 1.274 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002188/0.9399, allocations: 60.16 kB / 1.274 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003758/0.9403, allocations: 293.9 kB / 1.274 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001983/0.9405, allocations: 60.78 kB / 1.274 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.9406, allocations: 28.52 kB / 1.274 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.572e-05/0.9406, allocations: 0.9375 kB / 1.274 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.369e-05/0.9406, allocations: 43.25 kB / 1.274 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.9406, allocations: 0 / 1.274 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0004058/0.941, allocations: 107.3 kB / 1.274 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.195e-05/0.9411, allocations: 52.06 kB / 1.275 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.638e-05/0.9411, allocations: 106.6 kB / 1.275 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.087e-06/0.9411, allocations: 29.7 kB / 1.275 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.94e-05/0.9412, allocations: 93.3 kB / 1.275 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.455e-05/0.9412, allocations: 5.703 kB / 1.275 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.626e-05/0.9412, allocations: 20.19 kB / 1.275 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.169e-05/0.9413, allocations: 319.6 kB / 1.275 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.9414, allocations: 25.09 kB / 1.275 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.041e-05/0.9415, allocations: 21.69 kB / 1.275 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001807/0.9416, allocations: 58.19 kB / 1.275 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.9416, allocations: 0 / 1.275 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002318/0.9419, allocations: 86.92 kB / 1.275 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.9419, allocations: 9.516 kB / 1.275 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.9419, allocations: 0 / 1.275 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.9419, allocations: 4.875 kB / 1.275 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.942, allocations: 10.06 kB / 1.275 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.942, allocations: 4.75 kB / 1.275 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.495e-05/0.9421, allocations: 10.09 kB / 1.275 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.9421, allocations: 4.781 kB / 1.275 GB, free: 4.652 MB / 0.9981 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.883e-05/0.9422, allocations: 117 kB / 1.275 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.669e-05/0.9422, allocations: 2.047 kB / 1.275 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.547e-05/0.9422, allocations: 5.672 kB / 1.275 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/0.9422, allocations: 9.844 kB / 1.275 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.9422, allocations: 0.75 kB / 1.275 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.9423, allocations: 4 kB / 1.275 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001336/0.9424, allocations: 182.6 kB / 1.276 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.9424, allocations: 0.9375 kB / 1.276 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.529e-05/0.9425, allocations: 12.08 kB / 1.276 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.9425, allocations: 0.7812 kB / 1.276 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.9425, allocations: 0.8438 kB / 1.276 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.9425, allocations: 6.422 kB / 1.276 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.9425, allocations: 1.031 kB / 1.276 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002459/0.9427, allocations: 181 kB / 1.276 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.062e-05/0.9428, allocations: 88.2 kB / 1.276 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.9428, allocations: 0 / 1.276 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.9429, allocations: 14.78 kB / 1.276 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.938e-05/0.9429, allocations: 9.641 kB / 1.276 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.223e-06/0.9429, allocations: 3.359 kB / 1.276 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.966e-05/0.943, allocations: 92.08 kB / 1.276 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.943, allocations: 5 kB / 1.276 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002202/0.9432, allocations: 5.875 kB / 1.276 GB, free: 3.953 MB / 0.9981 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.0004556/0.9436, allocations: 0.7103 MB / 1.277 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002637/0.9439, allocations: 60.55 kB / 1.277 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.9439, allocations: 0 / 1.277 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001128/0.944, allocations: 31.52 kB / 1.277 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003017/0.9443, allocations: 6.5 kB / 1.277 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.9457, allocations: 1.331 MB / 1.278 GB, free: 18.05 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003074/0.946, allocations: 0.6809 MB / 1.279 GB, free: 17.35 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.261e-05/0.9461, allocations: 4.141 kB / 1.279 GB, free: 17.35 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.873e-05/0.9461, allocations: 17.61 kB / 1.279 GB, free: 17.34 MB / 1.014 GB Notification: Performance of SimCode: time 3.21e-07/0.9461, allocations: 3.938 kB / 1.279 GB, free: 17.34 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02731/0.9734, allocations: 1.843 MB / 1.281 GB, free: 16.95 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.801/8.775, allocations: 5.188 kB / 1.281 GB, free: 16.94 MB / 1.014 GB " [Timeout remaining time 291] (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 --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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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] "" Variables in the reference:time,intGreThr.t,intGreThr.u,intGreThr.y Variables in the result:intGreThr.t,intGreThr.u,intGreThr.y,ramp1.duration,ramp1.height,ramp1.offset,ramp1.startTime,ramp1.y,reaToInt.u,reaToInt.y,round1.n,round1.u,round1.y,time [Calling sys.exit(0), Time elapsed: 14.811656681005843]