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.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007198/0.007198, allocations: 101.8 kB / 15.73 MB, free: 6.035 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.001465/0.001465, allocations: 196.1 kB / 16.68 MB, free: 5.957 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.336/1.336, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.6/2.6, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 63.91 kB / 1.054 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9173/0.9187, allocations: 157.4 MB / 1.207 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.002397/0.9212, allocations: 0.7056 MB / 1.208 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001178/0.9224, allocations: 0.839 MB / 1.209 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.817e-05/0.9225, allocations: 0 / 1.209 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.584e-05/0.9226, allocations: 3.938 kB / 1.209 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.359e-05/0.9226, allocations: 3.938 kB / 1.209 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001629/0.9228, allocations: 23.97 kB / 1.209 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.144e-05/0.9229, allocations: 43.91 kB / 1.209 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.923, allocations: 19.98 kB / 1.209 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.08e-05/0.9231, allocations: 15.94 kB / 1.209 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.919e-05/0.9232, allocations: 31.89 kB / 1.209 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/0.9233, allocations: 7.938 kB / 1.209 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.408e-05/0.9233, allocations: 4 kB / 1.209 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.49e-05/0.9233, allocations: 11.98 kB / 1.209 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.062e-05/0.9233, allocations: 15.88 kB / 1.209 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001128/0.9235, allocations: 59.72 kB / 1.209 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.9235, allocations: 0 / 1.209 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.392e-06/0.9235, allocations: 0 / 1.209 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.947e-06/0.9235, allocations: 0 / 1.209 GB, free: 11.75 MB / 0.9356 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.0005233/0.924, allocations: 353.6 kB / 1.209 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.9241, allocations: 8.031 kB / 1.209 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.089e-05/0.9241, allocations: 34.75 kB / 1.209 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.93e-05/0.9242, allocations: 8.844 kB / 1.209 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.9243, allocations: 168.4 kB / 1.21 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.9243, allocations: 4.375 kB / 1.21 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.014e-05/0.9244, allocations: 12.12 kB / 1.21 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002198/0.9246, allocations: 61.66 kB / 1.21 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.9246, allocations: 3.938 kB / 1.21 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.9246, allocations: 4 kB / 1.21 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/0.9246, allocations: 0 / 1.21 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002188/0.9249, allocations: 43.95 kB / 1.21 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006501/0.9255, allocations: 300.7 kB / 1.21 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002488/0.9258, allocations: 62.48 kB / 1.21 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001179/0.9259, allocations: 32.91 kB / 1.21 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/0.926, allocations: 0 / 1.21 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.67e-05/0.926, allocations: 38.56 kB / 1.21 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.926, allocations: 3.938 kB / 1.21 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0004872/0.9265, allocations: 101.6 kB / 1.21 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.754e-05/0.9266, allocations: 51.41 kB / 1.21 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.9267, allocations: 109.8 kB / 1.21 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.9267, allocations: 29.7 kB / 1.21 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.841e-05/0.9268, allocations: 91.98 kB / 1.21 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.719e-05/0.9268, allocations: 15.83 kB / 1.21 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.487e-05/0.9269, allocations: 17.72 kB / 1.211 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.9271, allocations: 322.8 kB / 1.211 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001086/0.9272, allocations: 19.98 kB / 1.211 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001/0.9273, allocations: 24.16 kB / 1.211 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002097/0.9275, allocations: 60.89 kB / 1.211 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.9275, allocations: 4 kB / 1.211 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002732/0.9278, allocations: 81.56 kB / 1.211 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.774e-05/0.9279, allocations: 8 kB / 1.211 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.9279, allocations: 0 / 1.211 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.455e-05/0.9279, allocations: 0 / 1.211 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001491/0.9281, allocations: 15.92 kB / 1.211 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.9281, allocations: 3.984 kB / 1.211 GB, free: 9.465 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.36e-05/0.9282, allocations: 8 kB / 1.211 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.9282, allocations: 7.875 kB / 1.211 GB, free: 9.449 MB / 0.9356 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 0.0001237/0.9283, allocations: 117.8 kB / 1.211 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.546e-05/0.9283, allocations: 4 kB / 1.211 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.532e-05/0.9284, allocations: 7.906 kB / 1.211 GB, free: 9.301 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.9284, allocations: 0 / 1.211 GB, free: 9.301 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.9284, allocations: 0 / 1.211 GB, free: 9.301 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.9284, allocations: 0 / 1.211 GB, free: 9.301 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000226/0.9287, allocations: 177.6 kB / 1.211 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.9287, allocations: 4 kB / 1.211 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.597e-05/0.9288, allocations: 11.98 kB / 1.211 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.9288, allocations: 0 / 1.211 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.9288, allocations: 0 / 1.211 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.107e-06/0.9288, allocations: 0 / 1.211 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.9288, allocations: 3.938 kB / 1.211 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003089/0.9291, allocations: 191.3 kB / 1.212 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.705e-05/0.9292, allocations: 81.11 kB / 1.212 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.951e-05/0.9292, allocations: 4 kB / 1.212 GB, free: 8.754 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.862e-05/0.9293, allocations: 7.984 kB / 1.212 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.173e-05/0.9294, allocations: 11.98 kB / 1.212 GB, free: 8.734 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.9294, allocations: 0 / 1.212 GB, free: 8.734 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.604e-05/0.9295, allocations: 91.2 kB / 1.212 GB, free: 8.645 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9295, allocations: 0 / 1.212 GB, free: 8.645 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002351/0.9297, allocations: 12 kB / 1.212 GB, free: 8.633 MB / 0.9356 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.0007611/0.9305, allocations: 0.7162 MB / 1.212 GB, free: 7.891 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003131/0.9308, allocations: 55.94 kB / 1.212 GB, free: 7.836 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.9308, allocations: 8 kB / 1.213 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001151/0.931, allocations: 24.22 kB / 1.213 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003461/0.9313, allocations: 7.984 kB / 1.213 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001607/0.9329, allocations: 1.331 MB / 1.214 GB, free: 6.387 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003083/0.9333, allocations: 0.6847 MB / 1.215 GB, free: 5.676 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.721e-05/0.9333, allocations: 7.938 kB / 1.215 GB, free: 5.668 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.817e-05/0.9334, allocations: 23.42 kB / 1.215 GB, free: 5.645 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/0.9334, allocations: 0 / 1.215 GB, free: 5.645 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0205/0.9539, allocations: 1.88 MB / 1.216 GB, free: 3.902 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.805/8.759, allocations: 8.781 kB / 1.216 GB, free: 3.898 MB / 0.9356 GB (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 --timeout=50 --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) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,intGreEquThr.t,intGreEquThr.u,intGreEquThr.y Variables in the result:intGreEquThr.t,intGreEquThr.u,intGreEquThr.y,ramp1.duration,ramp1.height,ramp1.offset,ramp1.startTime,ramp1.y,reaToInt.u,reaToInt.y,round1.n,round1.u,round1.y,time