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.006543/0.006543, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.00154/0.00154, allocations: 188.6 kB / 16.67 MB, free: 5.93 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.63/1.63, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.212/2.212, allocations: 390.3 MB / 0.6648 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.00139, allocations: 67.91 kB / 0.9504 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.718/0.7194, allocations: 140.4 MB / 1.087 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002601/0.7221, allocations: 1.636 MB / 1.089 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001387/0.7235, allocations: 1.172 MB / 1.09 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.714e-05/0.7235, allocations: 1.094 kB / 1.09 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000199/0.7238, allocations: 16.62 kB / 1.09 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002493/0.724, allocations: 76.67 kB / 1.09 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003503/0.7244, allocations: 145.7 kB / 1.09 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002587/0.7246, allocations: 230.8 kB / 1.091 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.738e-05/0.7247, allocations: 26.72 kB / 1.091 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.659e-05/0.7248, allocations: 73.84 kB / 1.091 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000196/0.725, allocations: 96.03 kB / 1.091 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.473e-05/0.7251, allocations: 16.53 kB / 1.091 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001339/0.7252, allocations: 76.34 kB / 1.091 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.7253, allocations: 84.14 kB / 1.091 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.354e-05/0.7254, allocations: 100.2 kB / 1.091 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003389/0.7258, allocations: 288.1 kB / 1.091 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.7258, allocations: 1.375 kB / 1.091 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.302e-06/0.7258, allocations: 0 / 1.091 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.7258, allocations: 0 / 1.091 GB, free: 2.754 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.0006485/0.7265, allocations: 0.5269 MB / 1.092 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.7265, allocations: 9.375 kB / 1.092 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.605e-05/0.7265, allocations: 48.75 kB / 1.092 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.801e-05/0.7266, allocations: 33.44 kB / 1.092 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002441/0.7269, allocations: 262.9 kB / 1.092 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.7269, allocations: 11.81 kB / 1.092 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.182e-05/0.7269, allocations: 14.22 kB / 1.092 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000353/0.7273, allocations: 225.5 kB / 1.092 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.7273, allocations: 0 / 1.092 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.348e-05/0.7273, allocations: 5.969 kB / 1.092 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.7274, allocations: 8.5 kB / 1.092 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001018/0.7284, allocations: 0.7412 MB / 1.093 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007709/0.7292, allocations: 0.5586 MB / 1.094 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004936/0.7297, allocations: 301.6 kB / 1.094 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001571/0.7298, allocations: 107.6 kB / 1.094 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.19e-05/0.7299, allocations: 22.3 kB / 1.094 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000328/0.7302, allocations: 176.3 kB / 1.094 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=34): time 1.583e-06/0.7302, allocations: 0 / 1.094 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of matching and sorting (n=34): time 0.0007004/0.7309, allocations: 366.8 kB / 1.095 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/0.731, allocations: 133.7 kB / 1.095 GB, free: 0.8047 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002882/0.7313, allocations: 301 kB / 1.095 GB, free: 0.6328 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/0.7313, allocations: 36.27 kB / 1.095 GB, free: 0.5938 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.062e-05/0.7314, allocations: 126.8 kB / 1.095 GB, free: 492 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.088e-05/0.7314, allocations: 118.3 kB / 1.095 GB, free: 396 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.304e-05/0.7315, allocations: 65.8 kB / 1.095 GB, free: 360 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.346e-05/0.7316, allocations: 334.5 kB / 1.096 GB, free: 32 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/0.7318, allocations: 83.89 kB / 1.096 GB, free: 4 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000235/0.732, allocations: 126 kB / 1.096 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003604/0.7324, allocations: 211.1 kB / 1.096 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.7324, allocations: 4 kB / 1.096 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004676/0.7329, allocations: 276.4 kB / 1.096 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.7329, allocations: 6.203 kB / 1.096 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.7329, allocations: 0 / 1.096 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.7329, allocations: 1.781 kB / 1.096 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002352/0.7331, allocations: 64.31 kB / 1.096 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.353e-06/0.7332, allocations: 1.125 kB / 1.097 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001636/0.7333, allocations: 27.78 kB / 1.097 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.564e-05/0.7334, allocations: 10.59 kB / 1.097 GB, free: 15.71 MB / 0.8731 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.0001589/0.7335, allocations: 166.1 kB / 1.097 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.44e-05/0.7336, allocations: 23.81 kB / 1.097 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007025/0.7343, allocations: 388.6 kB / 1.097 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.7343, allocations: 4.5 kB / 1.097 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.7343, allocations: 1.125 kB / 1.097 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.7343, allocations: 6 kB / 1.097 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003327/0.7347, allocations: 328.9 kB / 1.097 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.7347, allocations: 0.6562 kB / 1.097 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001776/0.7349, allocations: 56.2 kB / 1.097 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.7349, allocations: 1.156 kB / 1.097 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.115e-05/0.7349, allocations: 15.59 kB / 1.097 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.384e-05/0.7349, allocations: 6.219 kB / 1.097 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.7349, allocations: 3.984 kB / 1.097 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004927/0.7354, allocations: 323.7 kB / 1.098 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001427/0.7356, allocations: 141.9 kB / 1.098 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.061e-05/0.7356, allocations: 7.062 kB / 1.098 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/0.7358, allocations: 13.28 kB / 1.098 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.912e-05/0.7359, allocations: 30.22 kB / 1.098 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.706e-05/0.7359, allocations: 14.94 kB / 1.098 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002159/0.7361, allocations: 229.6 kB / 1.098 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7361, allocations: 3.938 kB / 1.098 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003551/0.7365, allocations: 56.89 kB / 1.098 GB, free: 14.68 MB / 0.8731 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.002296/0.7388, allocations: 1.156 MB / 1.099 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0006595/0.7395, allocations: 230.4 kB / 1.1 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.7395, allocations: 4.531 kB / 1.1 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003184/0.7398, allocations: 128.8 kB / 1.1 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004235/0.7402, allocations: 40 kB / 1.1 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004692/0.745, allocations: 2.464 MB / 1.102 GB, free: 12.19 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004662/0.7454, allocations: 0.7543 MB / 1.103 GB, free: 11.49 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0005805/0.746, allocations: 144.5 kB / 1.103 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002181/0.7463, allocations: 95.48 kB / 1.103 GB, free: 11.4 MB / 0.8731 GB Notification: Performance of SimCode: time 4.71e-07/0.7463, allocations: 0 / 1.103 GB, free: 11.4 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02758/0.7739, allocations: 5.47 MB / 1.109 GB, free: 10.52 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.442/8.216, allocations: 14.41 kB / 1.109 GB, free: 10.51 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