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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008451/0.0008451, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009133/0.0009133, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9042/0.9042, allocations: 177.2 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.736/1.736, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0 / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.1e-05/1.209e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.001867/0.001879, allocations: 1.651 MB / 1.001 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001163/0.003043, allocations: 1.371 MB / 1.003 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.255e-05/0.003095, allocations: 0 / 1.003 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.00019/0.003285, allocations: 31.72 kB / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0003002/0.003585, allocations: 111.4 kB / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002193/0.003805, allocations: 134.4 kB / 1.003 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002048/0.00401, allocations: 261.4 kB / 1.003 GB, free: 9.914 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 7.938e-05/0.004089, allocations: 8 kB / 1.003 GB, free: 9.906 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 9.819e-05/0.004187, allocations: 119.8 kB / 1.003 GB, free: 9.789 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/0.00431, allocations: 83.8 kB / 1.003 GB, free: 9.707 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.483e-05/0.004335, allocations: 20 kB / 1.003 GB, free: 9.688 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001331/0.004468, allocations: 123.8 kB / 1.003 GB, free: 9.566 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 7.606e-05/0.004544, allocations: 83.75 kB / 1.004 GB, free: 9.484 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 5.755e-05/0.004602, allocations: 67.75 kB / 1.004 GB, free: 9.418 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002852/0.004887, allocations: 354.8 kB / 1.004 GB, free: 9.07 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.004888, allocations: 0 / 1.004 GB, free: 9.07 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.62e-07/0.004889, allocations: 4 kB / 1.004 GB, free: 9.066 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.409e-06/0.004894, allocations: 0 / 1.004 GB, free: 9.066 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0005336/0.005427, allocations: 0.496 MB / 1.004 GB, free: 8.539 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.087e-05/0.005458, allocations: 8.75 kB / 1.004 GB, free: 8.531 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.491e-05/0.005503, allocations: 50.73 kB / 1.005 GB, free: 8.473 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.757e-05/0.005551, allocations: 28.75 kB / 1.005 GB, free: 8.445 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000187/0.005738, allocations: 212.8 kB / 1.005 GB, free: 8.215 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.005752, allocations: 16.7 kB / 1.005 GB, free: 8.199 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/0.005771, allocations: 16.38 kB / 1.005 GB, free: 8.184 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002581/0.006029, allocations: 301.5 kB / 1.005 GB, free: 7.855 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.006037, allocations: 4.188 kB / 1.005 GB, free: 7.852 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.006053, allocations: 11.92 kB / 1.005 GB, free: 7.84 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.006058, allocations: 4 kB / 1.005 GB, free: 7.836 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005017/0.00656, allocations: 0.6907 MB / 1.006 GB, free: 7.145 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005965/0.007156, allocations: 0.531 MB / 1.006 GB, free: 6.566 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003281/0.007484, allocations: 280.2 kB / 1.007 GB, free: 6.281 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.578e-05/0.00758, allocations: 97.38 kB / 1.007 GB, free: 6.184 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 3.177e-05/0.007612, allocations: 16.25 kB / 1.007 GB, free: 6.168 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002104/0.007822, allocations: 176.9 kB / 1.007 GB, free: 5.984 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=35): time 1.403e-06/0.007824, allocations: 4 kB / 1.007 GB, free: 5.98 MB / 0.9636 GB Notification: Performance of matching and sorting (n=35): time 0.0004416/0.008265, allocations: 386.1 kB / 1.007 GB, free: 5.598 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.213e-05/0.008317, allocations: 136.5 kB / 1.007 GB, free: 5.434 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003038/0.008621, allocations: 309.7 kB / 1.008 GB, free: 5.121 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 5.429e-05/0.008675, allocations: 37.7 kB / 1.008 GB, free: 5.078 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 7.103e-05/0.008746, allocations: 128.7 kB / 1.008 GB, free: 4.949 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 8.249e-05/0.008829, allocations: 123 kB / 1.008 GB, free: 4.828 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.541e-05/0.008904, allocations: 69.64 kB / 1.008 GB, free: 4.754 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.484e-05/0.008989, allocations: 338.8 kB / 1.008 GB, free: 4.414 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.009109, allocations: 87.95 kB / 1.008 GB, free: 4.328 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001561/0.009265, allocations: 208.5 kB / 1.009 GB, free: 4.094 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002335/0.009498, allocations: 222 kB / 1.009 GB, free: 3.875 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.009502, allocations: 0 / 1.009 GB, free: 3.875 MB / 0.9636 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003194/0.009821, allocations: 286.2 kB / 1.009 GB, free: 3.59 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.009835, allocations: 8 kB / 1.009 GB, free: 3.582 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.009842, allocations: 3.938 kB / 1.009 GB, free: 3.578 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.009856, allocations: 0 / 1.009 GB, free: 3.578 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001586/0.01001, allocations: 59.91 kB / 1.009 GB, free: 3.52 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.01002, allocations: 4 kB / 1.009 GB, free: 3.516 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.7e-05/0.01012, allocations: 27.83 kB / 1.009 GB, free: 3.488 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.799e-05/0.01014, allocations: 19.98 kB / 1.009 GB, free: 3.469 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conTim.k,$PRE.conTim.k,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 (37): * Single equations (assignments): 37 * 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.0001126/0.01025, allocations: 165.7 kB / 1.009 GB, free: 3.297 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.284e-05/0.01028, allocations: 23.86 kB / 1.009 GB, free: 3.273 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004421/0.01072, allocations: 384.8 kB / 1.01 GB, free: 2.891 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.01073, allocations: 4 kB / 1.01 GB, free: 2.887 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.01073, allocations: 0 / 1.01 GB, free: 2.887 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.01074, allocations: 7.922 kB / 1.01 GB, free: 2.879 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002037/0.01094, allocations: 276.5 kB / 1.01 GB, free: 2.566 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.01094, allocations: 0 / 1.01 GB, free: 2.566 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.01105, allocations: 51.98 kB / 1.01 GB, free: 2.516 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.01105, allocations: 3.984 kB / 1.01 GB, free: 2.512 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.01106, allocations: 12 kB / 1.01 GB, free: 2.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.01107, allocations: 8 kB / 1.01 GB, free: 2.492 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.01107, allocations: 3.938 kB / 1.01 GB, free: 2.488 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003119/0.01138, allocations: 339.1 kB / 1.01 GB, free: 2.141 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.089e-05/0.01146, allocations: 67.67 kB / 1.01 GB, free: 2.074 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.614e-05/0.01149, allocations: 12 kB / 1.01 GB, free: 2.062 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.498e-05/0.01156, allocations: 15.98 kB / 1.01 GB, free: 2.047 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.494e-05/0.01161, allocations: 19.95 kB / 1.01 GB, free: 2.027 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.01162, allocations: 12 kB / 1.011 GB, free: 2.016 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.000135/0.01176, allocations: 245.2 kB / 1.011 GB, free: 1.781 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.6e-07/0.01176, allocations: 0 / 1.011 GB, free: 1.781 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002193/0.01198, allocations: 83.81 kB / 1.011 GB, free: 1.699 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,conTim.tNext,conTim.k) * Number of discrete states: 2 (conTim.k,conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001166/0.01314, allocations: 1.245 MB / 1.012 GB, free: 0.6172 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002893/0.01343, allocations: 231.4 kB / 1.012 GB, free: 400 kB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.01343, allocations: 0 / 1.012 GB, free: 400 kB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001215/0.01355, allocations: 124.4 kB / 1.012 GB, free: 276 kB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001936/0.01375, allocations: 28.5 kB / 1.012 GB, free: 248 kB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002264/0.01601, allocations: 2.558 MB / 1.015 GB, free: 13.59 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.644e-05/0.0161, allocations: 150.7 kB / 1.015 GB, free: 13.43 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.000186/0.01628, allocations: 146.9 kB / 1.015 GB, free: 13.29 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.01639, allocations: 100.5 kB / 1.015 GB, free: 13.19 MB / 0.9792 GB Notification: Performance of SimCode: time 6.82e-07/0.01639, allocations: 0 / 1.015 GB, free: 13.19 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01813/0.03452, allocations: 6.786 MB / 1.022 GB, free: 6.457 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.756/6.79, allocations: 18.38 kB / 1.022 GB, free: 6.441 MB / 0.9792 GB " [Timeout remaining time 293] (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 --stepSize=172.8 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) [Timeout 840.0] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.902628005482256]