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.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.002052/0.002052, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 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.002391/0.002391, allocations: 214.8 kB / 22.25 MB, free: 5.125 MB / 14.72 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 1.526/1.526, allocations: 230.6 MB / 256 MB, free: 7.922 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.754/2.754, allocations: 476.8 MB / 0.7707 GB, free: 4.273 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 64.83 kB / 1.117 GB, free: 40.28 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3249/0.3269, allocations: 169.9 MB / 1.283 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.00323/0.3301, allocations: 1.702 MB / 1.285 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002297/0.3324, allocations: 1.391 MB / 1.286 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.952e-05/0.3325, allocations: 7.938 kB / 1.286 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002431/0.3328, allocations: 15.86 kB / 1.286 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004064/0.3332, allocations: 119.5 kB / 1.287 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004046/0.3336, allocations: 144 kB / 1.287 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003279/0.3339, allocations: 241.6 kB / 1.287 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.334, allocations: 15.98 kB / 1.287 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001323/0.3341, allocations: 87.69 kB / 1.287 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002543/0.3344, allocations: 95.77 kB / 1.287 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.664e-05/0.3344, allocations: 16 kB / 1.287 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002302/0.3347, allocations: 131.9 kB / 1.287 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001092/0.3348, allocations: 87.75 kB / 1.287 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001167/0.3349, allocations: 103.4 kB / 1.287 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005246/0.3354, allocations: 334.8 kB / 1.288 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.3354, allocations: 0 / 1.288 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.923e-06/0.3354, allocations: 0 / 1.288 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.604e-06/0.3354, allocations: 0 / 1.288 GB, free: 7.301 MB / 0.9825 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.001097/0.3365, allocations: 499 kB / 1.288 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.846e-05/0.3366, allocations: 12.03 kB / 1.288 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.114e-05/0.3367, allocations: 54.67 kB / 1.288 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001037/0.3368, allocations: 36.75 kB / 1.288 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003834/0.3371, allocations: 209.1 kB / 1.289 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.345e-05/0.3372, allocations: 12.38 kB / 1.289 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.696e-05/0.3372, allocations: 16.36 kB / 1.289 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004196/0.3376, allocations: 218.2 kB / 1.289 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.3376, allocations: 4 kB / 1.289 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.587e-05/0.3377, allocations: 4 kB / 1.289 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.896e-06/0.3377, allocations: 8 kB / 1.289 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001059/0.3387, allocations: 0.7372 MB / 1.289 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001069/0.3398, allocations: 0.5502 MB / 1.29 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005298/0.3403, allocations: 288.6 kB / 1.29 GB, free: 4.543 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001813/0.3405, allocations: 93.38 kB / 1.29 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.529e-05/0.3406, allocations: 24.25 kB / 1.29 GB, free: 4.426 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005882/0.3412, allocations: 172.9 kB / 1.291 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=34): time 2.244e-06/0.3412, allocations: 0 / 1.291 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of matching and sorting (n=34): time 0.0007913/0.342, allocations: 366.7 kB / 1.291 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/0.3421, allocations: 136.5 kB / 1.291 GB, free: 3.719 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003414/0.3424, allocations: 316.9 kB / 1.291 GB, free: 3.402 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.063e-05/0.3424, allocations: 29.7 kB / 1.291 GB, free: 3.367 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.3425, allocations: 128.8 kB / 1.292 GB, free: 3.238 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001133/0.3426, allocations: 122.9 kB / 1.292 GB, free: 3.117 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.3428, allocations: 69.69 kB / 1.292 GB, free: 3.043 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001711/0.3429, allocations: 342.8 kB / 1.292 GB, free: 2.699 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001453/0.3431, allocations: 75.95 kB / 1.292 GB, free: 2.625 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002019/0.3433, allocations: 123.4 kB / 1.292 GB, free: 2.492 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003649/0.3436, allocations: 219.5 kB / 1.292 GB, free: 2.277 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.3436, allocations: 11.94 kB / 1.292 GB, free: 2.266 MB / 0.9825 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004893/0.3441, allocations: 285.1 kB / 1.293 GB, free: 1.98 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.3442, allocations: 4 kB / 1.293 GB, free: 1.977 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.86e-06/0.3442, allocations: 0 / 1.293 GB, free: 1.977 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.385e-05/0.3442, allocations: 4 kB / 1.293 GB, free: 1.973 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002512/0.3444, allocations: 55.91 kB / 1.293 GB, free: 1.918 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.3444, allocations: 4 kB / 1.293 GB, free: 1.914 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001605/0.3446, allocations: 27.81 kB / 1.293 GB, free: 1.887 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.868e-05/0.3446, allocations: 15.98 kB / 1.293 GB, free: 1.871 MB / 0.9825 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.0002055/0.3448, allocations: 165.8 kB / 1.293 GB, free: 1.699 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.986e-05/0.3449, allocations: 27.81 kB / 1.293 GB, free: 1.672 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007528/0.3457, allocations: 377.2 kB / 1.293 GB, free: 1.297 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.233e-06/0.3457, allocations: 4 kB / 1.293 GB, free: 1.293 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.3457, allocations: 0 / 1.293 GB, free: 1.293 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/0.3457, allocations: 7.922 kB / 1.293 GB, free: 1.285 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004309/0.3461, allocations: 308.4 kB / 1.294 GB, free: 0.9414 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3461, allocations: 0 / 1.294 GB, free: 0.9414 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001906/0.3463, allocations: 59.91 kB / 1.294 GB, free: 0.8828 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.3463, allocations: 0 / 1.294 GB, free: 0.8828 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.022e-05/0.3463, allocations: 8 kB / 1.294 GB, free: 0.875 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.3463, allocations: 8 kB / 1.294 GB, free: 0.8672 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.3463, allocations: 0 / 1.294 GB, free: 0.8672 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000533/0.3469, allocations: 322 kB / 1.294 GB, free: 0.5312 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001533/0.347, allocations: 71.69 kB / 1.294 GB, free: 472 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.892e-05/0.3471, allocations: 4 kB / 1.294 GB, free: 468 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.3472, allocations: 19.98 kB / 1.294 GB, free: 448 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.758e-05/0.3473, allocations: 27.89 kB / 1.294 GB, free: 420 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.838e-05/0.3473, allocations: 19.98 kB / 1.294 GB, free: 400 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002693/0.3476, allocations: 236.5 kB / 1.294 GB, free: 164 kB / 0.9825 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3476, allocations: 0 / 1.294 GB, free: 164 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003501/0.3479, allocations: 83.8 kB / 1.294 GB, free: 80 kB / 0.9825 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.002573/0.3505, allocations: 1.206 MB / 1.296 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005082/0.351, allocations: 215.8 kB / 1.296 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.351, allocations: 0 / 1.296 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002176/0.3512, allocations: 127.8 kB / 1.296 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003289/0.3516, allocations: 38.61 kB / 1.296 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00362/0.3552, allocations: 2.511 MB / 1.298 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005677/0.3557, allocations: 0.7581 MB / 1.299 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000368/0.3561, allocations: 150.9 kB / 1.299 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001952/0.3563, allocations: 95.39 kB / 1.299 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of SimCode: time 1.092e-06/0.3563, allocations: 4 kB / 1.299 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03696/0.3933, allocations: 6.256 MB / 1.306 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.48, allocations: 12.36 kB / 1.306 GB, free: 4.809 MB / 0.9981 GB " [Timeout remaining time 288] (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/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: 18.175072986166924]