Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.GreaterEqualThreshold,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,fileNamePrefix="Buildings_9_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.009159/0.00916, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.00176/0.00176, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 4.152 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.498/2.498, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 59.59 kB / 0.9504 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3793/0.3806, allocations: 140.4 MB / 1.087 GB, free: 1.98 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.00251/0.3832, allocations: 0.6973 MB / 1.088 GB, free: 1.281 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001205/0.3844, allocations: 0.8315 MB / 1.089 GB, free: 448 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.29e-05/0.3845, allocations: 0 / 1.089 GB, free: 448 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.723e-05/0.3846, allocations: 11.92 kB / 1.089 GB, free: 436 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 9.282e-05/0.3847, allocations: 7.922 kB / 1.089 GB, free: 428 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001537/0.3848, allocations: 19.98 kB / 1.089 GB, free: 408 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 9.031e-05/0.3849, allocations: 43.84 kB / 1.089 GB, free: 364 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.385, allocations: 15.98 kB / 1.089 GB, free: 348 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 7.847e-05/0.3851, allocations: 23.92 kB / 1.089 GB, free: 324 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.322e-05/0.3852, allocations: 31.84 kB / 1.089 GB, free: 292 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.042e-05/0.3852, allocations: 4 kB / 1.089 GB, free: 288 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.298e-05/0.3852, allocations: 4 kB / 1.089 GB, free: 284 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.283e-05/0.3853, allocations: 7.984 kB / 1.089 GB, free: 276 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.686e-05/0.3853, allocations: 19.88 kB / 1.089 GB, free: 256 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001106/0.3854, allocations: 51.84 kB / 1.089 GB, free: 204 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3854, allocations: 0 / 1.089 GB, free: 204 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3854, allocations: 0 / 1.089 GB, free: 204 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.3855, allocations: 0 / 1.089 GB, free: 204 kB / 0.8419 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.0005836/0.386, allocations: 354.3 kB / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.3861, allocations: 12.03 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.074e-05/0.3861, allocations: 34.75 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.015e-05/0.3862, allocations: 4.844 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000158/0.3863, allocations: 177.1 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.3864, allocations: 384 / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.628e-05/0.3864, allocations: 8.125 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002379/0.3866, allocations: 69.59 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.3866, allocations: 0 / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.3867, allocations: 11.94 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.3867, allocations: 0 / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002113/0.3869, allocations: 51.94 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004459/0.3873, allocations: 288.7 kB / 1.09 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002077/0.3876, allocations: 78.44 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/0.3877, allocations: 28.88 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.937e-05/0.3877, allocations: 0 / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.3878, allocations: 30.56 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.413e-06/0.3878, allocations: 0 / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0004213/0.3882, allocations: 109.6 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/0.3883, allocations: 55.41 kB / 1.09 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.45e-05/0.3883, allocations: 109.8 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.3884, allocations: 25.7 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.837e-05/0.3884, allocations: 88.05 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.246e-05/0.3885, allocations: 15.89 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.751e-05/0.3885, allocations: 13.72 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.3886, allocations: 318.8 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001084/0.3887, allocations: 31.97 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.369e-05/0.3888, allocations: 23.97 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001973/0.389, allocations: 52.81 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3891, allocations: 0 / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002442/0.3893, allocations: 85.59 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.3893, allocations: 6.344 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.3893, allocations: 4 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.3894, allocations: 0 / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.3895, allocations: 11.98 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.812e-06/0.3895, allocations: 0 / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.822e-05/0.3896, allocations: 15.83 kB / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.3896, allocations: 7.938 kB / 1.091 GB, free: 13.89 MB / 0.8575 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.703e-05/0.3897, allocations: 113.8 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.731e-05/0.3897, allocations: 4 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.668e-05/0.3898, allocations: 11.91 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.3898, allocations: 0 / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.3898, allocations: 3.938 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.3898, allocations: 4 kB / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002052/0.39, allocations: 177.6 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.39, allocations: 0 / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.962e-05/0.3901, allocations: 11.98 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.3901, allocations: 0 / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.3901, allocations: 0 / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.3902, allocations: 4 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.3902, allocations: 4 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003054/0.3905, allocations: 187.6 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.066e-05/0.3906, allocations: 81.14 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.638e-05/0.3906, allocations: 0 / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.3907, allocations: 7.984 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.878e-05/0.3908, allocations: 15.92 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.3908, allocations: 8 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.034e-05/0.3909, allocations: 91.2 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3909, allocations: 0 / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002191/0.3911, allocations: 8 kB / 1.092 GB, free: 13.07 MB / 0.8575 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.0006508/0.3917, allocations: 0.7201 MB / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002593/0.392, allocations: 51.95 kB / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.392, allocations: 0 / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001177/0.3921, allocations: 39.91 kB / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003251/0.3925, allocations: 5.672 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00157/0.3941, allocations: 1.321 MB / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000316/0.3944, allocations: 0.6846 MB / 1.095 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.037e-05/0.3944, allocations: 7.938 kB / 1.095 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.802e-05/0.3945, allocations: 24.44 kB / 1.095 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of SimCode: time 3.51e-07/0.3945, allocations: 0 / 1.095 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02328/0.4178, allocations: 1.853 MB / 1.097 GB, free: 8.383 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.711/8.129, allocations: 14.78 kB / 1.097 GB, free: 8.371 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches