Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.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.001365/0.001365, allocations: 109.7 kB / 17.54 MB, free: 4.641 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.00141/0.00141, allocations: 190.6 kB / 20.71 MB, free: 1.484 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.32/1.32, allocations: 225.6 MB / 249.3 MB, free: 3.223 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.569/2.569, allocations: 476.7 MB / 0.7628 GB, free: 15.17 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.LessThreshold,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001804/0.001804, allocations: 67.88 kB / 1.107 GB, free: 5.188 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7729/0.7747, allocations: 168.7 MB / 1.271 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001514/0.7763, allocations: 0.7162 MB / 1.272 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0006908/0.7769, allocations: 0.8376 MB / 1.273 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.192e-05/0.777, allocations: 0.6562 kB / 1.273 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.927e-05/0.777, allocations: 9.266 kB / 1.273 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.085e-05/0.777, allocations: 5.438 kB / 1.273 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 9.344e-05/0.7771, allocations: 18.33 kB / 1.273 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.758e-05/0.7772, allocations: 57.48 kB / 1.273 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.143e-05/0.7773, allocations: 9.969 kB / 1.273 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.649e-05/0.7773, allocations: 18.33 kB / 1.273 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.199e-05/0.7774, allocations: 25.33 kB / 1.273 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.7774, allocations: 4.344 kB / 1.273 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.058e-05/0.7774, allocations: 4.062 kB / 1.273 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.738e-05/0.7774, allocations: 12.02 kB / 1.273 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.527e-05/0.7774, allocations: 26 kB / 1.273 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 8.287e-05/0.7775, allocations: 48.31 kB / 1.273 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.7775, allocations: 5.234 kB / 1.273 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of FrontEnd: time 9.02e-07/0.7775, allocations: 3.938 kB / 1.273 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.276e-06/0.7775, allocations: 0.625 kB / 1.273 GB, free: 6.527 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.0003436/0.7779, allocations: 355.5 kB / 1.273 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 2.785e-05/0.7779, allocations: 9.875 kB / 1.273 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.964e-05/0.7779, allocations: 41.09 kB / 1.274 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.974e-05/0.7779, allocations: 6.922 kB / 1.274 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.521e-05/0.778, allocations: 168.9 kB / 1.274 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.778, allocations: 2.906 kB / 1.274 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.778, allocations: 5.969 kB / 1.274 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/0.7782, allocations: 64.06 kB / 1.274 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.38e-06/0.7782, allocations: 0.8438 kB / 1.274 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.7782, allocations: 4 kB / 1.274 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.176e-06/0.7782, allocations: 5.562 kB / 1.274 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001953/0.7784, allocations: 51.55 kB / 1.274 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002858/0.7787, allocations: 294.1 kB / 1.274 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001711/0.7789, allocations: 60.72 kB / 1.274 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.487e-05/0.779, allocations: 36.69 kB / 1.274 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.311e-05/0.779, allocations: 4.938 kB / 1.274 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.174e-05/0.779, allocations: 35.47 kB / 1.274 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.779, allocations: 0 / 1.274 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0003532/0.7793, allocations: 106 kB / 1.274 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.245e-05/0.7794, allocations: 52.44 kB / 1.274 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.837e-05/0.7794, allocations: 107.8 kB / 1.274 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.314e-06/0.7794, allocations: 30.48 kB / 1.275 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.283e-05/0.7794, allocations: 91.69 kB / 1.275 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.186e-05/0.7795, allocations: 6.109 kB / 1.275 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.983e-05/0.7795, allocations: 19.97 kB / 1.275 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.372e-05/0.7795, allocations: 324.8 kB / 1.275 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.746e-05/0.7796, allocations: 22.14 kB / 1.275 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.817e-05/0.7797, allocations: 23.17 kB / 1.275 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000173/0.7799, allocations: 58.38 kB / 1.275 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.7799, allocations: 0 / 1.275 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002122/0.7801, allocations: 87.66 kB / 1.275 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/0.7801, allocations: 5.281 kB / 1.275 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.194e-06/0.7801, allocations: 1.156 kB / 1.275 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.686e-06/0.7801, allocations: 0 / 1.275 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.7802, allocations: 18.47 kB / 1.275 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.745e-06/0.7802, allocations: 4 kB / 1.275 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.575e-05/0.7803, allocations: 7.594 kB / 1.275 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.7803, allocations: 5.094 kB / 1.275 GB, free: 4.684 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,intLesThr.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 4.497e-05/0.7803, allocations: 112.7 kB / 1.275 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.559e-05/0.7804, allocations: 4.047 kB / 1.275 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.653e-05/0.7804, allocations: 9.531 kB / 1.275 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.7804, allocations: 0.9375 kB / 1.275 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.7804, allocations: 0 / 1.275 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.362e-06/0.7804, allocations: 4 kB / 1.275 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000113/0.7805, allocations: 181.9 kB / 1.275 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.7805, allocations: 0.875 kB / 1.275 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.876e-05/0.7806, allocations: 12.33 kB / 1.275 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.7806, allocations: 4.844 kB / 1.275 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.782e-06/0.7806, allocations: 0.5625 kB / 1.275 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.7806, allocations: 4.844 kB / 1.275 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.7806, allocations: 0 / 1.275 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000235/0.7808, allocations: 189.8 kB / 1.276 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.573e-05/0.7809, allocations: 86.16 kB / 1.276 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.166e-05/0.7809, allocations: 0.9688 kB / 1.276 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.726e-05/0.781, allocations: 8.453 kB / 1.276 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.853e-05/0.781, allocations: 10.92 kB / 1.276 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.781, allocations: 3.469 kB / 1.276 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.488e-05/0.781, allocations: 89.83 kB / 1.276 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.781, allocations: 0 / 1.276 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002012/0.7812, allocations: 10.69 kB / 1.276 GB, free: 3.988 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 (intLesThr.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.0003792/0.7816, allocations: 0.7114 MB / 1.277 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002193/0.7818, allocations: 61.09 kB / 1.277 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.7818, allocations: 0 / 1.277 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001033/0.7819, allocations: 29.78 kB / 1.277 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002264/0.7822, allocations: 11.31 kB / 1.277 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.7833, allocations: 1.324 MB / 1.278 GB, free: 18.08 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002524/0.7835, allocations: 0.6858 MB / 1.279 GB, free: 17.38 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.13e-05/0.7836, allocations: 3.906 kB / 1.279 GB, free: 17.38 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.835e-05/0.7836, allocations: 16.3 kB / 1.279 GB, free: 17.37 MB / 1.014 GB Notification: Performance of SimCode: time 2.91e-07/0.7836, allocations: 0.7812 kB / 1.279 GB, free: 17.37 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02173/0.8053, allocations: 1.839 MB / 1.28 GB, free: 16.98 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.743/7.549, allocations: 18.56 kB / 1.28 GB, free: 16.97 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,intLesThr.t,intLesThr.u,intLesThr.y Variables in the result:intLesThr.t,intLesThr.u,intLesThr.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: 12.938391192999916]