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.007381/0.007381, allocations: 102.2 kB / 15.73 MB, free: 6.066 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.001685/0.001685, allocations: 192.2 kB / 16.67 MB, free: 5.973 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.529/1.529, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.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.447/2.447, allocations: 390.3 MB / 0.6648 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.001501, allocations: 67.89 kB / 0.9504 GB, free: 8.121 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9815/0.983, allocations: 140.4 MB / 1.087 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.001949/0.985, allocations: 0.694 MB / 1.088 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.000956/0.986, allocations: 0.843 MB / 1.089 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.704e-05/0.986, allocations: 1.062 kB / 1.089 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.927e-05/0.9861, allocations: 4.641 kB / 1.089 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.1e-05/0.9862, allocations: 5.5 kB / 1.089 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001338/0.9863, allocations: 26.62 kB / 1.089 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.875e-05/0.9864, allocations: 45.36 kB / 1.089 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.9865, allocations: 15.59 kB / 1.089 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.668e-05/0.9866, allocations: 18.97 kB / 1.089 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.72e-05/0.9867, allocations: 29.08 kB / 1.089 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.23e-05/0.9867, allocations: 4.406 kB / 1.089 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.174e-05/0.9867, allocations: 4.156 kB / 1.089 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.147e-05/0.9867, allocations: 12.7 kB / 1.089 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.074e-05/0.9868, allocations: 17.14 kB / 1.089 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00011/0.9869, allocations: 47.5 kB / 1.089 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.9869, allocations: 0 / 1.089 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.934e-06/0.9869, allocations: 4.547 kB / 1.089 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.899e-06/0.9869, allocations: 1.094 kB / 1.089 GB, free: 4.055 MB / 0.8575 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.0004381/0.9874, allocations: 360.9 kB / 1.09 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.9874, allocations: 10.2 kB / 1.09 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.636e-05/0.9875, allocations: 32.44 kB / 1.09 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.709e-05/0.9875, allocations: 7.578 kB / 1.09 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.035e-05/0.9876, allocations: 172.9 kB / 1.09 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.9876, allocations: 5.531 kB / 1.09 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.513e-05/0.9876, allocations: 6.531 kB / 1.09 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001997/0.9878, allocations: 72.97 kB / 1.09 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.9878, allocations: 0 / 1.09 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.9879, allocations: 0.8125 kB / 1.09 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.9879, allocations: 1.125 kB / 1.09 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000213/0.9881, allocations: 51.38 kB / 1.09 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003517/0.9884, allocations: 292.2 kB / 1.09 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001949/0.9887, allocations: 66.09 kB / 1.09 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/0.9888, allocations: 33.58 kB / 1.09 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.597e-05/0.9888, allocations: 3.938 kB / 1.09 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.772e-05/0.9888, allocations: 32.33 kB / 1.09 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.9888, allocations: 0 / 1.09 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0004244/0.9893, allocations: 109.8 kB / 1.09 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.379e-05/0.9893, allocations: 56.95 kB / 1.09 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.914e-05/0.9894, allocations: 106.7 kB / 1.091 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.073e-05/0.9894, allocations: 25.7 kB / 1.091 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.62e-05/0.9894, allocations: 87.62 kB / 1.091 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.825e-05/0.9894, allocations: 9.844 kB / 1.091 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.731e-05/0.9895, allocations: 19.89 kB / 1.091 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.657e-05/0.9895, allocations: 322.6 kB / 1.091 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/0.9897, allocations: 26.34 kB / 1.091 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.551e-05/0.9898, allocations: 26.73 kB / 1.091 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000197/0.99, allocations: 57.28 kB / 1.091 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.99, allocations: 1.594 kB / 1.091 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002392/0.9902, allocations: 83.36 kB / 1.091 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.9902, allocations: 6.047 kB / 1.091 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.9903, allocations: 3.984 kB / 1.091 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.9903, allocations: 1.156 kB / 1.091 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.9904, allocations: 10.62 kB / 1.091 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.9904, allocations: 1.828 kB / 1.091 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.683e-05/0.9905, allocations: 10.83 kB / 1.091 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.9905, allocations: 10.92 kB / 1.091 GB, free: 2.203 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 5.557e-05/0.9906, allocations: 112.2 kB / 1.091 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.807e-05/0.9906, allocations: 5.734 kB / 1.091 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.25e-05/0.9906, allocations: 10.09 kB / 1.091 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-06/0.9906, allocations: 1.094 kB / 1.091 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.9906, allocations: 0 / 1.091 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.9907, allocations: 1.859 kB / 1.091 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001353/0.9908, allocations: 173.4 kB / 1.092 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.9908, allocations: 2.125 kB / 1.092 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.141e-05/0.9909, allocations: 14.98 kB / 1.092 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.9909, allocations: 4.516 kB / 1.092 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.9909, allocations: 5.734 kB / 1.092 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.9909, allocations: 0 / 1.092 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.9909, allocations: 2.094 kB / 1.092 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002592/0.9912, allocations: 185.8 kB / 1.092 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.072e-05/0.9912, allocations: 83.86 kB / 1.092 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.9912, allocations: 0.6875 kB / 1.092 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.9914, allocations: 11.47 kB / 1.092 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.931e-05/0.9914, allocations: 11.89 kB / 1.092 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.9914, allocations: 2.25 kB / 1.092 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.194e-05/0.9915, allocations: 90.98 kB / 1.092 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9915, allocations: 0 / 1.092 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002258/0.9917, allocations: 6.406 kB / 1.092 GB, free: 1.52 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.00052/0.9922, allocations: 0.7155 MB / 1.093 GB, free: 16.85 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002624/0.9925, allocations: 60.73 kB / 1.093 GB, free: 16.83 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.9925, allocations: 3.938 kB / 1.093 GB, free: 16.83 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001168/0.9926, allocations: 30.5 kB / 1.093 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002853/0.9929, allocations: 11.44 kB / 1.093 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001507/0.9945, allocations: 1.309 MB / 1.094 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002346/0.9947, allocations: 0.6817 MB / 1.095 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.768e-05/0.9948, allocations: 8.688 kB / 1.095 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.769e-05/0.9948, allocations: 17.78 kB / 1.095 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of SimCode: time 4e-07/0.9948, allocations: 0 / 1.095 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01613/1.011, allocations: 1.849 MB / 1.097 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.901/8.912, allocations: 12.62 kB / 1.097 GB, free: 14.52 MB / 0.8731 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