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.001215/0.001215, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.001237/0.001238, allocations: 199.2 kB / 16.26 MB, free: 6.629 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.444/1.444, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.69/2.69, allocations: 461.9 MB / 0.7344 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 65.97 kB / 0.8987 GB, free: 37.08 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3066/0.3079, allocations: 157.4 MB / 1.052 GB, free: 8.656 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.002279/0.3102, allocations: 0.7642 MB / 1.053 GB, free: 7.887 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001095/0.3113, allocations: 0.8429 MB / 1.054 GB, free: 7.031 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.916e-05/0.3114, allocations: 0 / 1.054 GB, free: 7.031 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.315e-05/0.3115, allocations: 0 / 1.054 GB, free: 7.031 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.191e-05/0.3116, allocations: 7.922 kB / 1.054 GB, free: 7.023 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001701/0.3117, allocations: 19.97 kB / 1.054 GB, free: 7.004 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001016/0.3119, allocations: 47.86 kB / 1.054 GB, free: 6.957 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.312, allocations: 19.98 kB / 1.054 GB, free: 6.938 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7e-05/0.3121, allocations: 15.92 kB / 1.054 GB, free: 6.922 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.849e-05/0.3121, allocations: 27.91 kB / 1.054 GB, free: 6.895 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.669e-05/0.3122, allocations: 7.938 kB / 1.054 GB, free: 6.887 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.488e-05/0.3122, allocations: 4 kB / 1.054 GB, free: 6.883 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.563e-05/0.3122, allocations: 7.984 kB / 1.054 GB, free: 6.875 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.654e-05/0.3123, allocations: 15.88 kB / 1.054 GB, free: 6.859 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001128/0.3124, allocations: 51.84 kB / 1.054 GB, free: 6.809 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.3124, allocations: 4 kB / 1.054 GB, free: 6.805 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3124, allocations: 0 / 1.054 GB, free: 6.805 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.3124, allocations: 4 kB / 1.054 GB, free: 6.801 MB / 0.8106 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.0006206/0.313, allocations: 347.7 kB / 1.055 GB, free: 6.414 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.3131, allocations: 12.62 kB / 1.055 GB, free: 6.402 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.95e-05/0.3132, allocations: 38.69 kB / 1.055 GB, free: 6.355 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.129e-05/0.3132, allocations: 8.844 kB / 1.055 GB, free: 6.348 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001637/0.3134, allocations: 168.3 kB / 1.055 GB, free: 6.145 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.42e-05/0.3134, allocations: 4.375 kB / 1.055 GB, free: 6.141 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.086e-05/0.3135, allocations: 8.359 kB / 1.055 GB, free: 6.133 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002491/0.3137, allocations: 73.59 kB / 1.055 GB, free: 6.055 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.3137, allocations: 0 / 1.055 GB, free: 6.055 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.3138, allocations: 0 / 1.055 GB, free: 6.055 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.3138, allocations: 0 / 1.055 GB, free: 6.055 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000199/0.314, allocations: 47.95 kB / 1.055 GB, free: 6.008 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004659/0.3144, allocations: 308.6 kB / 1.055 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001963/0.3146, allocations: 62.48 kB / 1.055 GB, free: 5.586 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.3148, allocations: 28.91 kB / 1.055 GB, free: 5.555 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.917e-05/0.3148, allocations: 4 kB / 1.055 GB, free: 5.551 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.3148, allocations: 34.56 kB / 1.055 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 4.308e-06/0.3148, allocations: 4 kB / 1.055 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0004054/0.3152, allocations: 105.6 kB / 1.055 GB, free: 5.395 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.34e-05/0.3153, allocations: 51.41 kB / 1.055 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.23e-05/0.3154, allocations: 109.8 kB / 1.056 GB, free: 5.215 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.3154, allocations: 25.7 kB / 1.056 GB, free: 5.184 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.738e-05/0.3155, allocations: 96.03 kB / 1.056 GB, free: 5.086 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.731e-05/0.3155, allocations: 7.906 kB / 1.056 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.965e-05/0.3155, allocations: 17.72 kB / 1.056 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.3156, allocations: 322.8 kB / 1.056 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.3157, allocations: 19.98 kB / 1.056 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.45e-05/0.3158, allocations: 23.97 kB / 1.056 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001856/0.316, allocations: 56.75 kB / 1.056 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.316, allocations: 4 kB / 1.056 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002307/0.3163, allocations: 77.66 kB / 1.056 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.3163, allocations: 5.25 kB / 1.056 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.3163, allocations: 0 / 1.056 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.3163, allocations: 7.984 kB / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.3165, allocations: 11.92 kB / 1.056 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.3165, allocations: 4 kB / 1.056 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.669e-05/0.3166, allocations: 4 kB / 1.056 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.3166, allocations: 4 kB / 1.056 GB, free: 4.508 MB / 0.8106 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 9.159e-05/0.3167, allocations: 121.8 kB / 1.056 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.974e-05/0.3167, allocations: 3.906 kB / 1.056 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.565e-05/0.3167, allocations: 12.17 kB / 1.056 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.3168, allocations: 4 kB / 1.056 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.3168, allocations: 0 / 1.056 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.3168, allocations: 3.984 kB / 1.056 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001734/0.3169, allocations: 177.5 kB / 1.057 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.317, allocations: 0 / 1.057 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.502e-05/0.317, allocations: 19.92 kB / 1.057 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.3171, allocations: 4 kB / 1.057 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.3171, allocations: 0 / 1.057 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3171, allocations: 0 / 1.057 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3171, allocations: 0 / 1.057 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002927/0.3174, allocations: 183.4 kB / 1.057 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.235e-05/0.3174, allocations: 85.11 kB / 1.057 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.006e-05/0.3175, allocations: 4 kB / 1.057 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.3176, allocations: 7.984 kB / 1.057 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.224e-05/0.3177, allocations: 11.98 kB / 1.057 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.3177, allocations: 7.938 kB / 1.057 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.258e-05/0.3177, allocations: 91.27 kB / 1.057 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.9e-07/0.3177, allocations: 0 / 1.057 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002203/0.318, allocations: 7.938 kB / 1.057 GB, free: 3.68 MB / 0.8106 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.000602/0.3186, allocations: 0.7163 MB / 1.058 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002689/0.3189, allocations: 63.88 kB / 1.058 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3189, allocations: 0 / 1.058 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000119/0.319, allocations: 31.98 kB / 1.058 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002936/0.3193, allocations: 11.98 kB / 1.058 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001547/0.3209, allocations: 1.315 MB / 1.059 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003/0.3212, allocations: 0.6846 MB / 1.06 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.649e-05/0.3212, allocations: 3.984 kB / 1.06 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.718e-05/0.3213, allocations: 19.44 kB / 1.06 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of SimCode: time 3.016e-06/0.3213, allocations: 0 / 1.06 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.213/1.534, allocations: 1.674 MB / 1.061 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002295/1.534, allocations: 237.3 kB / 1.062 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.359/3.893, allocations: 6.125 kB / 1.062 GB, free: 14.93 MB / 0.8262 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) Reference file matches