Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="Buildings_latest_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.006707/0.006706, allocations: 106.2 kB / 15.73 MB, free: 5.984 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.001615/0.001615, allocations: 194.8 kB / 16.67 MB, free: 5.906 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.231/1.231, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.343/2.343, allocations: 461.9 MB / 0.7348 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 67.89 kB / 1.054 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6982/0.6994, allocations: 157.4 MB / 1.207 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002866/0.7024, allocations: 1.646 MB / 1.209 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001601/0.704, allocations: 1.16 MB / 1.21 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.528e-05/0.7041, allocations: 4 kB / 1.21 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002109/0.7043, allocations: 27.73 kB / 1.21 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.000299/0.7046, allocations: 63.69 kB / 1.21 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003783/0.705, allocations: 138.9 kB / 1.21 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002783/0.7053, allocations: 233.6 kB / 1.21 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.7054, allocations: 26.47 kB / 1.21 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001317/0.7056, allocations: 83.8 kB / 1.211 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002307/0.7058, allocations: 91.72 kB / 1.211 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.768e-05/0.7058, allocations: 19.98 kB / 1.211 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001519/0.706, allocations: 71.98 kB / 1.211 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001017/0.7061, allocations: 83.8 kB / 1.211 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001099/0.7062, allocations: 103.3 kB / 1.211 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003638/0.7066, allocations: 275.1 kB / 1.211 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.7066, allocations: 12 kB / 1.211 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.024e-06/0.7066, allocations: 0 / 1.211 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.19e-05/0.7066, allocations: 0 / 1.211 GB, free: 9.574 MB / 0.9356 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.0007721/0.7074, allocations: 0.5267 MB / 1.212 GB, free: 9 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.7075, allocations: 8.031 kB / 1.212 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.767e-05/0.7075, allocations: 54.67 kB / 1.212 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.052e-05/0.7076, allocations: 24.66 kB / 1.212 GB, free: 8.906 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003084/0.7079, allocations: 267.7 kB / 1.212 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.782e-05/0.708, allocations: 12.38 kB / 1.212 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.559e-05/0.708, allocations: 16.38 kB / 1.212 GB, free: 8.578 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003464/0.7083, allocations: 218.2 kB / 1.212 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.515e-06/0.7084, allocations: 4 kB / 1.212 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.151e-05/0.7084, allocations: 4 kB / 1.212 GB, free: 8.34 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.7084, allocations: 4 kB / 1.212 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007899/0.7092, allocations: 0.7372 MB / 1.213 GB, free: 7.598 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007576/0.71, allocations: 0.563 MB / 1.214 GB, free: 6.98 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000445/0.7104, allocations: 308.1 kB / 1.214 GB, free: 6.672 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001414/0.7106, allocations: 101.4 kB / 1.214 GB, free: 6.57 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.303e-05/0.7106, allocations: 20.25 kB / 1.214 GB, free: 6.551 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003217/0.7109, allocations: 184.9 kB / 1.214 GB, free: 6.359 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=34): time 1.873e-06/0.7109, allocations: 0 / 1.214 GB, free: 6.359 MB / 0.9356 GB Notification: Performance of matching and sorting (n=34): time 0.000611/0.7116, allocations: 369.1 kB / 1.214 GB, free: 5.992 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.391e-05/0.7116, allocations: 136.5 kB / 1.215 GB, free: 5.828 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002498/0.7119, allocations: 300 kB / 1.215 GB, free: 5.523 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.37e-05/0.7119, allocations: 29.7 kB / 1.215 GB, free: 5.488 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.92e-05/0.712, allocations: 128.8 kB / 1.215 GB, free: 5.355 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.207e-05/0.7121, allocations: 114.3 kB / 1.215 GB, free: 5.242 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.487e-05/0.7122, allocations: 65.62 kB / 1.215 GB, free: 5.172 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.7123, allocations: 342.8 kB / 1.216 GB, free: 4.828 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/0.7125, allocations: 79.95 kB / 1.216 GB, free: 4.75 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001739/0.7126, allocations: 127.2 kB / 1.216 GB, free: 4.613 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003054/0.713, allocations: 210.5 kB / 1.216 GB, free: 4.406 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.713, allocations: 0 / 1.216 GB, free: 4.406 MB / 0.9356 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004156/0.7134, allocations: 281 kB / 1.216 GB, free: 4.125 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.7134, allocations: 9.719 kB / 1.216 GB, free: 4.117 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.7134, allocations: 4 kB / 1.216 GB, free: 4.113 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.7134, allocations: 0 / 1.216 GB, free: 4.113 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002127/0.7137, allocations: 59.91 kB / 1.216 GB, free: 4.055 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.7137, allocations: 4 kB / 1.216 GB, free: 4.051 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001513/0.7138, allocations: 31.77 kB / 1.216 GB, free: 4.02 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.342e-05/0.7139, allocations: 8 kB / 1.216 GB, free: 4.012 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.000169/0.714, allocations: 161.8 kB / 1.216 GB, free: 3.844 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.579e-05/0.7141, allocations: 31.61 kB / 1.217 GB, free: 3.812 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006244/0.7147, allocations: 377.6 kB / 1.217 GB, free: 3.438 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.7148, allocations: 8 kB / 1.217 GB, free: 3.43 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.7148, allocations: 0 / 1.217 GB, free: 3.43 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.7148, allocations: 3.938 kB / 1.217 GB, free: 3.426 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002782/0.7151, allocations: 333.2 kB / 1.217 GB, free: 3.051 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.7151, allocations: 0 / 1.217 GB, free: 3.051 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001651/0.7152, allocations: 59.91 kB / 1.217 GB, free: 2.992 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.7152, allocations: 0 / 1.217 GB, free: 2.992 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.861e-05/0.7153, allocations: 8 kB / 1.217 GB, free: 2.984 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.214e-06/0.7153, allocations: 8 kB / 1.217 GB, free: 2.977 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.7153, allocations: 0 / 1.217 GB, free: 2.977 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004327/0.7157, allocations: 333.9 kB / 1.218 GB, free: 2.629 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/0.7158, allocations: 144.7 kB / 1.218 GB, free: 2.469 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.791e-05/0.7159, allocations: 4 kB / 1.218 GB, free: 2.465 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/0.716, allocations: 15.98 kB / 1.218 GB, free: 2.449 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.436e-05/0.7161, allocations: 23.91 kB / 1.218 GB, free: 2.426 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.558e-05/0.7161, allocations: 15.98 kB / 1.218 GB, free: 2.41 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001739/0.7163, allocations: 229.8 kB / 1.218 GB, free: 2.188 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7163, allocations: 0 / 1.218 GB, free: 2.188 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002748/0.7166, allocations: 63.91 kB / 1.218 GB, free: 2.125 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.001443/0.718, allocations: 1.14 MB / 1.219 GB, free: 1.102 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003885/0.7184, allocations: 236.2 kB / 1.219 GB, free: 0.8711 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.7185, allocations: 0 / 1.219 GB, free: 0.8711 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001841/0.7186, allocations: 131.8 kB / 1.22 GB, free: 0.7422 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002545/0.7189, allocations: 44.34 kB / 1.22 GB, free: 0.7031 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00263/0.7215, allocations: 2.446 MB / 1.222 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002905/0.7219, allocations: 0.7581 MB / 1.223 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002977/0.7222, allocations: 142.9 kB / 1.223 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/0.7223, allocations: 91.39 kB / 1.223 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of SimCode: time 4.21e-07/0.7223, allocations: 0 / 1.223 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02362/0.7459, allocations: 5.558 MB / 1.228 GB, free: 7.734 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.656/8.402, allocations: 6.781 kB / 1.228 GB, free: 7.73 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin_fmu --startTime=0 --stopTime=432000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches