Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.00113/0.00113, allocations: 106.8 kB / 17.54 MB, free: 4.746 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.001121/0.001121, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.277/1.277, allocations: 225.6 MB / 249.3 MB, free: 3.176 MB / 190.1 MB " [Timeout remaining time 179] 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.511/2.511, allocations: 476.7 MB / 0.7628 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.LessEqualThreshold,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001874/0.001874, allocations: 67.89 kB / 1.107 GB, free: 5.129 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7933/0.7952, allocations: 168.7 MB / 1.271 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001719/0.7969, allocations: 0.7205 MB / 1.272 GB, free: 7.254 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0007143/0.7976, allocations: 0.8358 MB / 1.273 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.571e-05/0.7977, allocations: 0.9062 kB / 1.273 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.707e-05/0.7977, allocations: 5.016 kB / 1.273 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.315e-05/0.7977, allocations: 9.406 kB / 1.273 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001241/0.7979, allocations: 24.56 kB / 1.273 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.442e-05/0.798, allocations: 49.05 kB / 1.273 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.069e-05/0.798, allocations: 11.08 kB / 1.273 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.145e-05/0.7981, allocations: 17.81 kB / 1.273 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.422e-05/0.7982, allocations: 25.28 kB / 1.273 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.7982, allocations: 15.73 kB / 1.273 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.334e-05/0.7982, allocations: 4.781 kB / 1.273 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.046e-05/0.7982, allocations: 7.859 kB / 1.273 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.401e-05/0.7983, allocations: 22.73 kB / 1.273 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 9.609e-05/0.7984, allocations: 52.73 kB / 1.273 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.7984, allocations: 0 / 1.273 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.463e-06/0.7984, allocations: 0 / 1.273 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.245e-06/0.7984, allocations: 0.7812 kB / 1.273 GB, free: 6.5 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.0004076/0.7988, allocations: 359.7 kB / 1.273 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.7988, allocations: 10.67 kB / 1.273 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.648e-05/0.7988, allocations: 32.44 kB / 1.274 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.388e-05/0.7989, allocations: 7.484 kB / 1.274 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.661e-05/0.7989, allocations: 168.4 kB / 1.274 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.799, allocations: 5.969 kB / 1.274 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.163e-05/0.799, allocations: 7.547 kB / 1.274 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.7991, allocations: 67.48 kB / 1.274 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.7991, allocations: 0.8125 kB / 1.274 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.7992, allocations: 0 / 1.274 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.7992, allocations: 1.562 kB / 1.274 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002079/0.7994, allocations: 51.75 kB / 1.274 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003159/0.7997, allocations: 299.8 kB / 1.274 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001799/0.7999, allocations: 61.89 kB / 1.274 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.8, allocations: 31.27 kB / 1.274 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.512e-05/0.8, allocations: 0.75 kB / 1.274 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.349e-05/0.8, allocations: 35.91 kB / 1.274 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 9.51e-07/0.8, allocations: 3.938 kB / 1.274 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0003726/0.8004, allocations: 106.5 kB / 1.274 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.038e-05/0.8004, allocations: 52.41 kB / 1.274 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.202e-05/0.8004, allocations: 106.4 kB / 1.274 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.055e-06/0.8004, allocations: 30.61 kB / 1.275 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.435e-05/0.8005, allocations: 94.34 kB / 1.275 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.406e-05/0.8005, allocations: 7.266 kB / 1.275 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.124e-05/0.8005, allocations: 20.42 kB / 1.275 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.455e-05/0.8006, allocations: 318.3 kB / 1.275 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.525e-05/0.8006, allocations: 25.27 kB / 1.275 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.7e-05/0.8007, allocations: 23.33 kB / 1.275 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001757/0.8009, allocations: 58.12 kB / 1.275 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.8009, allocations: 0 / 1.275 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002119/0.8011, allocations: 84.2 kB / 1.275 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.8011, allocations: 5.25 kB / 1.275 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-06/0.8011, allocations: 0 / 1.275 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.8011, allocations: 4.906 kB / 1.275 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.8013, allocations: 20.67 kB / 1.275 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.8013, allocations: 0 / 1.275 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.769e-05/0.8013, allocations: 11.86 kB / 1.275 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.8013, allocations: 9.016 kB / 1.275 GB, free: 4.648 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,intLesEquThr.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.361e-05/0.8014, allocations: 112.8 kB / 1.275 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.519e-05/0.8014, allocations: 5.656 kB / 1.275 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.861e-05/0.8014, allocations: 4.5 kB / 1.275 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.8014, allocations: 0.8125 kB / 1.275 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.8014, allocations: 0.8438 kB / 1.275 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.883e-06/0.8014, allocations: 0 / 1.275 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001127/0.8015, allocations: 178.1 kB / 1.275 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.8015, allocations: 4.844 kB / 1.275 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.341e-05/0.8016, allocations: 15.5 kB / 1.275 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.8016, allocations: 0.7812 kB / 1.275 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.8016, allocations: 0.875 kB / 1.275 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.8016, allocations: 0.875 kB / 1.275 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.8016, allocations: 7.25 kB / 1.275 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002347/0.8019, allocations: 185.7 kB / 1.276 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.746e-05/0.8019, allocations: 86.62 kB / 1.276 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.8019, allocations: 1.922 kB / 1.276 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.515e-05/0.802, allocations: 7.625 kB / 1.276 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.781e-05/0.802, allocations: 10.77 kB / 1.276 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.8021, allocations: 3.484 kB / 1.276 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.493e-05/0.8021, allocations: 93.23 kB / 1.276 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8021, allocations: 0 / 1.276 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002099/0.8023, allocations: 6.625 kB / 1.276 GB, free: 3.961 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 (intLesEquThr.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.0003886/0.8027, allocations: 0.7196 MB / 1.277 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002291/0.8029, allocations: 51.61 kB / 1.277 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.8029, allocations: 4 kB / 1.277 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.803, allocations: 30.73 kB / 1.277 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002359/0.8032, allocations: 10.09 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.001184/0.8044, allocations: 1.322 MB / 1.278 GB, free: 18.05 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002587/0.8047, allocations: 0.6893 MB / 1.279 GB, free: 17.35 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.53e-05/0.8047, allocations: 5.422 kB / 1.279 GB, free: 17.35 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.653e-05/0.8048, allocations: 16.78 kB / 1.279 GB, free: 17.34 MB / 1.014 GB Notification: Performance of SimCode: time 2.81e-07/0.8048, allocations: 3.938 kB / 1.279 GB, free: 17.33 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02266/0.8274, allocations: 1.835 MB / 1.28 GB, free: 16.95 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.911/7.738, allocations: 8.578 kB / 1.28 GB, free: 16.94 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,intLesEquThr.t,intLesEquThr.u,intLesEquThr.y Variables in the result:intLesEquThr.t,intLesEquThr.u,intLesEquThr.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.991126359999726]