Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="Buildings_9_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.004158/0.004158, allocations: 96.7 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.00102/0.00102, allocations: 194.3 kB / 16.67 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.239/1.239, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.195/2.195, allocations: 390.3 MB / 0.6648 GB, free: 204 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 64.12 kB / 0.9504 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2335/0.2348, allocations: 140.4 MB / 1.087 GB, free: 2.008 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002821/0.2376, allocations: 1.637 MB / 1.089 GB, free: 368 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001602/0.2393, allocations: 1.164 MB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.502e-05/0.2394, allocations: 4 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002132/0.2396, allocations: 19.84 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002943/0.2399, allocations: 75.62 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003916/0.2403, allocations: 134.9 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002704/0.2406, allocations: 233.6 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.2407, allocations: 28.48 kB / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/0.2408, allocations: 75.83 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002132/0.241, allocations: 91.77 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.62e-05/0.2411, allocations: 16 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001493/0.2412, allocations: 79.91 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.234e-05/0.2413, allocations: 87.73 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001018/0.2414, allocations: 99.39 kB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003425/0.2418, allocations: 282.8 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.2418, allocations: 0 / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2418, allocations: 4 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.224e-06/0.2418, allocations: 0 / 1.091 GB, free: 13.98 MB / 0.8575 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.0007286/0.2426, allocations: 0.5474 MB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.2426, allocations: 8.031 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.233e-05/0.2427, allocations: 50.73 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.363e-05/0.2427, allocations: 28.75 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002683/0.243, allocations: 263.9 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.243, allocations: 12.38 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.825e-05/0.2431, allocations: 12.38 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003372/0.2434, allocations: 224.6 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.2434, allocations: 0 / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.309e-05/0.2435, allocations: 8 kB / 1.093 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-06/0.2435, allocations: 4 kB / 1.093 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007933/0.2443, allocations: 0.741 MB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007528/0.245, allocations: 0.5708 MB / 1.094 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004612/0.2455, allocations: 308.7 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001434/0.2457, allocations: 101.4 kB / 1.094 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.34e-05/0.2457, allocations: 16.25 kB / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003217/0.246, allocations: 180.8 kB / 1.094 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=34): time 1.553e-06/0.246, allocations: 4 kB / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of matching and sorting (n=34): time 0.0006347/0.2467, allocations: 369.3 kB / 1.095 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.207e-05/0.2468, allocations: 132.5 kB / 1.095 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002587/0.247, allocations: 304 kB / 1.095 GB, free: 9.898 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.609e-05/0.2471, allocations: 33.7 kB / 1.095 GB, free: 9.859 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.17e-05/0.2471, allocations: 120.7 kB / 1.095 GB, free: 9.738 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.701e-05/0.2472, allocations: 123 kB / 1.095 GB, free: 9.617 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.422e-05/0.2473, allocations: 65.69 kB / 1.095 GB, free: 9.547 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.2474, allocations: 342.8 kB / 1.096 GB, free: 9.203 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/0.2476, allocations: 83.89 kB / 1.096 GB, free: 9.121 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001748/0.2477, allocations: 127.4 kB / 1.096 GB, free: 8.984 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003088/0.2481, allocations: 210.4 kB / 1.096 GB, free: 8.777 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2481, allocations: 0 / 1.096 GB, free: 8.777 MB / 0.8575 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004091/0.2485, allocations: 277.2 kB / 1.096 GB, free: 8.5 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.2485, allocations: 9.719 kB / 1.096 GB, free: 8.492 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.2485, allocations: 0 / 1.096 GB, free: 8.492 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.2485, allocations: 4 kB / 1.096 GB, free: 8.488 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002218/0.2488, allocations: 67.91 kB / 1.097 GB, free: 8.422 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.2488, allocations: 3.984 kB / 1.097 GB, free: 8.418 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001499/0.2489, allocations: 31.77 kB / 1.097 GB, free: 8.387 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.565e-05/0.249, allocations: 16 kB / 1.097 GB, free: 8.371 MB / 0.8575 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.0001422/0.2491, allocations: 157.7 kB / 1.097 GB, free: 8.207 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.946e-05/0.2492, allocations: 23.86 kB / 1.097 GB, free: 8.184 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006315/0.2498, allocations: 384.4 kB / 1.097 GB, free: 7.801 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.2498, allocations: 4 kB / 1.097 GB, free: 7.797 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.2498, allocations: 4 kB / 1.097 GB, free: 7.793 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.2498, allocations: 7.938 kB / 1.097 GB, free: 7.785 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002743/0.2501, allocations: 325.3 kB / 1.097 GB, free: 7.418 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2501, allocations: 0 / 1.097 GB, free: 7.418 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001764/0.2503, allocations: 59.91 kB / 1.098 GB, free: 7.359 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.2503, allocations: 0 / 1.098 GB, free: 7.359 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.817e-05/0.2504, allocations: 8 kB / 1.098 GB, free: 7.352 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.2504, allocations: 0 / 1.098 GB, free: 7.352 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.2504, allocations: 0 / 1.098 GB, free: 7.352 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004427/0.2508, allocations: 335.2 kB / 1.098 GB, free: 7.008 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001258/0.2509, allocations: 140.9 kB / 1.098 GB, free: 6.852 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.23e-05/0.251, allocations: 11.98 kB / 1.098 GB, free: 6.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/0.2511, allocations: 11.98 kB / 1.098 GB, free: 6.828 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.538e-05/0.2512, allocations: 31.91 kB / 1.098 GB, free: 6.797 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.44e-05/0.2512, allocations: 15.92 kB / 1.098 GB, free: 6.781 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001811/0.2514, allocations: 237.5 kB / 1.098 GB, free: 6.551 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2514, allocations: 0 / 1.098 GB, free: 6.551 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000282/0.2517, allocations: 59.92 kB / 1.098 GB, free: 6.492 MB / 0.8575 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.001445/0.2532, allocations: 1.151 MB / 1.099 GB, free: 5.457 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003746/0.2536, allocations: 231.8 kB / 1.1 GB, free: 5.23 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2536, allocations: 0 / 1.1 GB, free: 5.23 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001834/0.2538, allocations: 128.4 kB / 1.1 GB, free: 5.105 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000255/0.254, allocations: 45.11 kB / 1.1 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002598/0.2566, allocations: 2.45 MB / 1.102 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002853/0.2569, allocations: 0.754 MB / 1.103 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002978/0.2572, allocations: 150.9 kB / 1.103 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000136/0.2574, allocations: 99.33 kB / 1.103 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of SimCode: time 2.51e-07/0.2574, allocations: 0 / 1.103 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02287/0.2803, allocations: 5.469 MB / 1.109 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.316/7.597, allocations: 7.859 kB / 1.109 GB, free: 12.08 MB / 0.8731 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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