Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.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.001807/0.001807, allocations: 109 kB / 16.46 MB, free: 6.035 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.002111/0.002111, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.449/1.449, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.147/3.147, allocations: 497.2 MB / 0.7811 GB, free: 33.66 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Fluid.Delays.Examples.Delay,fileNamePrefix="Buildings_latest_Buildings_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Delays.Examples.Delay,fileNamePrefix="Buildings_latest_Buildings_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 63.61 kB / 1.134 GB, free: 33.92 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.3494, allocations: 173.9 MB / 1.304 GB, free: 1.641 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.215/0.5644, allocations: 183.9 MB / 1.484 GB, free: 9.02 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.008783/0.5732, allocations: 4.895 MB / 1.488 GB, free: 4.113 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001145/0.5743, allocations: 31.81 kB / 1.488 GB, free: 4.082 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001424/0.5757, allocations: 449.4 kB / 1.489 GB, free: 3.641 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.003981/0.5797, allocations: 1.462 MB / 1.49 GB, free: 2.172 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002309/0.582, allocations: 0.7865 MB / 1.491 GB, free: 1.391 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.00278/0.5848, allocations: 1.844 MB / 1.493 GB, free: 15.54 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001049/0.5859, allocations: 0.5081 MB / 1.493 GB, free: 15.02 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002997/0.5889, allocations: 1.105 MB / 1.494 GB, free: 13.91 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001757/0.5906, allocations: 0.5662 MB / 1.495 GB, free: 13.34 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002155/0.5908, allocations: 60 kB / 1.495 GB, free: 13.29 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003235/0.5941, allocations: 1.465 MB / 1.496 GB, free: 11.82 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0005211/0.5946, allocations: 279.1 kB / 1.497 GB, free: 11.54 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0008545/0.5954, allocations: 398.1 kB / 1.497 GB, free: 11.15 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.003318/0.5988, allocations: 1.425 MB / 1.498 GB, free: 9.723 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.5988, allocations: 0 / 1.498 GB, free: 9.723 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.064e-06/0.5988, allocations: 0 / 1.498 GB, free: 9.723 MB / 1.201 GB Notification: Performance of Transformations before backend: time 4.44e-05/0.5988, allocations: 0 / 1.498 GB, free: 9.723 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002846/0.6017, allocations: 1.124 MB / 1.5 GB, free: 8.547 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.407e-05/0.6017, allocations: 12.56 kB / 1.5 GB, free: 8.535 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001554/0.6019, allocations: 90.45 kB / 1.5 GB, free: 8.438 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001507/0.6034, allocations: 215.2 kB / 1.5 GB, free: 8.227 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001304/0.6047, allocations: 0.6167 MB / 1.5 GB, free: 7.566 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.333e-05/0.6047, allocations: 37 kB / 1.5 GB, free: 7.531 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.839e-05/0.6048, allocations: 51.98 kB / 1.501 GB, free: 7.48 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009988/0.6058, allocations: 0.4906 MB / 1.501 GB, free: 6.988 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.546e-05/0.6059, allocations: 0 / 1.501 GB, free: 6.988 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.636e-05/0.6059, allocations: 16 kB / 1.501 GB, free: 6.973 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.404e-05/0.6059, allocations: 20.98 kB / 1.501 GB, free: 6.949 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008901/0.6068, allocations: 439.7 kB / 1.501 GB, free: 6.523 MB / 1.201 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003418/0.6103, allocations: 2.089 MB / 1.504 GB, free: 4.234 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000678/0.6109, allocations: 329.4 kB / 1.504 GB, free: 3.906 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003554/0.6113, allocations: 201.3 kB / 1.504 GB, free: 3.707 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003206/0.6116, allocations: 190.5 kB / 1.504 GB, free: 3.484 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.351e-05/0.6116, allocations: 38.84 kB / 1.504 GB, free: 3.438 MB / 1.201 GB Notification: Performance of pre-optimization done (n=33): time 1.803e-06/0.6116, allocations: 0 / 1.504 GB, free: 3.438 MB / 1.201 GB Notification: Performance of matching and sorting (n=33): time 0.001352/0.613, allocations: 0.5431 MB / 1.505 GB, free: 2.891 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.594e-05/0.6131, allocations: 67.22 kB / 1.505 GB, free: 2.812 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007428/0.6138, allocations: 0.5069 MB / 1.505 GB, free: 2.293 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 5.357e-05/0.6138, allocations: 33.7 kB / 1.505 GB, free: 2.254 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002792/0.6141, allocations: 304.6 kB / 1.506 GB, free: 1.953 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001531/0.6143, allocations: 126.9 kB / 1.506 GB, free: 1.828 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001433/0.6144, allocations: 70.02 kB / 1.506 GB, free: 1.754 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001923/0.6146, allocations: 362.7 kB / 1.506 GB, free: 1.391 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002951/0.6149, allocations: 146.1 kB / 1.506 GB, free: 1.246 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003532/0.6153, allocations: 219.7 kB / 1.507 GB, free: 1.008 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006273/0.6159, allocations: 337 kB / 1.507 GB, free: 0.668 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.441e-06/0.6159, allocations: 8.062 kB / 1.507 GB, free: 0.6602 MB / 1.201 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008237/0.6167, allocations: 433 kB / 1.507 GB, free: 236 kB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.6167, allocations: 4 kB / 1.507 GB, free: 232 kB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.6167, allocations: 4 kB / 1.507 GB, free: 228 kB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.6168, allocations: 0 / 1.507 GB, free: 228 kB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003501/0.6171, allocations: 71.84 kB / 1.507 GB, free: 156 kB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.6171, allocations: 4 kB / 1.507 GB, free: 152 kB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004898/0.6176, allocations: 47.84 kB / 1.507 GB, free: 104 kB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.735e-05/0.6177, allocations: 8 kB / 1.507 GB, free: 96 kB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004953/0.6182, allocations: 308 kB / 1.508 GB, free: 15.79 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003291/0.6185, allocations: 211.4 kB / 1.508 GB, free: 15.56 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005669/0.619, allocations: 335.2 kB / 1.508 GB, free: 15.22 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.119e-06/0.6191, allocations: 4 kB / 1.508 GB, free: 15.21 MB / 1.217 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007778/0.6198, allocations: 421 kB / 1.509 GB, free: 14.8 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.6198, allocations: 8 kB / 1.509 GB, free: 14.79 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.775e-06/0.6198, allocations: 0 / 1.509 GB, free: 14.79 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.151e-06/0.6199, allocations: 4 kB / 1.509 GB, free: 14.79 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003182/0.6202, allocations: 67.91 kB / 1.509 GB, free: 14.72 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.6202, allocations: 7.938 kB / 1.509 GB, free: 14.71 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004605/0.6206, allocations: 31.86 kB / 1.509 GB, free: 14.68 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.177e-05/0.6207, allocations: 12 kB / 1.509 GB, free: 14.67 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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.000185/0.6209, allocations: 204.9 kB / 1.509 GB, free: 14.46 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001289/0.621, allocations: 63.58 kB / 1.509 GB, free: 14.4 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008628/0.6219, allocations: 423.2 kB / 1.509 GB, free: 13.98 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/0.6219, allocations: 7.938 kB / 1.509 GB, free: 13.97 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.6219, allocations: 3.938 kB / 1.509 GB, free: 13.96 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006547/0.6225, allocations: 440.2 kB / 1.51 GB, free: 13.5 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002006/0.6245, allocations: 1.175 MB / 1.511 GB, free: 12.25 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/0.6245, allocations: 8.188 kB / 1.511 GB, free: 12.25 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004236/0.625, allocations: 83.89 kB / 1.511 GB, free: 12.16 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.136e-06/0.625, allocations: 4 kB / 1.511 GB, free: 12.16 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.027e-05/0.625, allocations: 8 kB / 1.511 GB, free: 12.15 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/0.625, allocations: 4 kB / 1.511 GB, free: 12.15 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.838e-06/0.625, allocations: 3.938 kB / 1.511 GB, free: 12.14 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001142/0.6261, allocations: 0.6965 MB / 1.512 GB, free: 11.41 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003217/0.6265, allocations: 180.7 kB / 1.512 GB, free: 11.22 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.997e-05/0.6266, allocations: 16 kB / 1.512 GB, free: 11.2 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004465/0.627, allocations: 23.97 kB / 1.512 GB, free: 11.18 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.977e-05/0.6271, allocations: 27.97 kB / 1.512 GB, free: 11.15 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.433e-05/0.6271, allocations: 19.94 kB / 1.512 GB, free: 11.13 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.000485/0.6276, allocations: 362.8 kB / 1.512 GB, free: 10.78 MB / 1.217 GB Notification: Performance of sort global known variables: time 7e-08/0.6276, allocations: 0 / 1.512 GB, free: 10.78 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0008833/0.6285, allocations: 323.4 kB / 1.513 GB, free: 10.46 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (del.dynBal.medium.Xi[1],del.dynBal.U,del.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 33 * 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 Backend phase and start with SimCode phase: time 0.001793/0.6303, allocations: 1.358 MB / 1.514 GB, free: 9.074 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001034/0.6313, allocations: 495.9 kB / 1.514 GB, free: 8.59 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.6313, allocations: 4 kB / 1.514 GB, free: 8.586 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0003183/0.6316, allocations: 175.9 kB / 1.515 GB, free: 8.414 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001608/0.6332, allocations: 348.4 kB / 1.515 GB, free: 8.078 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007362/0.6406, allocations: 4.669 MB / 1.52 GB, free: 3.262 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007576/0.6414, allocations: 0.9295 MB / 1.52 GB, free: 2.305 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0006792/0.642, allocations: 188.8 kB / 1.521 GB, free: 2.121 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003692/0.6424, allocations: 219.4 kB / 1.521 GB, free: 1.906 MB / 1.217 GB Notification: Performance of SimCode: time 1.302e-06/0.6424, allocations: 0 / 1.521 GB, free: 1.906 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0508/0.6932, allocations: 16.92 MB / 1.537 GB, free: 1.238 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.874/9.568, allocations: 8.281 kB / 1.537 GB, free: 1.23 MB / 1.232 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Delays.Examples.Delay_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Delays_Examples_Delay_fmu --startTime=0 --stopTime=300 --stepSize=0.12 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Delays_Examples_Delay.fmu > Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Delays.Examples.Delay_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Delays_Examples_Delay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.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: 16.3052125480026]