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.007989/0.007989, allocations: 101.6 kB / 15.73 MB, free: 6.449 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.001859/0.001859, allocations: 196.7 kB / 16.68 MB, free: 6.352 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.348/1.348, allocations: 222.9 MB / 240.4 MB, free: 4.297 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.51/2.51, allocations: 437 MB / 0.7105 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001344, allocations: 63.91 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2724/0.2738, allocations: 151.6 MB / 1.166 GB, free: 7.277 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.001876/0.2757, allocations: 0.7743 MB / 1.167 GB, free: 6.5 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001004/0.2767, allocations: 0.8741 MB / 1.168 GB, free: 5.613 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.844e-05/0.2768, allocations: 0 / 1.168 GB, free: 5.613 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.727e-05/0.2769, allocations: 7.875 kB / 1.168 GB, free: 5.605 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.685e-05/0.277, allocations: 11.88 kB / 1.168 GB, free: 5.594 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001612/0.2771, allocations: 39.95 kB / 1.168 GB, free: 5.555 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.2772, allocations: 87.75 kB / 1.168 GB, free: 5.469 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.2774, allocations: 27.98 kB / 1.168 GB, free: 5.441 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.49e-05/0.2774, allocations: 35.91 kB / 1.168 GB, free: 5.406 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.238e-05/0.2775, allocations: 51.81 kB / 1.168 GB, free: 5.355 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.626e-05/0.2776, allocations: 8 kB / 1.168 GB, free: 5.348 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.516e-05/0.2776, allocations: 11.94 kB / 1.168 GB, free: 5.336 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.363e-05/0.2776, allocations: 11.98 kB / 1.168 GB, free: 5.324 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.427e-05/0.2777, allocations: 39.78 kB / 1.168 GB, free: 5.285 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001271/0.2778, allocations: 91.88 kB / 1.168 GB, free: 5.195 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.2778, allocations: 0 / 1.168 GB, free: 5.195 MB / 0.92 GB Notification: Performance of FrontEnd: time 9.548e-06/0.2778, allocations: 4 kB / 1.168 GB, free: 5.191 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.2778, allocations: 3.938 kB / 1.168 GB, free: 5.188 MB / 0.92 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.000598/0.2784, allocations: 399.1 kB / 1.169 GB, free: 4.75 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.2785, allocations: 8.031 kB / 1.169 GB, free: 4.742 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.503e-05/0.2785, allocations: 38.73 kB / 1.169 GB, free: 4.695 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.187e-05/0.2786, allocations: 8.891 kB / 1.169 GB, free: 4.688 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.2787, allocations: 176.3 kB / 1.169 GB, free: 4.477 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.2787, allocations: 4.375 kB / 1.169 GB, free: 4.473 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/0.2788, allocations: 16.12 kB / 1.169 GB, free: 4.457 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003002/0.2791, allocations: 101.6 kB / 1.169 GB, free: 4.352 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.2791, allocations: 0 / 1.169 GB, free: 4.352 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.2791, allocations: 3.938 kB / 1.169 GB, free: 4.348 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.2791, allocations: 0 / 1.169 GB, free: 4.348 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003911/0.2795, allocations: 103.9 kB / 1.169 GB, free: 4.246 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005036/0.28, allocations: 344.6 kB / 1.169 GB, free: 3.859 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006225/0.2806, allocations: 122.5 kB / 1.169 GB, free: 3.73 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001978/0.2809, allocations: 56.88 kB / 1.17 GB, free: 3.672 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.773e-05/0.2809, allocations: 0 / 1.17 GB, free: 3.672 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.2809, allocations: 38.56 kB / 1.17 GB, free: 3.625 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 8.72e-07/0.2809, allocations: 0 / 1.17 GB, free: 3.625 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0006795/0.2816, allocations: 189.4 kB / 1.17 GB, free: 3.434 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.19e-05/0.2816, allocations: 59.39 kB / 1.17 GB, free: 3.363 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.234e-05/0.2817, allocations: 121.8 kB / 1.17 GB, free: 3.234 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.2818, allocations: 25.7 kB / 1.17 GB, free: 3.203 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.652e-05/0.2818, allocations: 96.02 kB / 1.17 GB, free: 3.105 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.478e-05/0.2818, allocations: 23.8 kB / 1.17 GB, free: 3.082 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.563e-05/0.2819, allocations: 25.7 kB / 1.17 GB, free: 3.051 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.282, allocations: 318.8 kB / 1.17 GB, free: 2.73 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001943/0.2822, allocations: 47.94 kB / 1.17 GB, free: 2.684 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001767/0.2824, allocations: 43.95 kB / 1.17 GB, free: 2.641 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000363/0.2828, allocations: 100.8 kB / 1.171 GB, free: 2.539 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2828, allocations: 0 / 1.171 GB, free: 2.539 MB / 0.92 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004213/0.2832, allocations: 141.5 kB / 1.171 GB, free: 2.395 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.2832, allocations: 4 kB / 1.171 GB, free: 2.391 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.2832, allocations: 0 / 1.171 GB, free: 2.391 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.2832, allocations: 0 / 1.171 GB, free: 2.391 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001829/0.2834, allocations: 23.97 kB / 1.171 GB, free: 2.367 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.2834, allocations: 7.938 kB / 1.171 GB, free: 2.359 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001222/0.2836, allocations: 11.98 kB / 1.171 GB, free: 2.348 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.285e-05/0.2836, allocations: 7.984 kB / 1.171 GB, free: 2.34 MB / 0.92 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.103e-05/0.2837, allocations: 113.8 kB / 1.171 GB, free: 2.219 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.315e-05/0.2837, allocations: 3.953 kB / 1.171 GB, free: 2.215 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004815/0.2842, allocations: 161.9 kB / 1.171 GB, free: 2.051 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.2842, allocations: 0 / 1.171 GB, free: 2.051 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.2842, allocations: 7.875 kB / 1.171 GB, free: 2.043 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.2842, allocations: 0 / 1.171 GB, free: 2.043 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001983/0.2844, allocations: 197.6 kB / 1.171 GB, free: 1.801 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.2845, allocations: 4 kB / 1.171 GB, free: 1.797 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000165/0.2846, allocations: 23.97 kB / 1.171 GB, free: 1.773 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.2846, allocations: 0 / 1.171 GB, free: 1.773 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.2847, allocations: 7.984 kB / 1.171 GB, free: 1.766 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.2847, allocations: 0 / 1.171 GB, free: 1.766 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/0.2847, allocations: 7.938 kB / 1.171 GB, free: 1.758 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004668/0.2851, allocations: 240 kB / 1.171 GB, free: 1.508 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.51e-05/0.2852, allocations: 85 kB / 1.172 GB, free: 1.406 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/0.2852, allocations: 4 kB / 1.172 GB, free: 1.402 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/0.2854, allocations: 11.98 kB / 1.172 GB, free: 1.391 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.99e-05/0.2855, allocations: 27.91 kB / 1.172 GB, free: 1.363 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.2855, allocations: 0 / 1.172 GB, free: 1.363 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.509e-05/0.2855, allocations: 107.6 kB / 1.172 GB, free: 1.258 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2855, allocations: 0 / 1.172 GB, free: 1.258 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002391/0.2858, allocations: 12 kB / 1.172 GB, free: 1.246 MB / 0.92 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.0007466/0.2865, allocations: 0.771 MB / 1.172 GB, free: 460 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0004295/0.287, allocations: 115.9 kB / 1.173 GB, free: 344 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.287, allocations: 0 / 1.173 GB, free: 344 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.000209/0.2872, allocations: 55.95 kB / 1.173 GB, free: 288 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003082/0.2875, allocations: 19.86 kB / 1.173 GB, free: 268 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002048/0.2896, allocations: 1.532 MB / 1.174 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002328/0.2898, allocations: 0.6866 MB / 1.175 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.955e-05/0.2899, allocations: 15.98 kB / 1.175 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.005e-05/0.29, allocations: 31.42 kB / 1.175 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of SimCode: time 2.4e-07/0.29, allocations: 0 / 1.175 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01807/0.3081, allocations: 2.708 MB / 1.178 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.693/8.001, allocations: 9.828 kB / 1.178 GB, free: 11.27 MB / 0.9356 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