Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Integers.Validation.Min,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Min,fileNamePrefix="Buildings_latest_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.005573/0.005573, allocations: 98.36 kB / 15.73 MB, free: 5.602 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.001572/0.001572, allocations: 194.8 kB / 16.68 MB, free: 5.523 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.433/1.433, allocations: 222.9 MB / 240.4 MB, free: 14.97 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.857/2.857, allocations: 482.4 MB / 0.7548 GB, free: 6.879 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 61.48 kB / 1.083 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3252/0.3272, allocations: 162.2 MB / 1.241 GB, free: 9.293 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.00209/0.3293, allocations: 0.7679 MB / 1.242 GB, free: 8.523 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001105/0.3304, allocations: 0.8623 MB / 1.243 GB, free: 7.648 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.258e-05/0.3305, allocations: 4 kB / 1.243 GB, free: 7.645 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.789e-05/0.3305, allocations: 11.86 kB / 1.243 GB, free: 7.633 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.652e-05/0.3306, allocations: 11.88 kB / 1.243 GB, free: 7.621 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001811/0.3308, allocations: 39.95 kB / 1.243 GB, free: 7.582 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001315/0.3309, allocations: 87.75 kB / 1.243 GB, free: 7.496 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.3311, allocations: 29.39 kB / 1.243 GB, free: 7.469 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.456e-05/0.3312, allocations: 35.91 kB / 1.243 GB, free: 7.434 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000102/0.3313, allocations: 55.75 kB / 1.243 GB, free: 7.379 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.296e-05/0.3313, allocations: 4 kB / 1.243 GB, free: 7.375 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.728e-05/0.3313, allocations: 8 kB / 1.243 GB, free: 7.367 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.809e-05/0.3314, allocations: 15.98 kB / 1.243 GB, free: 7.352 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.117e-05/0.3314, allocations: 43.72 kB / 1.243 GB, free: 7.309 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001568/0.3316, allocations: 91.88 kB / 1.243 GB, free: 7.219 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.3316, allocations: 0 / 1.243 GB, free: 7.219 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.432e-06/0.3316, allocations: 3.938 kB / 1.243 GB, free: 7.215 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.466e-06/0.3316, allocations: 0 / 1.243 GB, free: 7.215 MB / 0.9669 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.0006726/0.3323, allocations: 396.8 kB / 1.244 GB, free: 6.781 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.3324, allocations: 8.031 kB / 1.244 GB, free: 6.773 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.23e-05/0.3324, allocations: 38.75 kB / 1.244 GB, free: 6.727 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.299e-05/0.3325, allocations: 8.891 kB / 1.244 GB, free: 6.719 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001614/0.3326, allocations: 176.3 kB / 1.244 GB, free: 6.508 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.061e-05/0.3326, allocations: 12.38 kB / 1.244 GB, free: 6.496 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.078e-05/0.3327, allocations: 8.125 kB / 1.244 GB, free: 6.488 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003349/0.333, allocations: 105.6 kB / 1.244 GB, free: 6.379 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.333, allocations: 3.938 kB / 1.244 GB, free: 6.375 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.3331, allocations: 4 kB / 1.244 GB, free: 6.371 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.3331, allocations: 0 / 1.244 GB, free: 6.371 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003961/0.3335, allocations: 91.91 kB / 1.244 GB, free: 6.281 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005808/0.334, allocations: 352.6 kB / 1.245 GB, free: 5.887 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006592/0.3347, allocations: 118.5 kB / 1.245 GB, free: 5.762 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002101/0.3349, allocations: 60.88 kB / 1.245 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.609e-05/0.335, allocations: 3.984 kB / 1.245 GB, free: 5.695 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.335, allocations: 34.56 kB / 1.245 GB, free: 5.652 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.335, allocations: 0 / 1.245 GB, free: 5.652 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0007338/0.3358, allocations: 189.4 kB / 1.245 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/0.3358, allocations: 55.41 kB / 1.245 GB, free: 5.395 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/0.3359, allocations: 133.7 kB / 1.245 GB, free: 5.254 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.336, allocations: 29.64 kB / 1.245 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.011e-05/0.336, allocations: 89.58 kB / 1.245 GB, free: 5.129 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.987e-05/0.3361, allocations: 27.78 kB / 1.245 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.264e-05/0.3361, allocations: 21.72 kB / 1.245 GB, free: 5.074 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.3363, allocations: 318.8 kB / 1.246 GB, free: 4.754 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001976/0.3365, allocations: 47.95 kB / 1.246 GB, free: 4.707 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001877/0.3367, allocations: 43.95 kB / 1.246 GB, free: 4.664 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004036/0.3371, allocations: 100.8 kB / 1.246 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3371, allocations: 4 kB / 1.246 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004436/0.3375, allocations: 130 kB / 1.246 GB, free: 4.426 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.3376, allocations: 8 kB / 1.246 GB, free: 4.418 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.3376, allocations: 0 / 1.246 GB, free: 4.418 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.3376, allocations: 3.984 kB / 1.246 GB, free: 4.414 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001763/0.3378, allocations: 27.97 kB / 1.246 GB, free: 4.387 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.3378, allocations: 8 kB / 1.246 GB, free: 4.379 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001177/0.3379, allocations: 15.98 kB / 1.246 GB, free: 4.363 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.3379, allocations: 7.938 kB / 1.246 GB, free: 4.355 MB / 0.9669 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.506e-05/0.338, allocations: 114.4 kB / 1.246 GB, free: 4.234 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.075e-05/0.3381, allocations: 3.953 kB / 1.246 GB, free: 4.23 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005141/0.3386, allocations: 161.9 kB / 1.246 GB, free: 4.062 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.3386, allocations: 0 / 1.246 GB, free: 4.062 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.605e-06/0.3386, allocations: 3.938 kB / 1.246 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3386, allocations: 0 / 1.246 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002337/0.3389, allocations: 197.6 kB / 1.247 GB, free: 3.816 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3389, allocations: 0 / 1.247 GB, free: 3.816 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001653/0.339, allocations: 27.97 kB / 1.247 GB, free: 3.789 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.3391, allocations: 0 / 1.247 GB, free: 3.789 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.3391, allocations: 0 / 1.247 GB, free: 3.789 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.3391, allocations: 4 kB / 1.247 GB, free: 3.785 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.065e-06/0.3391, allocations: 11.94 kB / 1.247 GB, free: 3.773 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005045/0.3396, allocations: 235.3 kB / 1.247 GB, free: 3.527 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.903e-05/0.3397, allocations: 85 kB / 1.247 GB, free: 3.426 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.342e-05/0.3397, allocations: 11.92 kB / 1.247 GB, free: 3.414 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001483/0.3399, allocations: 15.98 kB / 1.247 GB, free: 3.398 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.803e-05/0.3399, allocations: 23.92 kB / 1.247 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.34, allocations: 3.984 kB / 1.247 GB, free: 3.371 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.333e-05/0.34, allocations: 95.27 kB / 1.247 GB, free: 3.277 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.34, allocations: 0 / 1.247 GB, free: 3.277 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002735/0.3403, allocations: 16 kB / 1.247 GB, free: 3.262 MB / 0.9669 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.000865/0.3412, allocations: 0.767 MB / 1.248 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004499/0.3416, allocations: 107.9 kB / 1.248 GB, free: 2.363 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3417, allocations: 0 / 1.248 GB, free: 2.363 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000229/0.3419, allocations: 67.88 kB / 1.248 GB, free: 2.297 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003349/0.3422, allocations: 11.94 kB / 1.248 GB, free: 2.285 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00228/0.3445, allocations: 1.533 MB / 1.249 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000367/0.3449, allocations: 0.6885 MB / 1.25 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.876e-05/0.345, allocations: 12 kB / 1.25 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.42e-05/0.3451, allocations: 35.41 kB / 1.25 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of SimCode: time 3.71e-07/0.3451, allocations: 0 / 1.25 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02401/0.3691, allocations: 2.701 MB / 1.253 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.851/8.22, allocations: 10.58 kB / 1.253 GB, free: 13.3 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Min.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches