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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.005343/0.005343, allocations: 97.11 kB / 15.73 MB, free: 6.047 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.001212/0.001212, allocations: 194.5 kB / 16.68 MB, free: 5.973 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.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.694/2.694, allocations: 469.4 MB / 0.7422 GB, free: 7.609 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 64.14 kB / 1.064 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/0.2586, allocations: 159.1 MB / 1.22 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002681/0.2614, allocations: 1.62 MB / 1.221 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001543/0.2629, allocations: 1.179 MB / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.436e-05/0.263, allocations: 0 / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001919/0.2632, allocations: 27.78 kB / 1.223 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002788/0.2635, allocations: 63.69 kB / 1.223 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003612/0.2639, allocations: 138.5 kB / 1.223 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002519/0.2641, allocations: 233.6 kB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.45e-05/0.2642, allocations: 28.2 kB / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.2643, allocations: 79.83 kB / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001946/0.2645, allocations: 91.7 kB / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.338e-05/0.2646, allocations: 16 kB / 1.223 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001352/0.2647, allocations: 75.97 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.217e-05/0.2648, allocations: 87.73 kB / 1.223 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.954e-05/0.2649, allocations: 103.4 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003181/0.2653, allocations: 278.8 kB / 1.224 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.2653, allocations: 4 kB / 1.224 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2653, allocations: 3.938 kB / 1.224 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.2653, allocations: 0 / 1.224 GB, free: 10.65 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.000701/0.266, allocations: 0.5419 MB / 1.224 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.266, allocations: 8.031 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.315e-05/0.2661, allocations: 54.73 kB / 1.224 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.287e-05/0.2662, allocations: 28.8 kB / 1.224 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002665/0.2665, allocations: 267.8 kB / 1.225 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.904e-05/0.2665, allocations: 16.31 kB / 1.225 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.634e-05/0.2665, allocations: 20.38 kB / 1.225 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003346/0.2669, allocations: 214.2 kB / 1.225 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.2669, allocations: 0 / 1.225 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.272e-05/0.2669, allocations: 8 kB / 1.225 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.2669, allocations: 4 kB / 1.225 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008171/0.2677, allocations: 0.7373 MB / 1.226 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007598/0.2685, allocations: 0.5709 MB / 1.226 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004666/0.269, allocations: 304.1 kB / 1.226 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001526/0.2691, allocations: 105.3 kB / 1.226 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.25e-05/0.2692, allocations: 16.25 kB / 1.226 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003073/0.2695, allocations: 180.9 kB / 1.227 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=34): time 1.714e-06/0.2695, allocations: 0 / 1.227 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of matching and sorting (n=34): time 0.0006444/0.2702, allocations: 370.2 kB / 1.227 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.748e-05/0.2702, allocations: 132.5 kB / 1.227 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002702/0.2705, allocations: 307.9 kB / 1.227 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.593e-05/0.2705, allocations: 29.7 kB / 1.227 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.742e-05/0.2706, allocations: 128.7 kB / 1.228 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.056e-05/0.2707, allocations: 115 kB / 1.228 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.23e-05/0.2708, allocations: 65.69 kB / 1.228 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.2709, allocations: 342.8 kB / 1.228 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/0.2711, allocations: 75.95 kB / 1.228 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001866/0.2713, allocations: 132.4 kB / 1.228 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003285/0.2716, allocations: 213.2 kB / 1.228 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.2716, allocations: 0 / 1.228 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004339/0.272, allocations: 281.2 kB / 1.229 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.2721, allocations: 9.875 kB / 1.229 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.2721, allocations: 4 kB / 1.229 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.2721, allocations: 4.031 kB / 1.229 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002178/0.2723, allocations: 55.97 kB / 1.229 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.2723, allocations: 3.938 kB / 1.229 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001611/0.2725, allocations: 35.7 kB / 1.229 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.369e-05/0.2725, allocations: 16 kB / 1.229 GB, free: 5.035 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: 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.0001364/0.2727, allocations: 153.8 kB / 1.229 GB, free: 4.875 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.288e-05/0.2727, allocations: 31.8 kB / 1.229 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006431/0.2734, allocations: 380.7 kB / 1.229 GB, free: 4.469 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-06/0.2734, allocations: 4 kB / 1.229 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.2734, allocations: 4 kB / 1.229 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.2734, allocations: 11.94 kB / 1.229 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002844/0.2737, allocations: 329.3 kB / 1.23 GB, free: 4.078 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.2737, allocations: 0 / 1.23 GB, free: 4.078 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001813/0.2739, allocations: 63.91 kB / 1.23 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.2739, allocations: 0 / 1.23 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.877e-05/0.2739, allocations: 8 kB / 1.23 GB, free: 4.008 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.274, allocations: 0 / 1.23 GB, free: 4.008 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.274, allocations: 4 kB / 1.23 GB, free: 4.004 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004605/0.2744, allocations: 317.9 kB / 1.23 GB, free: 3.676 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/0.2746, allocations: 140.8 kB / 1.23 GB, free: 3.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.278e-05/0.2746, allocations: 11.94 kB / 1.23 GB, free: 3.508 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/0.2748, allocations: 15.98 kB / 1.23 GB, free: 3.492 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.355e-05/0.2748, allocations: 27.91 kB / 1.23 GB, free: 3.465 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.948e-05/0.2749, allocations: 15.98 kB / 1.23 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001839/0.275, allocations: 225.8 kB / 1.231 GB, free: 3.23 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2751, allocations: 0 / 1.231 GB, free: 3.23 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003039/0.2754, allocations: 71.88 kB / 1.231 GB, free: 3.16 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: 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.001467/0.2768, allocations: 1.144 MB / 1.232 GB, free: 2.133 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003928/0.2772, allocations: 235.8 kB / 1.232 GB, free: 1.902 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2773, allocations: 0 / 1.232 GB, free: 1.902 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001927/0.2775, allocations: 127.8 kB / 1.232 GB, free: 1.777 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002565/0.2777, allocations: 42.31 kB / 1.232 GB, free: 1.738 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002633/0.2804, allocations: 2.453 MB / 1.234 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002748/0.2806, allocations: 0.7574 MB / 1.235 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003103/0.281, allocations: 146.8 kB / 1.235 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001343/0.2811, allocations: 95.39 kB / 1.235 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of SimCode: time 2.6e-07/0.2811, allocations: 4 kB / 1.235 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02183/0.3029, allocations: 5.476 MB / 1.241 GB, free: 8.832 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.273/7.576, allocations: 13 kB / 1.241 GB, free: 8.82 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 50 --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