Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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.Reals.Validation.GreaterThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_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.001104/0.001104, 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.001214/0.001214, allocations: 193.3 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.289/1.289, 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.606/2.606, allocations: 469.4 MB / 0.742 GB, free: 7.621 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 76.69 kB / 0.9083 GB, free: 34.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.2529, allocations: 159.1 MB / 1.064 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.00219/0.2551, allocations: 0.8232 MB / 1.064 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001031/0.2562, allocations: 0.8717 MB / 1.065 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.271e-05/0.2563, allocations: 7.938 kB / 1.065 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001103/0.2564, allocations: 11.88 kB / 1.065 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.052e-05/0.2565, allocations: 19.84 kB / 1.065 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001477/0.2566, allocations: 19.98 kB / 1.065 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001108/0.2568, allocations: 75.72 kB / 1.065 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.2569, allocations: 35.92 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.227e-05/0.257, allocations: 27.91 kB / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.38e-05/0.257, allocations: 27.84 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.111e-05/0.2571, allocations: 8 kB / 1.066 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.473e-05/0.2571, allocations: 4 kB / 1.066 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.27e-05/0.2571, allocations: 19.94 kB / 1.066 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.922e-05/0.2572, allocations: 27.8 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001114/0.2573, allocations: 83.95 kB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.2573, allocations: 3.938 kB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.333e-06/0.2573, allocations: 0 / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.2573, allocations: 0 / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005077/0.2578, allocations: 383.2 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.2579, allocations: 12.02 kB / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.475e-05/0.2579, allocations: 38.75 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.231e-05/0.2579, allocations: 8.844 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001942/0.2581, allocations: 205.5 kB / 1.066 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.807e-06/0.2582, allocations: 4.359 kB / 1.066 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.258e-05/0.2582, allocations: 4.375 kB / 1.066 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/0.2583, allocations: 70.11 kB / 1.066 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.2584, allocations: 3.938 kB / 1.066 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.2584, allocations: 0 / 1.066 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.2584, allocations: 0 / 1.066 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001064/0.2585, allocations: 39.97 kB / 1.066 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004643/0.259, allocations: 312.7 kB / 1.067 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001725/0.2592, allocations: 50.55 kB / 1.067 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.325e-05/0.2592, allocations: 16.92 kB / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.568e-05/0.2592, allocations: 0 / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.2593, allocations: 34.64 kB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.2593, allocations: 0 / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0002491/0.2595, allocations: 81.61 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.406e-05/0.2596, allocations: 51.41 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.2597, allocations: 139.5 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.2597, allocations: 25.7 kB / 1.067 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.337e-05/0.2598, allocations: 104 kB / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.693e-05/0.2598, allocations: 3.906 kB / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-05/0.2599, allocations: 21.66 kB / 1.067 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.26, allocations: 326.8 kB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.387e-05/0.26, allocations: 12 kB / 1.068 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.425e-05/0.2601, allocations: 15.98 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.549e-05/0.2602, allocations: 32.78 kB / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.2602, allocations: 0 / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000139/0.2603, allocations: 69.58 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.2604, allocations: 4 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.2604, allocations: 0 / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.2604, allocations: 0 / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.79e-05/0.2605, allocations: 8 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.2605, allocations: 3.984 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.675e-05/0.2606, allocations: 12 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.2606, allocations: 7.922 kB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (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 (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 7.717e-05/0.2607, allocations: 117.8 kB / 1.068 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.804e-05/0.2607, allocations: 7.906 kB / 1.068 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.935e-05/0.2607, allocations: 8.25 kB / 1.068 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.2607, allocations: 0 / 1.068 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.2608, allocations: 4.328 kB / 1.068 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.2608, allocations: 3.938 kB / 1.068 GB, free: 9.93 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001788/0.2609, allocations: 189.5 kB / 1.068 GB, free: 9.695 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.261, allocations: 0 / 1.068 GB, free: 9.695 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.367e-05/0.261, allocations: 7.984 kB / 1.068 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.261, allocations: 3.984 kB / 1.068 GB, free: 9.684 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.014e-06/0.261, allocations: 0 / 1.068 GB, free: 9.684 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.261, allocations: 0 / 1.068 GB, free: 9.684 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.261, allocations: 0 / 1.068 GB, free: 9.684 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001681/0.2612, allocations: 159.4 kB / 1.068 GB, free: 9.512 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.775e-05/0.2613, allocations: 89.02 kB / 1.068 GB, free: 9.406 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.815e-05/0.2613, allocations: 0 / 1.068 GB, free: 9.406 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.2614, allocations: 11.98 kB / 1.068 GB, free: 9.395 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.187e-05/0.2614, allocations: 11.98 kB / 1.068 GB, free: 9.383 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.539e-06/0.2615, allocations: 0 / 1.068 GB, free: 9.383 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.529e-05/0.2615, allocations: 108.3 kB / 1.068 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2615, allocations: 0 / 1.068 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000227/0.2618, allocations: 11.94 kB / 1.068 GB, free: 9.266 MB / 0.8262 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 (gre.y,greHys.greHys.y) * Number of discrete states: 1 (greHys.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0004729/0.2622, allocations: 0.6973 MB / 1.069 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000144/0.2624, allocations: 35.97 kB / 1.069 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.2624, allocations: 0 / 1.069 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.959e-05/0.2625, allocations: 15.94 kB / 1.069 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002811/0.2628, allocations: 21.64 kB / 1.069 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001338/0.2641, allocations: 1.372 MB / 1.071 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002672/0.2644, allocations: 0.6963 MB / 1.071 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.944e-05/0.2644, allocations: 0 / 1.071 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.224e-05/0.2645, allocations: 31.36 kB / 1.071 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of SimCode: time 2.81e-07/0.2645, allocations: 0 / 1.071 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01708/0.2816, allocations: 1.967 MB / 1.073 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.013/7.295, allocations: 6.594 kB / 1.073 GB, free: 4.395 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches