Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.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.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",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.004525/0.004525, allocations: 97.28 kB / 15.73 MB, free: 6.035 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.001589/0.001589, allocations: 194.6 kB / 16.67 MB, free: 5.965 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.406/1.406, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.875/2.875, allocations: 482.4 MB / 0.7548 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 67.89 kB / 1.083 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.2841, allocations: 162.2 MB / 1.241 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002996/0.2871, allocations: 1.629 MB / 1.243 GB, free: 8.598 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001774/0.2889, allocations: 1.164 MB / 1.244 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.636e-05/0.289, allocations: 0 / 1.244 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002096/0.2892, allocations: 23.84 kB / 1.244 GB, free: 7.402 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002693/0.2895, allocations: 67.62 kB / 1.244 GB, free: 7.336 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003886/0.2899, allocations: 142.9 kB / 1.244 GB, free: 7.199 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000305/0.2902, allocations: 237.6 kB / 1.245 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.227e-05/0.2903, allocations: 16.22 kB / 1.245 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/0.2904, allocations: 83.83 kB / 1.245 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002271/0.2907, allocations: 91.7 kB / 1.245 GB, free: 6.773 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.045e-05/0.2907, allocations: 16 kB / 1.245 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001539/0.2909, allocations: 83.89 kB / 1.245 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001062/0.291, allocations: 87.75 kB / 1.245 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001216/0.2911, allocations: 103.4 kB / 1.245 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003715/0.2915, allocations: 282.8 kB / 1.245 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.2915, allocations: 0 / 1.245 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2915, allocations: 0 / 1.245 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.179e-06/0.2915, allocations: 0 / 1.245 GB, free: 6.211 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0007914/0.2923, allocations: 0.538 MB / 1.246 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.2924, allocations: 8.031 kB / 1.246 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.608e-05/0.2924, allocations: 54.73 kB / 1.246 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.88e-05/0.2925, allocations: 24.8 kB / 1.246 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003024/0.2928, allocations: 267.8 kB / 1.246 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/0.2928, allocations: 12.38 kB / 1.246 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.05e-05/0.2929, allocations: 16.38 kB / 1.246 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003856/0.2933, allocations: 228.6 kB / 1.246 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.2933, allocations: 0 / 1.246 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.348e-05/0.2933, allocations: 4 kB / 1.246 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.667e-05/0.2933, allocations: 7.984 kB / 1.247 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009709/0.2943, allocations: 0.7412 MB / 1.247 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008351/0.2952, allocations: 0.563 MB / 1.248 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005356/0.2957, allocations: 307.6 kB / 1.248 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001694/0.2959, allocations: 101.4 kB / 1.248 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.015e-05/0.2959, allocations: 24.25 kB / 1.248 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003306/0.2963, allocations: 168.9 kB / 1.248 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=34): time 1.593e-06/0.2963, allocations: 0 / 1.248 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of matching and sorting (n=34): time 0.0007149/0.297, allocations: 377.2 kB / 1.249 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.753e-05/0.2971, allocations: 136.5 kB / 1.249 GB, free: 2.441 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003352/0.2975, allocations: 304 kB / 1.249 GB, free: 2.133 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.225e-05/0.2975, allocations: 33.7 kB / 1.249 GB, free: 2.094 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.2976, allocations: 128.7 kB / 1.249 GB, free: 1.961 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.556e-05/0.2977, allocations: 107.1 kB / 1.249 GB, free: 1.855 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.2978, allocations: 69.67 kB / 1.249 GB, free: 1.781 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001667/0.298, allocations: 342.8 kB / 1.25 GB, free: 1.438 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001507/0.2981, allocations: 75.95 kB / 1.25 GB, free: 1.363 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002158/0.2984, allocations: 131.2 kB / 1.25 GB, free: 1.223 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003616/0.2987, allocations: 218.4 kB / 1.25 GB, free: 1.008 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.2987, allocations: 0 / 1.25 GB, free: 1.008 MB / 0.9981 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004735/0.2992, allocations: 281.2 kB / 1.25 GB, free: 0.7266 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.2992, allocations: 9.031 kB / 1.25 GB, free: 0.7188 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.2993, allocations: 0 / 1.25 GB, free: 0.7188 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.2993, allocations: 0 / 1.25 GB, free: 0.7188 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002261/0.2995, allocations: 59.91 kB / 1.251 GB, free: 0.6602 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.2995, allocations: 7.984 kB / 1.251 GB, free: 0.6523 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001554/0.2997, allocations: 38.56 kB / 1.251 GB, free: 0.6172 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.726e-05/0.2997, allocations: 12 kB / 1.251 GB, free: 0.6055 MB / 0.9981 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 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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.00017/0.2999, allocations: 165.7 kB / 1.251 GB, free: 444 kB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.453e-05/0.3, allocations: 27.81 kB / 1.251 GB, free: 416 kB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007177/0.3007, allocations: 376.5 kB / 1.251 GB, free: 32 kB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.3007, allocations: 4 kB / 1.251 GB, free: 28 kB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.3007, allocations: 0 / 1.251 GB, free: 28 kB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/0.3007, allocations: 7.922 kB / 1.251 GB, free: 20 kB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5003/0.801, allocations: 319 kB / 1.251 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.801, allocations: 1.5 kB / 1.251 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002112/0.8012, allocations: 58.97 kB / 1.251 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.8013, allocations: 2.406 kB / 1.251 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.177e-05/0.8013, allocations: 9.766 kB / 1.252 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.8013, allocations: 1.75 kB / 1.252 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.8013, allocations: 0.6562 kB / 1.252 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004961/0.8018, allocations: 328.5 kB / 1.252 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.8019, allocations: 142 kB / 1.252 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.029e-05/0.802, allocations: 8.953 kB / 1.252 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001452/0.8021, allocations: 12.75 kB / 1.252 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.056e-05/0.8022, allocations: 28.94 kB / 1.252 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.003e-05/0.8022, allocations: 14.77 kB / 1.252 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001923/0.8024, allocations: 231.9 kB / 1.252 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8024, allocations: 0 / 1.252 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003037/0.8027, allocations: 62.7 kB / 1.252 GB, free: 15.16 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001895/0.8046, allocations: 1.152 MB / 1.253 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004031/0.8051, allocations: 233.8 kB / 1.254 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.8051, allocations: 0.7812 kB / 1.254 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002011/0.8053, allocations: 127.5 kB / 1.254 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002662/0.8055, allocations: 33.72 kB / 1.254 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002479/0.808, allocations: 2.451 MB / 1.256 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001684/0.8082, allocations: 0.7619 MB / 1.257 GB, free: 12.44 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003207/0.8085, allocations: 142 kB / 1.257 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001302/0.8087, allocations: 91.59 kB / 1.257 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of SimCode: time 2.91e-07/0.8087, allocations: 0.7188 kB / 1.257 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03947/0.8482, allocations: 5.482 MB / 1.263 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.991/8.839, allocations: 14.23 kB / 1.263 GB, free: 11.5 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.csv --start-time 0 --stop-time 432000 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 172.8 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[501]=432000.000000 File[6]=864.000000 " Variables in the reference:time,limCeiHei.u,limCeiHei.ceiHei Variables in the result:time,conTim.calTimAux,conTim.modTimAux,limCeiHei.ceiHei,limCeiHei.u,conTim.weaDatEndTim