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.001144/0.001144, allocations: 109 kB / 17.54 MB, free: 4.746 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.001135/0.001135, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.31/1.31, allocations: 225.6 MB / 249.3 MB, free: 3.18 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.496/2.496, allocations: 476.7 MB / 0.7628 GB, free: 15.12 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.001772/0.001772, allocations: 67.89 kB / 1.107 GB, free: 5.152 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7963/0.7981, allocations: 168.7 MB / 1.271 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002507/0.8006, allocations: 1.665 MB / 1.273 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001349/0.8019, allocations: 1.249 MB / 1.274 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.989e-05/0.802, allocations: 1.062 kB / 1.274 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001774/0.8022, allocations: 20.64 kB / 1.274 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002171/0.8024, allocations: 73.83 kB / 1.274 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002846/0.8027, allocations: 140.3 kB / 1.274 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002331/0.8029, allocations: 236.5 kB / 1.275 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.315e-05/0.803, allocations: 12.8 kB / 1.275 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.012e-05/0.8031, allocations: 79.14 kB / 1.275 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001931/0.8032, allocations: 90.53 kB / 1.275 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.625e-05/0.8033, allocations: 17.25 kB / 1.275 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001316/0.8034, allocations: 77.47 kB / 1.275 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 9.755e-05/0.8035, allocations: 84.53 kB / 1.275 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 8.349e-05/0.8036, allocations: 102.3 kB / 1.275 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000292/0.8039, allocations: 287.1 kB / 1.275 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.8039, allocations: 0.9062 kB / 1.275 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.262e-06/0.8039, allocations: 0 / 1.275 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.8039, allocations: 0 / 1.275 GB, free: 5.133 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.0005964/0.8045, allocations: 0.5356 MB / 1.276 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.8045, allocations: 9.344 kB / 1.276 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.695e-05/0.8046, allocations: 47.62 kB / 1.276 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.369e-05/0.8046, allocations: 29.06 kB / 1.276 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001984/0.8048, allocations: 268.1 kB / 1.276 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.8049, allocations: 15.03 kB / 1.276 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.532e-05/0.8049, allocations: 14.62 kB / 1.276 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003078/0.8052, allocations: 220.3 kB / 1.277 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.8052, allocations: 0.75 kB / 1.277 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.173e-05/0.8052, allocations: 6.656 kB / 1.277 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.281e-06/0.8052, allocations: 3.844 kB / 1.277 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008403/0.8061, allocations: 0.7392 MB / 1.277 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006608/0.8067, allocations: 0.5673 MB / 1.278 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004284/0.8072, allocations: 296.2 kB / 1.278 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001343/0.8073, allocations: 92.44 kB / 1.278 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.025e-05/0.8073, allocations: 17.33 kB / 1.278 GB, free: 3.562 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003051/0.8076, allocations: 177.4 kB / 1.278 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=34): time 1.413e-06/0.8076, allocations: 0 / 1.278 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of matching and sorting (n=34): time 0.0006136/0.8082, allocations: 367.7 kB / 1.279 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/0.8083, allocations: 137.4 kB / 1.279 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002828/0.8086, allocations: 306.5 kB / 1.279 GB, free: 3.004 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.8086, allocations: 31.7 kB / 1.279 GB, free: 2.969 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.644e-05/0.8086, allocations: 122.7 kB / 1.279 GB, free: 2.855 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.85e-05/0.8087, allocations: 118 kB / 1.279 GB, free: 2.762 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.8088, allocations: 74.78 kB / 1.279 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.143e-05/0.8089, allocations: 333.5 kB / 1.28 GB, free: 2.398 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001358/0.809, allocations: 80.48 kB / 1.28 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001768/0.8092, allocations: 129.6 kB / 1.28 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003029/0.8095, allocations: 214.5 kB / 1.28 GB, free: 2.223 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.8095, allocations: 0 / 1.28 GB, free: 2.223 MB / 0.9981 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003748/0.8099, allocations: 273.3 kB / 1.28 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.8099, allocations: 8.969 kB / 1.28 GB, free: 2.109 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.8099, allocations: 0.5938 kB / 1.28 GB, free: 2.109 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.8099, allocations: 4.578 kB / 1.28 GB, free: 2.109 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002107/0.8101, allocations: 61.67 kB / 1.281 GB, free: 2.102 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.8101, allocations: 5.562 kB / 1.281 GB, free: 2.098 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000141/0.8102, allocations: 36.78 kB / 1.281 GB, free: 2.074 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.141e-05/0.8103, allocations: 13.17 kB / 1.281 GB, free: 2.07 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.0001148/0.8104, allocations: 158.1 kB / 1.281 GB, free: 1.938 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.478e-05/0.8104, allocations: 30.64 kB / 1.281 GB, free: 1.922 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005768/0.811, allocations: 382.9 kB / 1.281 GB, free: 1.758 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.811, allocations: 3.625 kB / 1.281 GB, free: 1.758 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.811, allocations: 5.531 kB / 1.281 GB, free: 1.754 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.811, allocations: 5.625 kB / 1.281 GB, free: 1.75 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00026/0.8113, allocations: 330.1 kB / 1.281 GB, free: 1.496 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.8113, allocations: 4.641 kB / 1.281 GB, free: 1.492 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001625/0.8114, allocations: 57.97 kB / 1.281 GB, free: 1.488 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.8114, allocations: 0 / 1.281 GB, free: 1.488 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/0.8115, allocations: 9.922 kB / 1.282 GB, free: 1.484 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.8115, allocations: 6.844 kB / 1.282 GB, free: 1.48 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.8115, allocations: 0.6562 kB / 1.282 GB, free: 1.48 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003818/0.8119, allocations: 318.8 kB / 1.282 GB, free: 1.328 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.196e-05/0.8119, allocations: 144 kB / 1.282 GB, free: 1.199 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.577e-05/0.812, allocations: 7 kB / 1.282 GB, free: 1.195 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/0.8121, allocations: 14.5 kB / 1.282 GB, free: 1.191 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.356e-05/0.8122, allocations: 28.91 kB / 1.282 GB, free: 1.184 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.22e-05/0.8122, allocations: 10.61 kB / 1.282 GB, free: 1.184 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001518/0.8123, allocations: 237 kB / 1.282 GB, free: 1.059 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.8123, allocations: 0 / 1.282 GB, free: 1.059 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000259/0.8126, allocations: 59.86 kB / 1.282 GB, free: 1.043 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.001667/0.8143, allocations: 1.159 MB / 1.283 GB, free: 248 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003464/0.8146, allocations: 224.5 kB / 1.284 GB, free: 184 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.8146, allocations: 7.062 kB / 1.284 GB, free: 180 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001619/0.8148, allocations: 115.8 kB / 1.284 GB, free: 148 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000238/0.815, allocations: 36.56 kB / 1.284 GB, free: 128 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002733/0.8177, allocations: 2.455 MB / 1.286 GB, free: 14.56 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003564/0.8181, allocations: 0.7618 MB / 1.287 GB, free: 13.86 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0003037/0.8184, allocations: 138.7 kB / 1.287 GB, free: 13.82 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001419/0.8185, allocations: 93.12 kB / 1.287 GB, free: 13.77 MB / 1.014 GB Notification: Performance of SimCode: time 3.3e-07/0.8185, allocations: 0 / 1.287 GB, free: 13.77 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02878/0.8473, allocations: 5.489 MB / 1.293 GB, free: 12.8 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.025/7.873, allocations: 7.938 kB / 1.293 GB, free: 12.8 MB / 1.014 GB " [Timeout remaining time 292] (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 --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/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: 13.281569034999848]