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.001302/0.001302, allocations: 113 kB / 18.94 MB, free: 2.934 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.00169/0.00169, allocations: 211.8 kB / 22.25 MB, free: 5.086 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.485/1.485, allocations: 230.6 MB / 256 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] 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 3.252/3.252, allocations: 0.505 GB / 0.8101 GB, free: 22.06 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: 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.002179/0.002179, allocations: 75.05 kB / 1.177 GB, free: 17.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3519/0.3541, allocations: 180.2 MB / 1.353 GB, free: 8.457 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.00351/0.3576, allocations: 1.699 MB / 1.355 GB, free: 6.75 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002305/0.3599, allocations: 1.391 MB / 1.356 GB, free: 5.352 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.36, allocations: 0 / 1.356 GB, free: 5.352 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002651/0.3603, allocations: 31.77 kB / 1.356 GB, free: 5.32 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0004704/0.3608, allocations: 111.5 kB / 1.356 GB, free: 5.211 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004687/0.3612, allocations: 134.5 kB / 1.356 GB, free: 5.082 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003611/0.3616, allocations: 245.5 kB / 1.356 GB, free: 4.844 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.3617, allocations: 19.98 kB / 1.356 GB, free: 4.824 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001557/0.3619, allocations: 83.77 kB / 1.356 GB, free: 4.742 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002892/0.3622, allocations: 99.69 kB / 1.357 GB, free: 4.645 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.5e-05/0.3622, allocations: 24 kB / 1.357 GB, free: 4.621 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002597/0.3625, allocations: 127.9 kB / 1.357 GB, free: 4.496 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001188/0.3626, allocations: 91.73 kB / 1.357 GB, free: 4.406 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001239/0.3627, allocations: 103.4 kB / 1.357 GB, free: 4.305 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005223/0.3632, allocations: 330.6 kB / 1.357 GB, free: 3.98 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.3633, allocations: 4 kB / 1.357 GB, free: 3.977 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3633, allocations: 0 / 1.357 GB, free: 3.977 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.63e-05/0.3633, allocations: 0 / 1.357 GB, free: 3.977 MB / 1.045 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.0008915/0.3642, allocations: 493.6 kB / 1.358 GB, free: 3.461 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.3642, allocations: 12.03 kB / 1.358 GB, free: 3.449 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.912e-05/0.3643, allocations: 50.73 kB / 1.358 GB, free: 3.391 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.456e-05/0.3643, allocations: 32.69 kB / 1.358 GB, free: 3.359 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003243/0.3647, allocations: 209.1 kB / 1.358 GB, free: 3.133 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/0.3647, allocations: 20.31 kB / 1.358 GB, free: 3.113 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.913e-05/0.3647, allocations: 16.38 kB / 1.358 GB, free: 3.098 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003704/0.3651, allocations: 216.4 kB / 1.358 GB, free: 2.867 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.3651, allocations: 4 kB / 1.358 GB, free: 2.863 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.272e-05/0.3651, allocations: 8 kB / 1.358 GB, free: 2.855 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.3651, allocations: 4 kB / 1.358 GB, free: 2.852 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009072/0.366, allocations: 0.7373 MB / 1.359 GB, free: 2.113 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009244/0.367, allocations: 0.5465 MB / 1.359 GB, free: 1.52 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005156/0.3675, allocations: 275.7 kB / 1.36 GB, free: 1.242 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001582/0.3676, allocations: 97.38 kB / 1.36 GB, free: 1.145 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.951e-05/0.3677, allocations: 24.19 kB / 1.36 GB, free: 1.121 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003579/0.368, allocations: 180.8 kB / 1.36 GB, free: 0.9336 MB / 1.045 GB Notification: Performance of pre-optimization done (n=34): time 1.723e-06/0.368, allocations: 3.938 kB / 1.36 GB, free: 0.9297 MB / 1.045 GB Notification: Performance of matching and sorting (n=34): time 0.0007133/0.3688, allocations: 369.3 kB / 1.36 GB, free: 0.5625 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.68e-05/0.3688, allocations: 132.5 kB / 1.361 GB, free: 412 kB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003304/0.3692, allocations: 316.9 kB / 1.361 GB, free: 80 kB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.174e-05/0.3692, allocations: 37.64 kB / 1.361 GB, free: 36 kB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.3693, allocations: 128.7 kB / 1.361 GB, free: 15.91 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/0.3694, allocations: 115 kB / 1.361 GB, free: 15.79 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.641e-05/0.3695, allocations: 65.69 kB / 1.361 GB, free: 15.72 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.3697, allocations: 334.8 kB / 1.361 GB, free: 15.39 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001499/0.3698, allocations: 83.95 kB / 1.362 GB, free: 15.3 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002097/0.37, allocations: 131.4 kB / 1.362 GB, free: 15.16 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004125/0.3705, allocations: 209.6 kB / 1.362 GB, free: 14.96 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.3705, allocations: 0 / 1.362 GB, free: 14.96 MB / 1.061 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004778/0.3709, allocations: 285.3 kB / 1.362 GB, free: 14.67 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.371, allocations: 7.938 kB / 1.362 GB, free: 14.66 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.371, allocations: 0 / 1.362 GB, free: 14.66 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.371, allocations: 4 kB / 1.362 GB, free: 14.66 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002311/0.3712, allocations: 55.97 kB / 1.362 GB, free: 14.61 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.3712, allocations: 0 / 1.362 GB, free: 14.61 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001673/0.3714, allocations: 35.75 kB / 1.362 GB, free: 14.57 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.633e-05/0.3714, allocations: 12 kB / 1.362 GB, free: 14.56 MB / 1.061 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.0001744/0.3716, allocations: 169.6 kB / 1.362 GB, free: 14.38 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.162e-05/0.3716, allocations: 31.8 kB / 1.362 GB, free: 14.35 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007454/0.3724, allocations: 378 kB / 1.363 GB, free: 13.98 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.3724, allocations: 4 kB / 1.363 GB, free: 13.97 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.3724, allocations: 0 / 1.363 GB, free: 13.97 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.3724, allocations: 7.984 kB / 1.363 GB, free: 13.96 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003519/0.3728, allocations: 312.4 kB / 1.363 GB, free: 13.62 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.3728, allocations: 0 / 1.363 GB, free: 13.62 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001828/0.3729, allocations: 55.91 kB / 1.363 GB, free: 13.56 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.3729, allocations: 4 kB / 1.363 GB, free: 13.56 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.085e-05/0.373, allocations: 11.98 kB / 1.363 GB, free: 13.55 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/0.373, allocations: 4 kB / 1.363 GB, free: 13.54 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.373, allocations: 4 kB / 1.363 GB, free: 13.54 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005155/0.3735, allocations: 322.3 kB / 1.364 GB, free: 13.2 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001426/0.3736, allocations: 67.69 kB / 1.364 GB, free: 13.14 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.405e-05/0.3737, allocations: 11.98 kB / 1.364 GB, free: 13.12 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.3738, allocations: 15.94 kB / 1.364 GB, free: 13.11 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.599e-05/0.3739, allocations: 31.89 kB / 1.364 GB, free: 13.08 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.712e-05/0.3739, allocations: 11.98 kB / 1.364 GB, free: 13.07 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002416/0.3742, allocations: 244.4 kB / 1.364 GB, free: 12.83 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.3742, allocations: 0 / 1.364 GB, free: 12.83 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003259/0.3745, allocations: 75.81 kB / 1.364 GB, free: 12.75 MB / 1.061 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.002361/0.3768, allocations: 1.202 MB / 1.365 GB, free: 11.69 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004479/0.3773, allocations: 223.8 kB / 1.365 GB, free: 11.47 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.3773, allocations: 0 / 1.365 GB, free: 11.47 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002134/0.3775, allocations: 123.8 kB / 1.365 GB, free: 11.35 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002884/0.3778, allocations: 45.19 kB / 1.366 GB, free: 11.31 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003219/0.381, allocations: 2.499 MB / 1.368 GB, free: 8.723 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003913/0.3814, allocations: 0.7652 MB / 1.369 GB, free: 7.934 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0003436/0.3817, allocations: 146.9 kB / 1.369 GB, free: 7.789 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001597/0.3819, allocations: 99.39 kB / 1.369 GB, free: 7.691 MB / 1.061 GB Notification: Performance of SimCode: time 4e-07/0.3819, allocations: 0 / 1.369 GB, free: 7.691 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03885/0.4208, allocations: 6.262 MB / 1.375 GB, free: 1.477 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.96, allocations: 8.594 kB / 1.375 GB, free: 1.473 MB / 1.061 GB " [Timeout remaining time 288] (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/jenkins1/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: 19.212884093169123]