Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 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.Continuous.Validation.GreaterThreshold,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_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.004594/0.004594, allocations: 101.5 kB / 15.73 MB, free: 6.492 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.001227/0.001227, allocations: 196.4 kB / 16.68 MB, free: 6.375 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.366/1.366, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.407/2.407, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 65.75 kB / 0.9504 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2622/0.2634, allocations: 140.4 MB / 1.088 GB, free: 1.906 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold): time 0.003259/0.2667, allocations: 1.949 MB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001888/0.2686, allocations: 1.111 MB / 1.091 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001618/0.2688, allocations: 4 kB / 1.091 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003875/0.2692, allocations: 115.4 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002983/0.2695, allocations: 103.6 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004373/0.27, allocations: 151.6 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002989/0.2703, allocations: 211.5 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001608/0.2705, allocations: 69.59 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001723/0.2706, allocations: 91.61 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001757/0.2708, allocations: 107.5 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.444e-05/0.2709, allocations: 12 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001596/0.271, allocations: 63.97 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.72e-05/0.2711, allocations: 67.69 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.41e-05/0.2712, allocations: 87.36 kB / 1.092 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003796/0.2716, allocations: 286.8 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.2716, allocations: 0 / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.734e-06/0.2716, allocations: 0 / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.987e-06/0.2717, allocations: 0 / 1.092 GB, free: 13.48 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0009291/0.2726, allocations: 0.5449 MB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.2726, allocations: 12.03 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.041e-05/0.2727, allocations: 38.73 kB / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.26e-05/0.2728, allocations: 24.66 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004098/0.2732, allocations: 311.7 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.2732, allocations: 12.12 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.2732, allocations: 4 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002087/0.2734, allocations: 101.6 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.2735, allocations: 0 / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.2735, allocations: 0 / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.2735, allocations: 0 / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001407/0.2736, allocations: 58.02 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007477/0.2744, allocations: 440.4 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002404/0.2746, allocations: 90.64 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.823e-05/0.2747, allocations: 32.89 kB / 1.093 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.792e-05/0.2748, allocations: 3.984 kB / 1.093 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001758/0.2749, allocations: 83.31 kB / 1.094 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.403e-06/0.275, allocations: 4 kB / 1.094 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0003892/0.2753, allocations: 149.3 kB / 1.094 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/0.2754, allocations: 51.41 kB / 1.094 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003714/0.2758, allocations: 367.1 kB / 1.094 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.2758, allocations: 33.7 kB / 1.094 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.727e-05/0.2759, allocations: 148.2 kB / 1.094 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.736e-05/0.2759, allocations: 23.73 kB / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.833e-05/0.276, allocations: 41.7 kB / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.2761, allocations: 338.8 kB / 1.095 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.2763, allocations: 63.91 kB / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001261/0.2764, allocations: 83.58 kB / 1.095 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001872/0.2766, allocations: 107.1 kB / 1.095 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.2766, allocations: 0 / 1.095 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003355/0.2769, allocations: 203.5 kB / 1.095 GB, free: 9.926 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.277, allocations: 12.03 kB / 1.095 GB, free: 9.914 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.277, allocations: 3.938 kB / 1.095 GB, free: 9.91 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.277, allocations: 0 / 1.095 GB, free: 9.91 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/0.2771, allocations: 27.98 kB / 1.095 GB, free: 9.883 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.2772, allocations: 3.938 kB / 1.095 GB, free: 9.879 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001323/0.2773, allocations: 19.89 kB / 1.095 GB, free: 9.859 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.198e-05/0.2773, allocations: 4 kB / 1.095 GB, free: 9.855 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.ram.tab.nextTimeEvent,$whenCondition1,ram.tab.nextTimeEventScaled,$PRE.ram.tab.nextTimeEventScaled,ram.tab.nextTimeEvent,greHys.greHys.y,$PRE.greHys.greHys.y,gre.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * 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.0001275/0.2775, allocations: 162.9 kB / 1.095 GB, free: 9.688 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.76e-05/0.2775, allocations: 27.7 kB / 1.095 GB, free: 9.66 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.391e-05/0.2776, allocations: 25.69 kB / 1.095 GB, free: 9.637 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.2776, allocations: 0 / 1.095 GB, free: 9.637 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.2776, allocations: 4 kB / 1.095 GB, free: 9.633 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.2776, allocations: 3.984 kB / 1.095 GB, free: 9.629 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000212/0.2778, allocations: 245.6 kB / 1.096 GB, free: 9.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.2778, allocations: 0 / 1.096 GB, free: 9.34 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.173e-05/0.2779, allocations: 7.984 kB / 1.096 GB, free: 9.332 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.2779, allocations: 4 kB / 1.096 GB, free: 9.328 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.2779, allocations: 3.938 kB / 1.096 GB, free: 9.324 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.2779, allocations: 4 kB / 1.096 GB, free: 9.32 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2779, allocations: 0 / 1.096 GB, free: 9.32 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002676/0.2782, allocations: 152.7 kB / 1.096 GB, free: 9.152 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.494e-05/0.2783, allocations: 100.8 kB / 1.096 GB, free: 9.035 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.598e-05/0.2783, allocations: 11.94 kB / 1.096 GB, free: 9.023 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.2784, allocations: 7.984 kB / 1.096 GB, free: 9.016 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.964e-05/0.2785, allocations: 19.97 kB / 1.096 GB, free: 8.996 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.2785, allocations: 8 kB / 1.096 GB, free: 8.988 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002483/0.2788, allocations: 229.9 kB / 1.096 GB, free: 8.766 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2788, allocations: 0 / 1.096 GB, free: 8.766 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002789/0.2791, allocations: 35.98 kB / 1.096 GB, free: 8.73 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: 5 ($whenCondition1,gre.y,greHys.greHys.y,ram.tab.nextTimeEvent,ram.tab.nextTimeEventScaled) * Number of discrete states: 3 (ram.tab.nextTimeEventScaled,greHys.greHys.y,ram.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001511/0.2806, allocations: 1.002 MB / 1.097 GB, free: 7.855 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002974/0.2809, allocations: 111.9 kB / 1.097 GB, free: 7.746 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.2809, allocations: 0 / 1.097 GB, free: 7.746 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001088/0.281, allocations: 39.98 kB / 1.097 GB, free: 7.707 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000371/0.2814, allocations: 52.8 kB / 1.097 GB, free: 7.656 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002689/0.2841, allocations: 2.372 MB / 1.1 GB, free: 5.203 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003355/0.2845, allocations: 0.7515 MB / 1.1 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001051/0.2846, allocations: 29.94 kB / 1.1 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001275/0.2847, allocations: 75.41 kB / 1.1 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of SimCode: time 2.31e-07/0.2847, allocations: 0 / 1.1 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02206/0.3068, allocations: 5.481 MB / 1.106 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.731/8.038, allocations: 19.89 kB / 1.106 GB, free: 14.93 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches