Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="Buildings_11_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.007662/0.007662, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001999/0.001999, allocations: 197.5 kB / 16.67 MB, free: 5.934 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.482/1.482, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.72/3.72, allocations: 469.8 MB / 0.7425 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.003147/0.003147, allocations: 67.88 kB / 1.065 GB, free: 14 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8834/0.8866, allocations: 159.1 MB / 1.22 GB, free: 1.996 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002982/0.8896, allocations: 1.64 MB / 1.222 GB, free: 360 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001721/0.8914, allocations: 1.165 MB / 1.223 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.228e-05/0.8914, allocations: 3.938 kB / 1.223 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0002012/0.8917, allocations: 23.86 kB / 1.223 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002612/0.8919, allocations: 67.69 kB / 1.223 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003769/0.8923, allocations: 140.9 kB / 1.223 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.000304/0.8926, allocations: 229.6 kB / 1.223 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 9.981e-05/0.8927, allocations: 20.22 kB / 1.223 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001085/0.8929, allocations: 87.69 kB / 1.223 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002216/0.8931, allocations: 87.78 kB / 1.224 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.099e-05/0.8931, allocations: 20 kB / 1.224 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000145/0.8933, allocations: 71.97 kB / 1.224 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001044/0.8934, allocations: 79.81 kB / 1.224 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001164/0.8935, allocations: 103.3 kB / 1.224 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000377/0.8939, allocations: 290.5 kB / 1.224 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.8939, allocations: 0 / 1.224 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.323e-06/0.8939, allocations: 0 / 1.224 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.104e-05/0.8939, allocations: 4 kB / 1.224 GB, free: 13.98 MB / 0.9512 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.0007982/0.8948, allocations: 0.538 MB / 1.225 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.8948, allocations: 12.03 kB / 1.225 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.737e-05/0.8949, allocations: 46.73 kB / 1.225 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.777e-05/0.8949, allocations: 28.73 kB / 1.225 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002989/0.8952, allocations: 275.8 kB / 1.225 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.8953, allocations: 8.375 kB / 1.225 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.304e-05/0.8953, allocations: 20.36 kB / 1.225 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004/0.8957, allocations: 224.6 kB / 1.225 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.8957, allocations: 0 / 1.225 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.352e-05/0.8958, allocations: 4 kB / 1.225 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.8958, allocations: 4 kB / 1.225 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009699/0.8968, allocations: 0.7388 MB / 1.226 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008489/0.8976, allocations: 0.5553 MB / 1.226 GB, free: 11.37 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005383/0.8982, allocations: 320 kB / 1.227 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001775/0.8983, allocations: 105.4 kB / 1.227 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.744e-05/0.8984, allocations: 16.25 kB / 1.227 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003597/0.8988, allocations: 180.9 kB / 1.227 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=34): time 2.064e-06/0.8988, allocations: 0 / 1.227 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of matching and sorting (n=34): time 0.0007148/0.8995, allocations: 366.1 kB / 1.227 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/0.8996, allocations: 136.5 kB / 1.228 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003257/0.9, allocations: 303.9 kB / 1.228 GB, free: 9.898 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.475e-05/0.9, allocations: 37.7 kB / 1.228 GB, free: 9.855 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 9.514e-05/0.9001, allocations: 120.7 kB / 1.228 GB, free: 9.73 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.9002, allocations: 123 kB / 1.228 GB, free: 9.609 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.9003, allocations: 65.69 kB / 1.228 GB, free: 9.539 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.9005, allocations: 330.8 kB / 1.228 GB, free: 9.207 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001538/0.9006, allocations: 87.95 kB / 1.229 GB, free: 9.121 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002132/0.9009, allocations: 129 kB / 1.229 GB, free: 8.984 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003649/0.9012, allocations: 213.1 kB / 1.229 GB, free: 8.773 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.9012, allocations: 3.938 kB / 1.229 GB, free: 8.77 MB / 0.9512 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004782/0.9017, allocations: 277.2 kB / 1.229 GB, free: 8.492 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.9018, allocations: 4 kB / 1.229 GB, free: 8.488 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.9018, allocations: 0 / 1.229 GB, free: 8.488 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.9018, allocations: 4 kB / 1.229 GB, free: 8.484 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002393/0.902, allocations: 71.89 kB / 1.229 GB, free: 8.414 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.902, allocations: 3.984 kB / 1.229 GB, free: 8.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001712/0.9022, allocations: 35.72 kB / 1.229 GB, free: 8.375 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.794e-05/0.9023, allocations: 11.98 kB / 1.229 GB, free: 8.363 MB / 0.9512 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.0001714/0.9024, allocations: 165.7 kB / 1.229 GB, free: 8.191 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.725e-05/0.9025, allocations: 23.86 kB / 1.229 GB, free: 8.168 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000739/0.9032, allocations: 380.8 kB / 1.23 GB, free: 7.789 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.9033, allocations: 4 kB / 1.23 GB, free: 7.785 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.9033, allocations: 0 / 1.23 GB, free: 7.785 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.9033, allocations: 11.92 kB / 1.23 GB, free: 7.773 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003658/0.9037, allocations: 329.3 kB / 1.23 GB, free: 7.402 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.9037, allocations: 0 / 1.23 GB, free: 7.402 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001873/0.9039, allocations: 55.91 kB / 1.23 GB, free: 7.348 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.9039, allocations: 4 kB / 1.23 GB, free: 7.344 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.223e-05/0.9039, allocations: 11.98 kB / 1.23 GB, free: 7.332 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.9039, allocations: 0 / 1.23 GB, free: 7.332 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.9039, allocations: 0 / 1.23 GB, free: 7.332 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005164/0.9044, allocations: 325.8 kB / 1.231 GB, free: 6.996 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001354/0.9046, allocations: 144.8 kB / 1.231 GB, free: 6.836 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.254e-05/0.9046, allocations: 8 kB / 1.231 GB, free: 6.828 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/0.9048, allocations: 11.98 kB / 1.231 GB, free: 6.816 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.108e-05/0.9049, allocations: 27.91 kB / 1.231 GB, free: 6.789 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.791e-05/0.9049, allocations: 12 kB / 1.231 GB, free: 6.777 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002256/0.9051, allocations: 229.8 kB / 1.231 GB, free: 6.555 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9051, allocations: 0 / 1.231 GB, free: 6.555 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002988/0.9054, allocations: 59.89 kB / 1.231 GB, free: 6.496 MB / 0.9512 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.002213/0.9076, allocations: 1.168 MB / 1.232 GB, free: 5.445 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000439/0.9081, allocations: 231.6 kB / 1.232 GB, free: 5.219 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.9081, allocations: 0 / 1.232 GB, free: 5.219 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002117/0.9083, allocations: 127.9 kB / 1.232 GB, free: 5.094 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002818/0.9086, allocations: 38.66 kB / 1.233 GB, free: 5.059 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003069/0.9117, allocations: 2.454 MB / 1.235 GB, free: 2.523 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003836/0.9121, allocations: 0.7612 MB / 1.236 GB, free: 1.734 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0003394/0.9124, allocations: 143 kB / 1.236 GB, free: 1.598 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001532/0.9126, allocations: 95.33 kB / 1.236 GB, free: 1.504 MB / 0.9512 GB Notification: Performance of SimCode: time 7.02e-07/0.9126, allocations: 0 / 1.236 GB, free: 1.504 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03078/0.9434, allocations: 5.483 MB / 1.241 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.65/13.59, allocations: 8.062 kB / 1.241 GB, free: 12.14 MB / 0.9669 GB (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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