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.008705/0.008705, allocations: 98.42 kB / 15.73 MB, free: 6.031 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.002089/0.002089, allocations: 193.8 kB / 16.67 MB, free: 5.953 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.3/1.3, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.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.444/2.444, allocations: 437 MB / 0.7105 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 64.12 kB / 1.018 GB, free: 9.867 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7969/0.7982, allocations: 151.6 MB / 1.166 GB, free: 3.785 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.001773/0.8, allocations: 0.7832 MB / 1.167 GB, free: 3.004 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0008939/0.8009, allocations: 0.8686 MB / 1.168 GB, free: 2.125 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.075e-05/0.801, allocations: 0 / 1.168 GB, free: 2.125 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.79e-05/0.801, allocations: 11.86 kB / 1.168 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.63e-05/0.8011, allocations: 11.88 kB / 1.168 GB, free: 2.102 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001605/0.8013, allocations: 43.88 kB / 1.168 GB, free: 2.059 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001065/0.8014, allocations: 79.89 kB / 1.168 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.8015, allocations: 27.97 kB / 1.168 GB, free: 1.953 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.022e-05/0.8016, allocations: 47.78 kB / 1.168 GB, free: 1.906 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 8.293e-05/0.8017, allocations: 47.81 kB / 1.168 GB, free: 1.859 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.502e-05/0.8017, allocations: 11.94 kB / 1.168 GB, free: 1.848 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.459e-05/0.8017, allocations: 8 kB / 1.168 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3e-05/0.8018, allocations: 23.92 kB / 1.168 GB, free: 1.816 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.225e-05/0.8018, allocations: 31.86 kB / 1.168 GB, free: 1.785 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001252/0.8019, allocations: 86.33 kB / 1.168 GB, free: 1.703 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.8019, allocations: 0 / 1.168 GB, free: 1.703 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.523e-06/0.802, allocations: 4 kB / 1.168 GB, free: 1.699 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5e-06/0.802, allocations: 0 / 1.168 GB, free: 1.699 MB / 0.8887 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.0005901/0.8026, allocations: 396.1 kB / 1.169 GB, free: 1.266 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.8026, allocations: 8.922 kB / 1.169 GB, free: 1.258 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.158e-05/0.8026, allocations: 34.75 kB / 1.169 GB, free: 1.215 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.875e-05/0.8027, allocations: 16.83 kB / 1.169 GB, free: 1.199 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/0.8028, allocations: 184.2 kB / 1.169 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.8028, allocations: 384 / 1.169 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.99e-05/0.8029, allocations: 12.12 kB / 1.169 GB, free: 0.9688 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000294/0.8032, allocations: 103.4 kB / 1.169 GB, free: 0.8633 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.8032, allocations: 0 / 1.169 GB, free: 0.8633 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.8032, allocations: 0 / 1.169 GB, free: 0.8633 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.8032, allocations: 4 kB / 1.169 GB, free: 0.8594 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003718/0.8036, allocations: 107.8 kB / 1.169 GB, free: 0.7539 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004832/0.8041, allocations: 332.7 kB / 1.169 GB, free: 388 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006035/0.8047, allocations: 130.5 kB / 1.169 GB, free: 248 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001911/0.8049, allocations: 56.81 kB / 1.17 GB, free: 188 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.8049, allocations: 3.984 kB / 1.17 GB, free: 184 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/0.8049, allocations: 30.56 kB / 1.17 GB, free: 144 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.805, allocations: 0 / 1.17 GB, free: 144 kB / 0.8887 GB Notification: Performance of matching and sorting (n=7): time 0.0006704/0.8056, allocations: 185.5 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.78e-05/0.8057, allocations: 51.41 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.124e-05/0.8058, allocations: 129.7 kB / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.8058, allocations: 25.7 kB / 1.17 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.541e-05/0.8058, allocations: 96.09 kB / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.995e-05/0.8059, allocations: 27.78 kB / 1.17 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.684e-05/0.8059, allocations: 25.7 kB / 1.17 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.806, allocations: 314.8 kB / 1.17 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000189/0.8062, allocations: 43.95 kB / 1.17 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001727/0.8064, allocations: 47.95 kB / 1.17 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003585/0.8068, allocations: 100.8 kB / 1.171 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.8068, allocations: 0 / 1.171 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004118/0.8072, allocations: 133.6 kB / 1.171 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.8072, allocations: 4 kB / 1.171 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.8072, allocations: 7.984 kB / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.8073, allocations: 4 kB / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000171/0.8074, allocations: 31.84 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.8075, allocations: 4.484 kB / 1.171 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001155/0.8076, allocations: 15.98 kB / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.8076, allocations: 0 / 1.171 GB, free: 14.86 MB / 0.9044 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 8.597e-05/0.8077, allocations: 113.8 kB / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.229e-05/0.8077, allocations: 11.95 kB / 1.171 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004786/0.8082, allocations: 153.9 kB / 1.171 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.311e-06/0.8082, allocations: 3.984 kB / 1.171 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.8082, allocations: 11.88 kB / 1.171 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.8082, allocations: 0 / 1.171 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002131/0.8085, allocations: 197.6 kB / 1.171 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.8085, allocations: 8 kB / 1.171 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001608/0.8086, allocations: 23.97 kB / 1.171 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.8087, allocations: 4 kB / 1.171 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.8087, allocations: 0 / 1.171 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.8087, allocations: 0 / 1.171 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.8087, allocations: 3.938 kB / 1.171 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004683/0.8092, allocations: 235.4 kB / 1.171 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.908e-05/0.8092, allocations: 85.06 kB / 1.172 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.149e-05/0.8092, allocations: 3.984 kB / 1.172 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.8094, allocations: 15.98 kB / 1.172 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.42e-05/0.8095, allocations: 19.86 kB / 1.172 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.8095, allocations: 11.98 kB / 1.172 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.863e-05/0.8096, allocations: 95.64 kB / 1.172 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8096, allocations: 4 kB / 1.172 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002373/0.8098, allocations: 15.94 kB / 1.172 GB, free: 13.76 MB / 0.9044 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.0008031/0.8106, allocations: 0.771 MB / 1.172 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004304/0.8111, allocations: 103.8 kB / 1.173 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.8111, allocations: 0 / 1.173 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002116/0.8113, allocations: 63.94 kB / 1.173 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003178/0.8116, allocations: 11.94 kB / 1.173 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002048/0.8137, allocations: 1.541 MB / 1.174 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000241/0.8139, allocations: 0.6963 MB / 1.175 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 7.571e-05/0.814, allocations: 12.17 kB / 1.175 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.403e-05/0.8141, allocations: 31.36 kB / 1.175 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of SimCode: time 2.4e-07/0.8141, allocations: 0 / 1.175 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0186/0.8327, allocations: 2.693 MB / 1.178 GB, free: 7.801 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.038/8.871, allocations: 15.94 kB / 1.178 GB, free: 7.785 MB / 0.9044 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