Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.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.GreaterThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",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.00135/0.00135, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001578/0.001578, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.435/1.435, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.834/2.834, allocations: 461.9 MB / 0.7346 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 63.73 kB / 0.8992 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3404/0.342, allocations: 157.4 MB / 1.053 GB, free: 8.297 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.002479/0.3445, allocations: 0.7089 MB / 1.054 GB, free: 7.586 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001369/0.3459, allocations: 0.8351 MB / 1.054 GB, free: 6.738 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.532e-05/0.346, allocations: 0 / 1.054 GB, free: 6.738 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.749e-05/0.346, allocations: 3.938 kB / 1.054 GB, free: 6.734 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.063e-05/0.3462, allocations: 3.938 kB / 1.054 GB, free: 6.73 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002122/0.3464, allocations: 23.91 kB / 1.054 GB, free: 6.707 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001156/0.3465, allocations: 47.86 kB / 1.054 GB, free: 6.66 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001515/0.3467, allocations: 19.98 kB / 1.055 GB, free: 6.641 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.3468, allocations: 23.84 kB / 1.055 GB, free: 6.617 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.968e-05/0.3469, allocations: 23.92 kB / 1.055 GB, free: 6.594 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.587e-05/0.3469, allocations: 4 kB / 1.055 GB, free: 6.59 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.525e-05/0.3469, allocations: 4 kB / 1.055 GB, free: 6.586 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.428e-05/0.347, allocations: 11.98 kB / 1.055 GB, free: 6.574 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.462e-05/0.347, allocations: 19.88 kB / 1.055 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001577/0.3472, allocations: 51.84 kB / 1.055 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.3472, allocations: 0 / 1.055 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.974e-06/0.3472, allocations: 0 / 1.055 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.052e-06/0.3472, allocations: 0 / 1.055 GB, free: 6.504 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.0006389/0.3479, allocations: 357.2 kB / 1.055 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.107e-05/0.3479, allocations: 8.625 kB / 1.055 GB, free: 6.102 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.771e-05/0.348, allocations: 30.75 kB / 1.055 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.703e-05/0.348, allocations: 12.83 kB / 1.055 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001694/0.3482, allocations: 176.2 kB / 1.055 GB, free: 5.84 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.3482, allocations: 8.375 kB / 1.055 GB, free: 5.832 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/0.3483, allocations: 4.375 kB / 1.055 GB, free: 5.828 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002096/0.3485, allocations: 65.59 kB / 1.055 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.3485, allocations: 0 / 1.055 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.3485, allocations: 0 / 1.055 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.3485, allocations: 7.984 kB / 1.055 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002084/0.3487, allocations: 55.92 kB / 1.055 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005021/0.3492, allocations: 292.7 kB / 1.056 GB, free: 5.359 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001984/0.3495, allocations: 66.61 kB / 1.056 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.3496, allocations: 28.84 kB / 1.056 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.3496, allocations: 0 / 1.056 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.3496, allocations: 38.5 kB / 1.056 GB, free: 5.207 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.3496, allocations: 0 / 1.056 GB, free: 5.207 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0004397/0.3501, allocations: 109.6 kB / 1.056 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.254e-05/0.3501, allocations: 55.39 kB / 1.056 GB, free: 5.027 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.405e-05/0.3502, allocations: 109.8 kB / 1.056 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.3502, allocations: 25.7 kB / 1.056 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.277e-05/0.3503, allocations: 92.05 kB / 1.056 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.139e-05/0.3504, allocations: 7.906 kB / 1.056 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.343e-05/0.3504, allocations: 21.7 kB / 1.056 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.3505, allocations: 314.8 kB / 1.056 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/0.3506, allocations: 27.97 kB / 1.056 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.165e-05/0.3507, allocations: 19.98 kB / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002007/0.3509, allocations: 56.81 kB / 1.057 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.3509, allocations: 0 / 1.057 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002466/0.3512, allocations: 85.58 kB / 1.057 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.3512, allocations: 4 kB / 1.057 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.3512, allocations: 3.938 kB / 1.057 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.3513, allocations: 0 / 1.057 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.3514, allocations: 15.98 kB / 1.057 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.3514, allocations: 4 kB / 1.057 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.368e-05/0.3515, allocations: 11.98 kB / 1.057 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.3515, allocations: 0 / 1.057 GB, free: 4.199 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,intGreThr.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.0001191/0.3517, allocations: 113.8 kB / 1.057 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.242e-05/0.3517, allocations: 7.906 kB / 1.057 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.474e-05/0.3517, allocations: 3.906 kB / 1.057 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.3517, allocations: 0 / 1.057 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.3518, allocations: 4 kB / 1.057 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.3518, allocations: 3.984 kB / 1.057 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002061/0.352, allocations: 181.6 kB / 1.057 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.352, allocations: 0 / 1.057 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.458e-05/0.3521, allocations: 20.25 kB / 1.057 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.3521, allocations: 4 kB / 1.057 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.732e-05/0.3521, allocations: 7.984 kB / 1.057 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.3521, allocations: 3.938 kB / 1.057 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3521, allocations: 0 / 1.057 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003464/0.3525, allocations: 191.3 kB / 1.057 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.118e-05/0.3526, allocations: 77.11 kB / 1.057 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.3526, allocations: 0 / 1.057 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.3527, allocations: 11.98 kB / 1.057 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.305e-05/0.3528, allocations: 11.98 kB / 1.057 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.3528, allocations: 0 / 1.057 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.151e-05/0.3529, allocations: 83.28 kB / 1.057 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3529, allocations: 4 kB / 1.057 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002363/0.3531, allocations: 11.94 kB / 1.057 GB, free: 3.375 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 (intGreThr.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.0007136/0.3538, allocations: 0.7201 MB / 1.058 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002958/0.3542, allocations: 55.95 kB / 1.058 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 6.732e-06/0.3542, allocations: 0 / 1.058 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001398/0.3543, allocations: 35.91 kB / 1.058 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003868/0.3547, allocations: 7.938 kB / 1.058 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001952/0.3567, allocations: 1.315 MB / 1.059 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003468/0.357, allocations: 0.6846 MB / 1.06 GB, free: 436 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 5.098e-05/0.3571, allocations: 4 kB / 1.06 GB, free: 432 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.481e-05/0.3572, allocations: 23.36 kB / 1.06 GB, free: 408 kB / 0.8106 GB Notification: Performance of SimCode: time 3.31e-07/0.3572, allocations: 4 kB / 1.06 GB, free: 404 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01837/0.3756, allocations: 1.814 MB / 1.062 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.253/7.629, allocations: 5 kB / 1.062 GB, free: 14.69 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches