Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00162/0.00162, allocations: 212.7 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.523/1.523, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.792/2.792, allocations: 476 MB / 0.7699 GB, free: 4.719 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Min,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Min,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002099/0.002099, allocations: 65.27 kB / 1.117 GB, free: 41.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3693/0.3714, allocations: 170 MB / 1.283 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.002251/0.3736, allocations: 0.6925 MB / 1.283 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001364/0.375, allocations: 0.8238 MB / 1.284 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.67e-05/0.3751, allocations: 0 / 1.284 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.534e-05/0.3751, allocations: 0 / 1.284 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.108e-05/0.3752, allocations: 11.88 kB / 1.284 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001358/0.3753, allocations: 15.98 kB / 1.284 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001288/0.3754, allocations: 47.84 kB / 1.284 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.3756, allocations: 13.67 kB / 1.284 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.914e-05/0.3757, allocations: 11.98 kB / 1.284 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.546e-05/0.3757, allocations: 19.86 kB / 1.284 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.474e-05/0.3758, allocations: 4 kB / 1.284 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.59e-05/0.3758, allocations: 4 kB / 1.284 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.497e-05/0.3758, allocations: 11.98 kB / 1.284 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.419e-05/0.3758, allocations: 7.938 kB / 1.284 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000144/0.376, allocations: 55.31 kB / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.376, allocations: 4 kB / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.665e-06/0.376, allocations: 0 / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.225e-06/0.376, allocations: 0 / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007248/0.3767, allocations: 284.3 kB / 1.285 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 7.939e-05/0.3768, allocations: 11.97 kB / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.341e-05/0.3768, allocations: 30.75 kB / 1.285 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.937e-05/0.3769, allocations: 8.891 kB / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001663/0.3771, allocations: 118.4 kB / 1.285 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/0.3771, allocations: 384 / 1.285 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.291e-05/0.3771, allocations: 12.36 kB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003048/0.3774, allocations: 70.2 kB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.3774, allocations: 3.938 kB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.3774, allocations: 0 / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.3774, allocations: 0 / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003004/0.3777, allocations: 63.88 kB / 1.285 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004864/0.3782, allocations: 240 kB / 1.285 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000222/0.3784, allocations: 54.53 kB / 1.285 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001613/0.3786, allocations: 36.92 kB / 1.285 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.704e-05/0.3786, allocations: 0 / 1.285 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.916e-05/0.3787, allocations: 34.5 kB / 1.285 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.422e-06/0.3787, allocations: 0 / 1.285 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005788/0.3792, allocations: 141.5 kB / 1.285 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/0.3793, allocations: 51.41 kB / 1.285 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.3794, allocations: 113.8 kB / 1.286 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.3794, allocations: 25.7 kB / 1.286 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.968e-05/0.3795, allocations: 84.14 kB / 1.286 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.137e-05/0.3795, allocations: 7.953 kB / 1.286 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-05/0.3795, allocations: 17.7 kB / 1.286 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.3797, allocations: 318.8 kB / 1.286 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/0.3798, allocations: 31.97 kB / 1.286 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.38, allocations: 31.95 kB / 1.286 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002785/0.3802, allocations: 76.66 kB / 1.286 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.3802, allocations: 4 kB / 1.286 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003235/0.3806, allocations: 97.58 kB / 1.286 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.3806, allocations: 6.344 kB / 1.286 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.3806, allocations: 0 / 1.286 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.3806, allocations: 0 / 1.286 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.3807, allocations: 15.98 kB / 1.286 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.3807, allocations: 4 kB / 1.286 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.994e-05/0.3808, allocations: 15.97 kB / 1.286 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/0.3808, allocations: 3.938 kB / 1.286 GB, free: 8.469 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0001007/0.3809, allocations: 121.7 kB / 1.286 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.423e-05/0.3809, allocations: 0 / 1.286 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000361/0.3813, allocations: 105.6 kB / 1.286 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.3813, allocations: 4.375 kB / 1.286 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.3813, allocations: 0 / 1.286 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.3813, allocations: 0 / 1.286 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000186/0.3815, allocations: 140.6 kB / 1.287 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3815, allocations: 4 kB / 1.287 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.835e-05/0.3816, allocations: 19.95 kB / 1.287 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.3816, allocations: 0 / 1.287 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.3816, allocations: 0 / 1.287 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.3816, allocations: 4 kB / 1.287 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3816, allocations: 0 / 1.287 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004148/0.382, allocations: 199.4 kB / 1.287 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.627e-05/0.3821, allocations: 11.94 kB / 1.287 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.3821, allocations: 0 / 1.287 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.3822, allocations: 11.98 kB / 1.287 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.032e-05/0.3822, allocations: 4 kB / 1.287 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.3822, allocations: 7.984 kB / 1.287 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.068e-05/0.3823, allocations: 83.28 kB / 1.287 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3823, allocations: 4 kB / 1.287 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002189/0.3825, allocations: 8 kB / 1.287 GB, free: 7.676 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * 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.0008024/0.3833, allocations: 0.7318 MB / 1.288 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000351/0.3837, allocations: 67.92 kB / 1.288 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3837, allocations: 0 / 1.288 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001535/0.3838, allocations: 35.95 kB / 1.288 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003483/0.3842, allocations: 4 kB / 1.288 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005458/0.3847, allocations: 163.2 kB / 1.288 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.964e-05/0.3848, allocations: 67.34 kB / 1.288 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.043e-05/0.3848, allocations: 0 / 1.288 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.174e-05/0.3849, allocations: 15.44 kB / 1.288 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of SimCode: time 7.02e-07/0.3849, allocations: 0 / 1.288 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0317/0.4166, allocations: 2.182 MB / 1.29 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/11.95, allocations: 15.5 kB / 1.29 GB, free: 4.453 MB / 0.9825 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Reals.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_11_Buildings_Controls_OBC_CDL_Reals_Validation_Min.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable min1.u1 in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.csv. Warning: Get data of variable min1.u1 from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.csv failed! Error: Could not read variable min1.u2 in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.csv. Warning: Get data of variable min1.u2 from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.770993020385504]