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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00167/0.00167, allocations: 104.6 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001922/0.001922, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.519/1.519, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.757/2.757, allocations: 476.7 MB / 0.7611 GB, free: 15.67 MB / 0.6075 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 68.12 kB / 1.104 GB, free: 6.566 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9723/0.9743, allocations: 168.7 MB / 1.269 GB, free: 7.609 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002879/0.9772, allocations: 1.647 MB / 1.27 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001667/0.9789, allocations: 1.185 MB / 1.272 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.693e-05/0.9789, allocations: 0.8438 kB / 1.272 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002362/0.9792, allocations: 24.86 kB / 1.272 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002714/0.9794, allocations: 66.47 kB / 1.272 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000359/0.9798, allocations: 137.4 kB / 1.272 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003326/0.9801, allocations: 239.2 kB / 1.272 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.9802, allocations: 16.33 kB / 1.272 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.9803, allocations: 78.45 kB / 1.272 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002406/0.9806, allocations: 92.34 kB / 1.272 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.272e-05/0.9806, allocations: 16.72 kB / 1.272 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000166/0.9808, allocations: 77.41 kB / 1.272 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001139/0.9809, allocations: 79.8 kB / 1.272 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000106/0.981, allocations: 103.6 kB / 1.272 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004111/0.9814, allocations: 282.1 kB / 1.273 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.9814, allocations: 4.562 kB / 1.273 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.344e-06/0.9814, allocations: 0.875 kB / 1.273 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.9814, allocations: 0 / 1.273 GB, free: 5.199 MB / 0.9981 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.000774/0.9822, allocations: 0.5416 MB / 1.273 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.505e-05/0.9823, allocations: 9.188 kB / 1.273 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.125e-05/0.9823, allocations: 49.8 kB / 1.273 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.524e-05/0.9824, allocations: 25.62 kB / 1.273 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002696/0.9827, allocations: 272.4 kB / 1.274 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/0.9827, allocations: 10.88 kB / 1.274 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.172e-05/0.9827, allocations: 14.81 kB / 1.274 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003541/0.9831, allocations: 223.8 kB / 1.274 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.9831, allocations: 1.281 kB / 1.274 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.266e-05/0.9831, allocations: 4.938 kB / 1.274 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.9831, allocations: 4.094 kB / 1.274 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001012/0.9841, allocations: 0.7396 MB / 1.275 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007667/0.9849, allocations: 0.563 MB / 1.275 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004995/0.9854, allocations: 292.2 kB / 1.275 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001661/0.9856, allocations: 97.05 kB / 1.275 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.492e-05/0.9856, allocations: 21.28 kB / 1.275 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003525/0.986, allocations: 185.5 kB / 1.276 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=34): time 1.593e-06/0.986, allocations: 0.7188 kB / 1.276 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of matching and sorting (n=34): time 0.0006923/0.9867, allocations: 366.6 kB / 1.276 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.057e-05/0.9867, allocations: 133 kB / 1.276 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002982/0.987, allocations: 307.1 kB / 1.276 GB, free: 3.059 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/0.987, allocations: 35.64 kB / 1.276 GB, free: 3.02 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.963e-05/0.9871, allocations: 121.8 kB / 1.277 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.212e-05/0.9872, allocations: 115.9 kB / 1.277 GB, free: 2.816 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.835e-05/0.9873, allocations: 66.48 kB / 1.277 GB, free: 2.781 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.578e-05/0.9874, allocations: 334.6 kB / 1.277 GB, free: 2.461 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/0.9875, allocations: 86.88 kB / 1.277 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001938/0.9877, allocations: 130.9 kB / 1.277 GB, free: 2.363 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003167/0.988, allocations: 210.5 kB / 1.277 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.988, allocations: 1.219 kB / 1.277 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004272/0.9885, allocations: 271 kB / 1.278 GB, free: 2.172 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.9885, allocations: 4.969 kB / 1.278 GB, free: 2.172 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.353e-06/0.9885, allocations: 4.297 kB / 1.278 GB, free: 2.172 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.9885, allocations: 1.219 kB / 1.278 GB, free: 2.172 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002341/0.9887, allocations: 70.56 kB / 1.278 GB, free: 2.156 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.9887, allocations: 1.906 kB / 1.278 GB, free: 2.156 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001385/0.9889, allocations: 35.62 kB / 1.278 GB, free: 2.133 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.014e-05/0.9889, allocations: 12.72 kB / 1.278 GB, free: 2.129 MB / 0.9981 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.0001406/0.9891, allocations: 159.8 kB / 1.278 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.092e-05/0.9891, allocations: 25.67 kB / 1.278 GB, free: 1.984 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007185/0.9898, allocations: 386.6 kB / 1.278 GB, free: 1.816 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/0.9898, allocations: 3.281 kB / 1.278 GB, free: 1.816 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.9898, allocations: 1.531 kB / 1.278 GB, free: 1.816 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.9898, allocations: 6 kB / 1.278 GB, free: 1.812 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003471/0.9902, allocations: 333.2 kB / 1.279 GB, free: 1.555 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.9902, allocations: 0 / 1.279 GB, free: 1.555 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001719/0.9904, allocations: 58.56 kB / 1.279 GB, free: 1.551 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.9904, allocations: 4 kB / 1.279 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.183e-05/0.9904, allocations: 12.14 kB / 1.279 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.9904, allocations: 0.75 kB / 1.279 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.9904, allocations: 0 / 1.279 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000435/0.9908, allocations: 319.9 kB / 1.279 GB, free: 1.391 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/0.991, allocations: 146.3 kB / 1.279 GB, free: 1.262 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.959e-05/0.991, allocations: 6.094 kB / 1.279 GB, free: 1.258 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001302/0.9911, allocations: 15.14 kB / 1.279 GB, free: 1.254 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.724e-05/0.9912, allocations: 27.97 kB / 1.279 GB, free: 1.246 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.644e-05/0.9912, allocations: 10.86 kB / 1.279 GB, free: 1.246 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001792/0.9914, allocations: 234.8 kB / 1.28 GB, free: 1.121 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8.1e-08/0.9914, allocations: 3.938 kB / 1.28 GB, free: 1.117 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003057/0.9917, allocations: 65.14 kB / 1.28 GB, free: 1.098 MB / 0.9981 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.001866/0.9936, allocations: 1.161 MB / 1.281 GB, free: 312 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003911/0.994, allocations: 223.5 kB / 1.281 GB, free: 248 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.994, allocations: 0 / 1.281 GB, free: 248 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001756/0.9941, allocations: 121.6 kB / 1.281 GB, free: 212 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002691/0.9944, allocations: 38.7 kB / 1.281 GB, free: 196 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002984/0.9974, allocations: 2.456 MB / 1.283 GB, free: 14.62 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004455/0.9978, allocations: 0.7594 MB / 1.284 GB, free: 13.92 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0003466/0.9982, allocations: 146.5 kB / 1.284 GB, free: 13.88 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001472/0.9983, allocations: 96.03 kB / 1.284 GB, free: 13.82 MB / 1.014 GB Notification: Performance of SimCode: time 3.81e-07/0.9983, allocations: 0 / 1.284 GB, free: 13.82 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03271/1.031, allocations: 5.521 MB / 1.29 GB, free: 12.89 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.164/9.195, allocations: 20.95 kB / 1.29 GB, free: 12.88 MB / 1.014 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin_fmu --startTime=0 --stopTime=432000 --stepSize=172.8 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.542425775900483]