Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="Buildings_10_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.004753/0.004753, allocations: 97.62 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.001088/0.001088, allocations: 202.3 kB / 16.68 MB, free: 5.969 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.317/1.317, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.491/2.491, allocations: 437 MB / 0.7105 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 63.91 kB / 1.018 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2404/0.2416, allocations: 151.6 MB / 1.166 GB, free: 7.301 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.00292/0.2445, allocations: 1.651 MB / 1.168 GB, free: 5.633 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001568/0.2461, allocations: 1.164 MB / 1.169 GB, free: 4.461 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.521e-05/0.2462, allocations: 3.938 kB / 1.169 GB, free: 4.457 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002007/0.2464, allocations: 23.84 kB / 1.169 GB, free: 4.434 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.000275/0.2467, allocations: 67.64 kB / 1.169 GB, free: 4.367 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003685/0.2471, allocations: 143.2 kB / 1.169 GB, free: 4.23 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002557/0.2473, allocations: 237.5 kB / 1.169 GB, free: 4 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.919e-05/0.2474, allocations: 12.52 kB / 1.169 GB, free: 3.984 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.2476, allocations: 83.81 kB / 1.169 GB, free: 3.902 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001949/0.2478, allocations: 87.78 kB / 1.17 GB, free: 3.816 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.788e-05/0.2478, allocations: 20 kB / 1.17 GB, free: 3.797 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001402/0.248, allocations: 75.95 kB / 1.17 GB, free: 3.723 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.952e-05/0.2481, allocations: 83.75 kB / 1.17 GB, free: 3.641 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 9.68e-05/0.2482, allocations: 103.3 kB / 1.17 GB, free: 3.539 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003392/0.2485, allocations: 286.8 kB / 1.17 GB, free: 3.258 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2485, allocations: 0 / 1.17 GB, free: 3.258 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2485, allocations: 0 / 1.17 GB, free: 3.258 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.2485, allocations: 0 / 1.17 GB, free: 3.258 MB / 0.92 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.0007079/0.2492, allocations: 0.5419 MB / 1.171 GB, free: 2.668 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.2493, allocations: 12.03 kB / 1.171 GB, free: 2.656 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.904e-05/0.2493, allocations: 46.73 kB / 1.171 GB, free: 2.602 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.938e-05/0.2494, allocations: 28.78 kB / 1.171 GB, free: 2.574 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002713/0.2497, allocations: 275.8 kB / 1.171 GB, free: 2.266 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.2497, allocations: 8.375 kB / 1.171 GB, free: 2.258 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.857e-05/0.2497, allocations: 16.38 kB / 1.171 GB, free: 2.242 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003409/0.2501, allocations: 224.6 kB / 1.171 GB, free: 2.004 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.385e-06/0.2501, allocations: 3.938 kB / 1.171 GB, free: 2 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.133e-05/0.2501, allocations: 4 kB / 1.171 GB, free: 1.996 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.2502, allocations: 4 kB / 1.171 GB, free: 1.992 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000808/0.251, allocations: 0.7449 MB / 1.172 GB, free: 1.246 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000753/0.2517, allocations: 0.5591 MB / 1.172 GB, free: 0.6328 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004622/0.2522, allocations: 303.7 kB / 1.173 GB, free: 336 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001536/0.2524, allocations: 105.4 kB / 1.173 GB, free: 228 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 4.102e-05/0.2524, allocations: 20.23 kB / 1.173 GB, free: 208 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000315/0.2527, allocations: 184.8 kB / 1.173 GB, free: 12 kB / 0.92 GB Notification: Performance of pre-optimization done (n=34): time 1.854e-06/0.2527, allocations: 0 / 1.173 GB, free: 12 kB / 0.92 GB Notification: Performance of matching and sorting (n=34): time 0.0006636/0.2534, allocations: 361.4 kB / 1.173 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.62e-05/0.2535, allocations: 140.5 kB / 1.174 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002835/0.2538, allocations: 300 kB / 1.174 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.744e-05/0.2538, allocations: 33.7 kB / 1.174 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.721e-05/0.2539, allocations: 124.7 kB / 1.174 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.273e-05/0.254, allocations: 122.9 kB / 1.174 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.12e-05/0.2541, allocations: 61.69 kB / 1.174 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.2542, allocations: 334.8 kB / 1.174 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/0.2543, allocations: 83.95 kB / 1.175 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001795/0.2545, allocations: 132.4 kB / 1.175 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003158/0.2549, allocations: 213.2 kB / 1.175 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2549, allocations: 0 / 1.175 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004255/0.2553, allocations: 281.1 kB / 1.175 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.2553, allocations: 4 kB / 1.175 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.2553, allocations: 0 / 1.175 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.2553, allocations: 4 kB / 1.175 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002258/0.2556, allocations: 67.89 kB / 1.175 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.2556, allocations: 4 kB / 1.175 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001551/0.2557, allocations: 23.83 kB / 1.175 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.363e-05/0.2558, allocations: 15.98 kB / 1.175 GB, free: 13.65 MB / 0.9356 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.0001416/0.2559, allocations: 161.8 kB / 1.175 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.217e-05/0.256, allocations: 27.81 kB / 1.175 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000651/0.2566, allocations: 385.5 kB / 1.176 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.2567, allocations: 4 kB / 1.176 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.2567, allocations: 3.984 kB / 1.176 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.762e-06/0.2567, allocations: 3.938 kB / 1.176 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002846/0.257, allocations: 333.2 kB / 1.176 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.257, allocations: 4 kB / 1.176 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001864/0.2572, allocations: 55.91 kB / 1.176 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.2572, allocations: 4 kB / 1.176 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.005e-05/0.2572, allocations: 11.98 kB / 1.176 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.2572, allocations: 0 / 1.176 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2572, allocations: 0 / 1.176 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004534/0.2577, allocations: 321.9 kB / 1.177 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000124/0.2578, allocations: 140.8 kB / 1.177 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.118e-05/0.2579, allocations: 12 kB / 1.177 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001467/0.258, allocations: 12.03 kB / 1.177 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.193e-05/0.2581, allocations: 31.89 kB / 1.177 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-05/0.2581, allocations: 8 kB / 1.177 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001929/0.2583, allocations: 237.6 kB / 1.177 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2583, allocations: 0 / 1.177 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002868/0.2586, allocations: 59.89 kB / 1.177 GB, free: 11.78 MB / 0.9356 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.001464/0.2601, allocations: 1.171 MB / 1.178 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003776/0.2605, allocations: 227.9 kB / 1.178 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.2605, allocations: 4 kB / 1.178 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001904/0.2607, allocations: 127.8 kB / 1.178 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002572/0.2609, allocations: 38.62 kB / 1.179 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002613/0.2636, allocations: 2.452 MB / 1.181 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002738/0.2639, allocations: 0.7579 MB / 1.182 GB, free: 7.027 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0003117/0.2642, allocations: 150.9 kB / 1.182 GB, free: 6.883 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001359/0.2643, allocations: 91.39 kB / 1.182 GB, free: 6.793 MB / 0.9356 GB Notification: Performance of SimCode: time 2.91e-07/0.2643, allocations: 0 / 1.182 GB, free: 6.793 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0208/0.2851, allocations: 5.472 MB / 1.187 GB, free: 1.445 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.262/8.547, allocations: 11.25 kB / 1.187 GB, free: 1.441 MB / 0.9356 GB (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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