Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Min,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Min,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Min",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.001285/0.001285, allocations: 108 kB / 15.61 MB, free: 152 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.001424/0.001424, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.284/1.284, 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 10.1.1-maint.10.0.x/package.mo): time 2.419/2.419, allocations: 437 MB / 0.7104 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 71.89 kB / 0.8694 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6079/0.6094, allocations: 151.6 MB / 1.017 GB, free: 2.484 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002091/0.6115, allocations: 0.7711 MB / 1.018 GB, free: 1.711 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001012/0.6126, allocations: 0.8702 MB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.639e-05/0.6126, allocations: 3.938 kB / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.108e-05/0.6127, allocations: 11.86 kB / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001028/0.6128, allocations: 11.86 kB / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000194/0.613, allocations: 35.95 kB / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001154/0.6132, allocations: 79.83 kB / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.6133, allocations: 31.97 kB / 1.019 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.026e-05/0.6134, allocations: 43.84 kB / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.19e-05/0.6135, allocations: 47.81 kB / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.013e-05/0.6135, allocations: 8 kB / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.838e-05/0.6135, allocations: 8 kB / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.046e-05/0.6136, allocations: 23.92 kB / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.608e-05/0.6136, allocations: 39.77 kB / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001178/0.6137, allocations: 75.73 kB / 1.019 GB, free: 424 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.768e-06/0.6138, allocations: 4 kB / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.533e-06/0.6138, allocations: 0 / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.6138, allocations: 0 / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006374/0.6144, allocations: 397.6 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.6145, allocations: 12.03 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.995e-05/0.6145, allocations: 42.67 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.757e-05/0.6146, allocations: 8.844 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.6147, allocations: 172.2 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.6147, allocations: 8.375 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.856e-05/0.6148, allocations: 8.375 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003204/0.6151, allocations: 109.5 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.6151, allocations: 0 / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.6151, allocations: 0 / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.6151, allocations: 0 / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003752/0.6155, allocations: 107.8 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005388/0.6161, allocations: 344.6 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006371/0.6167, allocations: 126.5 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001879/0.6169, allocations: 52.81 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.6169, allocations: 4 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.617, allocations: 30.56 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 3.416e-06/0.617, allocations: 4 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0006506/0.6176, allocations: 181.5 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/0.6177, allocations: 55.34 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.6178, allocations: 125.7 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.6178, allocations: 29.64 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.171e-05/0.6178, allocations: 100.1 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.871e-05/0.6179, allocations: 23.64 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.796e-05/0.6179, allocations: 25.7 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.618, allocations: 318.8 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001834/0.6182, allocations: 43.95 kB / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001724/0.6184, allocations: 51.95 kB / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003497/0.6188, allocations: 93.23 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.6188, allocations: 0 / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004154/0.6192, allocations: 137.5 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.6192, allocations: 8 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.6192, allocations: 3.938 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.6193, allocations: 4 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001687/0.6194, allocations: 23.97 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.6195, allocations: 0 / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001184/0.6196, allocations: 19.92 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.6196, allocations: 3.984 kB / 1.022 GB, free: 13.55 MB / 0.7794 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 (reaToInt1.y,reaToInt.y,min1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.533e-05/0.6197, allocations: 119.4 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.286e-05/0.6197, allocations: 7.906 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000481/0.6202, allocations: 149.9 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.6202, allocations: 0 / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.6202, allocations: 4 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.6203, allocations: 11.92 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002855/0.6205, allocations: 197.6 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.6206, allocations: 0 / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001774/0.6207, allocations: 23.97 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.6208, allocations: 0 / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.6208, allocations: 7.984 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.6208, allocations: 3.938 kB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.6208, allocations: 0 / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004553/0.6212, allocations: 243.3 kB / 1.023 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.874e-05/0.6213, allocations: 85.02 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.947e-05/0.6213, allocations: 7.875 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.6215, allocations: 15.98 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.646e-05/0.6216, allocations: 19.91 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.6216, allocations: 8 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.28e-05/0.6216, allocations: 95.27 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6217, allocations: 0 / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002293/0.6219, allocations: 15.94 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (min1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0007919/0.6227, allocations: 0.767 MB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004289/0.6231, allocations: 107.8 kB / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.6232, allocations: 0 / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002076/0.6234, allocations: 63.94 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003337/0.6237, allocations: 19.88 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002213/0.6259, allocations: 1.522 MB / 1.025 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002877/0.6262, allocations: 0.6942 MB / 1.026 GB, free: 9.152 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.521e-05/0.6263, allocations: 12 kB / 1.026 GB, free: 9.141 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.304e-05/0.6264, allocations: 31.41 kB / 1.026 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of SimCode: time 2.9e-07/0.6264, allocations: 0 / 1.026 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01936/0.6458, allocations: 2.657 MB / 1.029 GB, free: 6.527 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.103/7.749, allocations: 15.98 kB / 1.029 GB, free: 6.516 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Min.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches