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.008722/0.008722, allocations: 99.89 kB / 15.73 MB, free: 6.02 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.002184/0.002184, allocations: 193.7 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 2.452/2.452, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 4.554/4.554, allocations: 437 MB / 0.7105 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.003208/0.003209, allocations: 71.83 kB / 1.018 GB, free: 9.859 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.015/1.018, allocations: 151.6 MB / 1.166 GB, free: 3.773 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003299/1.021, allocations: 1.634 MB / 1.168 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001882/1.023, allocations: 1.171 MB / 1.169 GB, free: 0.9492 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.314e-05/1.023, allocations: 0 / 1.169 GB, free: 0.9492 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0002368/1.024, allocations: 31.78 kB / 1.169 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.000308/1.024, allocations: 60.19 kB / 1.169 GB, free: 0.8594 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004237/1.024, allocations: 135 kB / 1.169 GB, free: 0.7305 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.000334/1.025, allocations: 237.6 kB / 1.169 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/1.025, allocations: 20.22 kB / 1.169 GB, free: 484 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001316/1.025, allocations: 83.77 kB / 1.169 GB, free: 400 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002455/1.025, allocations: 90 kB / 1.17 GB, free: 312 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.532e-05/1.025, allocations: 16 kB / 1.17 GB, free: 296 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001677/1.025, allocations: 75.97 kB / 1.17 GB, free: 220 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001126/1.025, allocations: 87.73 kB / 1.17 GB, free: 132 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001199/1.026, allocations: 103.4 kB / 1.17 GB, free: 28 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0004298/1.026, allocations: 282.5 kB / 1.17 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/1.026, allocations: 4 kB / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.323e-06/1.026, allocations: 0 / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.534e-06/1.026, allocations: 0 / 1.17 GB, free: 15.75 MB / 0.9044 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.0008764/1.027, allocations: 0.5418 MB / 1.171 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/1.027, allocations: 8.922 kB / 1.171 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.923e-05/1.027, allocations: 54.73 kB / 1.171 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.494e-05/1.027, allocations: 24.8 kB / 1.171 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003254/1.027, allocations: 271.8 kB / 1.171 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/1.028, allocations: 12.38 kB / 1.171 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.033e-05/1.028, allocations: 20.38 kB / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003916/1.028, allocations: 218.2 kB / 1.171 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/1.028, allocations: 0 / 1.171 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.172e-05/1.028, allocations: 4 kB / 1.171 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/1.028, allocations: 4 kB / 1.171 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009656/1.029, allocations: 0.7487 MB / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009034/1.03, allocations: 0.5631 MB / 1.172 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005485/1.03, allocations: 303.6 kB / 1.173 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001831/1.031, allocations: 101.4 kB / 1.173 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 5.126e-05/1.031, allocations: 20.25 kB / 1.173 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003627/1.031, allocations: 177.4 kB / 1.173 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=34): time 2.114e-06/1.031, allocations: 0 / 1.173 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of matching and sorting (n=34): time 0.0007307/1.032, allocations: 377.2 kB / 1.173 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.802e-05/1.032, allocations: 136.5 kB / 1.174 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003324/1.032, allocations: 307.9 kB / 1.174 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.384e-05/1.032, allocations: 33.7 kB / 1.174 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 9.826e-05/1.032, allocations: 120.7 kB / 1.174 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/1.033, allocations: 111.1 kB / 1.174 GB, free: 11.4 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/1.033, allocations: 65.69 kB / 1.174 GB, free: 11.33 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001563/1.033, allocations: 338.8 kB / 1.174 GB, free: 10.99 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001581/1.033, allocations: 79.95 kB / 1.175 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002185/1.033, allocations: 132.4 kB / 1.175 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003568/1.034, allocations: 209.8 kB / 1.175 GB, free: 10.56 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/1.034, allocations: 0 / 1.175 GB, free: 10.56 MB / 0.9044 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004908/1.034, allocations: 289.1 kB / 1.175 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/1.034, allocations: 4 kB / 1.175 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/1.034, allocations: 4 kB / 1.175 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/1.034, allocations: 3.938 kB / 1.175 GB, free: 10.26 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000267/1.034, allocations: 63.91 kB / 1.175 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/1.034, allocations: 4 kB / 1.175 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001658/1.035, allocations: 31.75 kB / 1.175 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.631e-05/1.035, allocations: 12 kB / 1.175 GB, free: 10.15 MB / 0.9044 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.0001743/1.035, allocations: 161.7 kB / 1.175 GB, free: 9.984 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.529e-05/1.035, allocations: 31.84 kB / 1.175 GB, free: 9.953 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007469/1.036, allocations: 381.7 kB / 1.176 GB, free: 9.57 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/1.036, allocations: 4 kB / 1.176 GB, free: 9.566 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/1.036, allocations: 4 kB / 1.176 GB, free: 9.562 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.271e-06/1.036, allocations: 3.938 kB / 1.176 GB, free: 9.559 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003821/1.036, allocations: 333.3 kB / 1.176 GB, free: 9.184 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/1.036, allocations: 0 / 1.176 GB, free: 9.184 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001923/1.036, allocations: 59.91 kB / 1.176 GB, free: 9.125 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/1.036, allocations: 0 / 1.176 GB, free: 9.125 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.171e-05/1.036, allocations: 8 kB / 1.176 GB, free: 9.117 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.329e-06/1.036, allocations: 4 kB / 1.176 GB, free: 9.113 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/1.036, allocations: 0 / 1.176 GB, free: 9.113 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000527/1.037, allocations: 326 kB / 1.177 GB, free: 8.777 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001444/1.037, allocations: 144.8 kB / 1.177 GB, free: 8.617 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.067e-05/1.037, allocations: 4 kB / 1.177 GB, free: 8.613 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001523/1.037, allocations: 15.98 kB / 1.177 GB, free: 8.598 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.08e-05/1.037, allocations: 27.91 kB / 1.177 GB, free: 8.57 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.458e-05/1.037, allocations: 15.98 kB / 1.177 GB, free: 8.555 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002307/1.038, allocations: 229.6 kB / 1.177 GB, free: 8.332 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/1.038, allocations: 0 / 1.177 GB, free: 8.332 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003147/1.038, allocations: 71.88 kB / 1.177 GB, free: 8.262 MB / 0.9044 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.002275/1.04, allocations: 1.152 MB / 1.178 GB, free: 7.23 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000472/1.041, allocations: 232.1 kB / 1.178 GB, free: 7.004 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/1.041, allocations: 0 / 1.178 GB, free: 7.004 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002234/1.041, allocations: 131.8 kB / 1.178 GB, free: 6.875 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002922/1.041, allocations: 45.66 kB / 1.179 GB, free: 6.832 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003263/1.044, allocations: 2.448 MB / 1.181 GB, free: 4.309 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004195/1.045, allocations: 0.7574 MB / 1.182 GB, free: 3.527 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0003636/1.045, allocations: 146.8 kB / 1.182 GB, free: 3.383 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001627/1.045, allocations: 95.39 kB / 1.182 GB, free: 3.289 MB / 0.9044 GB Notification: Performance of SimCode: time 6.81e-07/1.045, allocations: 0 / 1.182 GB, free: 3.289 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04137/1.087, allocations: 5.482 MB / 1.187 GB, free: 13.87 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.54/10.63, allocations: 2.344 kB / 1.187 GB, free: 13.87 MB / 0.92 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