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.01077/0.01077, allocations: 102.5 kB / 15.73 MB, free: 6.012 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.002054/0.002055, allocations: 194.9 kB / 16.67 MB, free: 5.949 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.588/2.588, allocations: 222.9 MB / 240.4 MB, free: 4.336 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 3.536/3.536, allocations: 390.3 MB / 0.6648 GB, free: 272 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001848/0.001848, allocations: 62.88 kB / 0.9504 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4292/0.4311, allocations: 140.4 MB / 1.087 GB, free: 2.039 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003747/0.4349, allocations: 1.635 MB / 1.089 GB, free: 400 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002111/0.4371, allocations: 1.167 MB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.859e-05/0.4372, allocations: 0 / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003002/0.4375, allocations: 23.86 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003551/0.4379, allocations: 71.67 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004691/0.4384, allocations: 140.6 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003574/0.4387, allocations: 233.6 kB / 1.091 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/0.4389, allocations: 23.02 kB / 1.091 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/0.439, allocations: 79.77 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002734/0.4393, allocations: 95.77 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.568e-05/0.4393, allocations: 16 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001773/0.4395, allocations: 75.97 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001146/0.4396, allocations: 83.75 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001265/0.4398, allocations: 103.4 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004324/0.4402, allocations: 283.1 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.4402, allocations: 0 / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.206e-06/0.4402, allocations: 0 / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.4403, allocations: 3.938 kB / 1.091 GB, free: 14.01 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.0009323/0.4412, allocations: 0.5273 MB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.4413, allocations: 15.97 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.637e-05/0.4413, allocations: 54.73 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.723e-05/0.4414, allocations: 36.55 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003444/0.4418, allocations: 255.8 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.435e-05/0.4418, allocations: 16.36 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.273e-05/0.4419, allocations: 16.38 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004501/0.4423, allocations: 216.6 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.4424, allocations: 0 / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.259e-05/0.4424, allocations: 12 kB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.4424, allocations: 8 kB / 1.093 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001161/0.4436, allocations: 0.7371 MB / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001047/0.4446, allocations: 0.563 MB / 1.094 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006435/0.4453, allocations: 304.6 kB / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002197/0.4455, allocations: 105.4 kB / 1.094 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.181e-05/0.4456, allocations: 24.25 kB / 1.094 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004633/0.4461, allocations: 172.9 kB / 1.094 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=34): time 2.054e-06/0.4461, allocations: 0 / 1.094 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of matching and sorting (n=34): time 0.0008885/0.447, allocations: 369.1 kB / 1.095 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.295e-05/0.4471, allocations: 132.5 kB / 1.095 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003558/0.4475, allocations: 304 kB / 1.095 GB, free: 9.945 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.269e-05/0.4475, allocations: 33.7 kB / 1.095 GB, free: 9.906 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.4476, allocations: 128.7 kB / 1.095 GB, free: 9.777 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.000119/0.4477, allocations: 114.3 kB / 1.095 GB, free: 9.664 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001297/0.4479, allocations: 69.67 kB / 1.095 GB, free: 9.59 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.448, allocations: 338.8 kB / 1.096 GB, free: 9.25 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001914/0.4482, allocations: 83.89 kB / 1.096 GB, free: 9.168 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002335/0.4485, allocations: 119.4 kB / 1.096 GB, free: 9.039 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004306/0.4489, allocations: 222.3 kB / 1.096 GB, free: 8.82 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.4489, allocations: 0 / 1.096 GB, free: 8.82 MB / 0.8575 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000565/0.4495, allocations: 277 kB / 1.096 GB, free: 8.543 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.4495, allocations: 5.719 kB / 1.096 GB, free: 8.539 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.4495, allocations: 0 / 1.096 GB, free: 8.539 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.4496, allocations: 4 kB / 1.096 GB, free: 8.535 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003071/0.4499, allocations: 59.91 kB / 1.097 GB, free: 8.477 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.667e-06/0.4499, allocations: 0 / 1.097 GB, free: 8.477 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001869/0.4501, allocations: 35.14 kB / 1.097 GB, free: 8.445 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.44e-05/0.4501, allocations: 11.98 kB / 1.097 GB, free: 8.434 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.0001937/0.4503, allocations: 165.8 kB / 1.097 GB, free: 8.262 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.079e-05/0.4504, allocations: 23.72 kB / 1.097 GB, free: 8.238 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008688/0.4513, allocations: 376.4 kB / 1.097 GB, free: 7.863 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.4513, allocations: 4 kB / 1.097 GB, free: 7.859 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.4513, allocations: 3.938 kB / 1.097 GB, free: 7.855 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.4513, allocations: 7.922 kB / 1.097 GB, free: 7.848 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000393/0.4517, allocations: 329.3 kB / 1.097 GB, free: 7.477 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.4517, allocations: 0 / 1.097 GB, free: 7.477 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002396/0.452, allocations: 59.91 kB / 1.097 GB, free: 7.418 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-06/0.452, allocations: 4 kB / 1.097 GB, free: 7.414 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.766e-05/0.452, allocations: 11.98 kB / 1.097 GB, free: 7.402 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.452, allocations: 4 kB / 1.097 GB, free: 7.398 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.4521, allocations: 0 / 1.097 GB, free: 7.398 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006096/0.4527, allocations: 327 kB / 1.098 GB, free: 7.062 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001635/0.4529, allocations: 136.7 kB / 1.098 GB, free: 6.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.797e-05/0.4529, allocations: 8 kB / 1.098 GB, free: 6.902 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000172/0.4531, allocations: 15.98 kB / 1.098 GB, free: 6.887 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.086e-05/0.4532, allocations: 23.91 kB / 1.098 GB, free: 6.863 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.017e-05/0.4532, allocations: 23.98 kB / 1.098 GB, free: 6.84 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002496/0.4535, allocations: 229.6 kB / 1.098 GB, free: 6.617 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4535, allocations: 0 / 1.098 GB, free: 6.617 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004175/0.4539, allocations: 63.94 kB / 1.098 GB, free: 6.555 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.002053/0.456, allocations: 1.154 MB / 1.099 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005598/0.4565, allocations: 231.7 kB / 1.1 GB, free: 5.289 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.4566, allocations: 4 kB / 1.1 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002565/0.4568, allocations: 120.5 kB / 1.1 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003618/0.4572, allocations: 36.59 kB / 1.1 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003673/0.4609, allocations: 2.45 MB / 1.102 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003707/0.4613, allocations: 0.754 MB / 1.103 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0004567/0.4617, allocations: 158.9 kB / 1.103 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001837/0.4619, allocations: 103.3 kB / 1.103 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of SimCode: time 5.51e-07/0.4619, allocations: 0 / 1.103 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5451/1.007, allocations: 5.535 MB / 1.109 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.28/13.29, allocations: 12.5 kB / 1.109 GB, free: 12.07 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin_fmu --startTime=0 --stopTime=432000 --timeout=50 --tolerance=1e-06 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.mat","/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) Reference file matches