Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009139/0.009139, allocations: 100.9 kB / 15.73 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00198/0.00198, allocations: 189.3 kB / 16.67 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.531/2.531, allocations: 437.1 MB / 0.7105 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 67.91 kB / 1.018 GB, free: 9.91 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9157/0.9172, allocations: 151.6 MB / 1.166 GB, free: 3.934 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001979/0.9192, allocations: 0.7174 MB / 1.167 GB, free: 3.219 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001005/0.9202, allocations: 0.8453 MB / 1.168 GB, free: 2.363 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.263e-05/0.9203, allocations: 0 / 1.168 GB, free: 2.363 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.35e-05/0.9203, allocations: 3.938 kB / 1.168 GB, free: 2.359 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.474e-05/0.9204, allocations: 3.938 kB / 1.168 GB, free: 2.355 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001652/0.9206, allocations: 19.97 kB / 1.168 GB, free: 2.336 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001026/0.9207, allocations: 55.89 kB / 1.168 GB, free: 2.281 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.9208, allocations: 8 kB / 1.168 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 9.388e-05/0.9209, allocations: 23.92 kB / 1.168 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.734e-05/0.921, allocations: 23.91 kB / 1.168 GB, free: 2.227 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.449e-05/0.9211, allocations: 4 kB / 1.168 GB, free: 2.223 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 2.378e-05/0.9211, allocations: 4 kB / 1.168 GB, free: 2.219 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.332e-05/0.9211, allocations: 11.92 kB / 1.168 GB, free: 2.207 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.93e-05/0.9212, allocations: 19.92 kB / 1.168 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001158/0.9213, allocations: 59.72 kB / 1.168 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 9.237e-06/0.9213, allocations: 8 kB / 1.168 GB, free: 2.121 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.323e-06/0.9213, allocations: 0 / 1.168 GB, free: 2.121 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.576e-06/0.9213, allocations: 0 / 1.168 GB, free: 2.121 MB / 0.8887 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.0005543/0.9219, allocations: 349.8 kB / 1.168 GB, free: 1.734 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.9219, allocations: 8.922 kB / 1.168 GB, free: 1.727 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.785e-05/0.922, allocations: 34.75 kB / 1.168 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.124e-05/0.922, allocations: 12.78 kB / 1.168 GB, free: 1.672 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/0.9222, allocations: 168.3 kB / 1.168 GB, free: 1.469 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.9222, allocations: 4.375 kB / 1.168 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.475e-05/0.9222, allocations: 8.125 kB / 1.168 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002094/0.9224, allocations: 65.64 kB / 1.169 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.9225, allocations: 3.938 kB / 1.169 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.9225, allocations: 4 kB / 1.169 GB, free: 1.379 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.156e-06/0.9225, allocations: 4 kB / 1.169 GB, free: 1.375 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001997/0.9227, allocations: 43.95 kB / 1.169 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005497/0.9233, allocations: 296.7 kB / 1.169 GB, free: 0.9922 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000205/0.9235, allocations: 62.48 kB / 1.169 GB, free: 0.9219 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/0.9236, allocations: 32.91 kB / 1.169 GB, free: 0.8867 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.9236, allocations: 4.062 kB / 1.169 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.9236, allocations: 34.56 kB / 1.169 GB, free: 0.8398 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.9237, allocations: 0 / 1.169 GB, free: 0.8398 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0004325/0.9241, allocations: 105.6 kB / 1.169 GB, free: 0.7305 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.9241, allocations: 55.34 kB / 1.169 GB, free: 0.6641 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.935e-05/0.9242, allocations: 109.8 kB / 1.169 GB, free: 0.5469 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.406e-05/0.9243, allocations: 25.7 kB / 1.169 GB, free: 0.5156 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.337e-05/0.9243, allocations: 92.05 kB / 1.169 GB, free: 432 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.691e-05/0.9244, allocations: 23.77 kB / 1.169 GB, free: 408 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.346e-05/0.9244, allocations: 13.72 kB / 1.169 GB, free: 388 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.9246, allocations: 318.8 kB / 1.17 GB, free: 60 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/0.9247, allocations: 23.97 kB / 1.17 GB, free: 36 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.467e-05/0.9248, allocations: 24.16 kB / 1.17 GB, free: 12 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002013/0.925, allocations: 60.89 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.925, allocations: 0 / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002362/0.9252, allocations: 81.56 kB / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.9253, allocations: 8 kB / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.9253, allocations: 0 / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.9253, allocations: 0 / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.9254, allocations: 15.92 kB / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.9254, allocations: 0 / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.617e-05/0.9255, allocations: 11.98 kB / 1.17 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.9255, allocations: 7.938 kB / 1.17 GB, free: 15.82 MB / 0.9044 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 9.858e-05/0.9256, allocations: 116 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.113e-05/0.9257, allocations: 4 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.153e-05/0.9257, allocations: 3.906 kB / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.9257, allocations: 0 / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.9258, allocations: 0 / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.9258, allocations: 0 / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002255/0.926, allocations: 181.6 kB / 1.17 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.926, allocations: 11.94 kB / 1.17 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.447e-05/0.9261, allocations: 11.98 kB / 1.17 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.9261, allocations: 0 / 1.17 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.948e-06/0.9261, allocations: 0 / 1.17 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.9262, allocations: 0 / 1.17 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.9262, allocations: 4 kB / 1.17 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003998/0.9266, allocations: 191.3 kB / 1.17 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.999e-05/0.9266, allocations: 81.05 kB / 1.171 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.9266, allocations: 0 / 1.171 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.9268, allocations: 7.984 kB / 1.171 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.948e-05/0.9268, allocations: 11.98 kB / 1.171 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/0.9268, allocations: 4 kB / 1.171 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.56e-05/0.9269, allocations: 91.2 kB / 1.171 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9269, allocations: 0 / 1.171 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002264/0.9271, allocations: 8 kB / 1.171 GB, free: 15.01 MB / 0.9044 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.0006511/0.9278, allocations: 0.7201 MB / 1.171 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002548/0.9281, allocations: 56.08 kB / 1.171 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.9281, allocations: 4 kB / 1.171 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.9282, allocations: 32.08 kB / 1.171 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003442/0.9286, allocations: 3.984 kB / 1.171 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001797/0.9304, allocations: 1.323 MB / 1.173 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/0.9307, allocations: 0.6846 MB / 1.173 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.645e-05/0.9308, allocations: 4 kB / 1.173 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.943e-05/0.9309, allocations: 27.36 kB / 1.173 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of SimCode: time 5.91e-07/0.9309, allocations: 0 / 1.173 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01892/0.9498, allocations: 1.838 MB / 1.175 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.615/8.564, allocations: 13.39 kB / 1.175 GB, free: 10.29 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" 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