Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001349/0.001349, allocations: 108.2 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.001452/0.001452, 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.437/1.437, 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 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.7/2.7, allocations: 476.7 MB / 0.7611 GB, free: 11.41 MB / 0.6231 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.Fluid.Delays.Examples.Delay,fileNamePrefix="Buildings_11_Buildings_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Delays.Examples.Delay,fileNamePrefix="Buildings_11_Buildings_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 71.88 kB / 1.104 GB, free: 9.246 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7791/0.781, allocations: 168.7 MB / 1.269 GB, free: 5.148 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.2106/0.9917, allocations: 183.9 MB / 1.448 GB, free: 12.57 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.008826/1, allocations: 4.894 MB / 1.453 GB, free: 7.668 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001311/1.002, allocations: 27.81 kB / 1.453 GB, free: 7.641 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001661/1.003, allocations: 453.3 kB / 1.454 GB, free: 7.195 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.004099/1.008, allocations: 1.47 MB / 1.455 GB, free: 5.723 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002317/1.01, allocations: 0.7893 MB / 1.456 GB, free: 4.938 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002941/1.013, allocations: 1.836 MB / 1.458 GB, free: 3.094 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001025/1.014, allocations: 0.5003 MB / 1.458 GB, free: 2.582 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002073/1.016, allocations: 0.8949 MB / 1.459 GB, free: 1.684 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001477/1.017, allocations: 0.5797 MB / 1.459 GB, free: 1.102 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001755/1.018, allocations: 60 kB / 1.46 GB, free: 1.043 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002945/1.021, allocations: 1.485 MB / 1.461 GB, free: 15.55 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0004171/1.021, allocations: 275 kB / 1.461 GB, free: 15.29 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0006937/1.022, allocations: 398.1 kB / 1.462 GB, free: 14.89 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002829/1.024, allocations: 1.425 MB / 1.463 GB, free: 13.46 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/1.024, allocations: 0 / 1.463 GB, free: 13.46 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.443e-06/1.024, allocations: 0 / 1.463 GB, free: 13.46 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.099e-05/1.024, allocations: 0 / 1.463 GB, free: 13.46 MB / 1.17 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.002026/1.026, allocations: 1.132 MB / 1.464 GB, free: 12.28 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/1.027, allocations: 8.031 kB / 1.464 GB, free: 12.27 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001175/1.027, allocations: 90.52 kB / 1.464 GB, free: 12.18 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001359/1.028, allocations: 215.3 kB / 1.464 GB, free: 11.96 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001115/1.029, allocations: 0.6205 MB / 1.465 GB, free: 11.3 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.038e-05/1.029, allocations: 37 kB / 1.465 GB, free: 11.26 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.157e-05/1.029, allocations: 55.94 kB / 1.465 GB, free: 11.21 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009102/1.03, allocations: 498.3 kB / 1.466 GB, free: 10.72 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/1.03, allocations: 0 / 1.466 GB, free: 10.72 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.563e-05/1.03, allocations: 16 kB / 1.466 GB, free: 10.7 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.965e-05/1.03, allocations: 17 kB / 1.466 GB, free: 10.69 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008015/1.031, allocations: 439.7 kB / 1.466 GB, free: 10.25 MB / 1.17 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.002888/1.034, allocations: 2.014 MB / 1.468 GB, free: 8.062 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006578/1.035, allocations: 332.1 kB / 1.468 GB, free: 7.73 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003482/1.035, allocations: 198.1 kB / 1.468 GB, free: 7.535 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003065/1.035, allocations: 194.5 kB / 1.469 GB, free: 7.309 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/1.035, allocations: 42.78 kB / 1.469 GB, free: 7.258 MB / 1.17 GB Notification: Performance of pre-optimization done (n=33): time 1.944e-06/1.035, allocations: 0 / 1.469 GB, free: 7.258 MB / 1.17 GB Notification: Performance of matching and sorting (n=33): time 0.001273/1.037, allocations: 0.5344 MB / 1.469 GB, free: 6.719 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.34e-05/1.037, allocations: 67.27 kB / 1.469 GB, free: 6.641 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006091/1.037, allocations: 0.503 MB / 1.47 GB, free: 6.125 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 4.692e-05/1.037, allocations: 45.64 kB / 1.47 GB, free: 6.074 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002341/1.038, allocations: 304.6 kB / 1.47 GB, free: 5.773 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001207/1.038, allocations: 123 kB / 1.47 GB, free: 5.652 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001215/1.038, allocations: 69.97 kB / 1.47 GB, free: 5.578 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001934/1.038, allocations: 366.8 kB / 1.471 GB, free: 5.211 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002843/1.038, allocations: 146.1 kB / 1.471 GB, free: 5.066 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003575/1.039, allocations: 223.6 kB / 1.471 GB, free: 4.824 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005866/1.039, allocations: 335.1 kB / 1.471 GB, free: 4.484 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/1.039, allocations: 0 / 1.471 GB, free: 4.484 MB / 1.17 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008113/1.04, allocations: 430.7 kB / 1.472 GB, free: 4.059 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/1.04, allocations: 10.19 kB / 1.472 GB, free: 4.051 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/1.04, allocations: 0 / 1.472 GB, free: 4.051 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/1.04, allocations: 4 kB / 1.472 GB, free: 4.047 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003529/1.04, allocations: 67.94 kB / 1.472 GB, free: 3.98 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/1.04, allocations: 11.98 kB / 1.472 GB, free: 3.969 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004589/1.041, allocations: 39.77 kB / 1.472 GB, free: 3.93 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.536e-05/1.041, allocations: 12 kB / 1.472 GB, free: 3.918 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004845/1.041, allocations: 308 kB / 1.472 GB, free: 3.613 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000341/1.042, allocations: 206.7 kB / 1.472 GB, free: 3.387 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005656/1.042, allocations: 335.3 kB / 1.473 GB, free: 3.047 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.262e-06/1.042, allocations: 0 / 1.473 GB, free: 3.047 MB / 1.17 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007451/1.043, allocations: 436.8 kB / 1.473 GB, free: 2.613 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/1.043, allocations: 4 kB / 1.473 GB, free: 2.609 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.984e-06/1.043, allocations: 0 / 1.473 GB, free: 2.609 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.49e-06/1.043, allocations: 4 kB / 1.473 GB, free: 2.605 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003268/1.043, allocations: 75.89 kB / 1.473 GB, free: 2.531 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/1.043, allocations: 3.938 kB / 1.473 GB, free: 2.527 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004243/1.044, allocations: 31.97 kB / 1.473 GB, free: 2.496 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.007e-05/1.044, allocations: 19.94 kB / 1.473 GB, free: 2.477 MB / 1.17 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.0001583/1.044, allocations: 192.2 kB / 1.473 GB, free: 2.281 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/1.044, allocations: 67.61 kB / 1.474 GB, free: 2.215 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007858/1.045, allocations: 412.2 kB / 1.474 GB, free: 1.805 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/1.045, allocations: 7.938 kB / 1.474 GB, free: 1.797 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/1.045, allocations: 0 / 1.474 GB, free: 1.797 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006699/1.046, allocations: 444.4 kB / 1.474 GB, free: 1.332 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00195/1.048, allocations: 1.18 MB / 1.475 GB, free: 80 kB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/1.048, allocations: 0 / 1.475 GB, free: 80 kB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004338/1.048, allocations: 83.97 kB / 1.476 GB, free: 15.99 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.153e-06/1.048, allocations: 4 kB / 1.476 GB, free: 15.99 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.799e-05/1.048, allocations: 12.11 kB / 1.476 GB, free: 15.98 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.928e-06/1.048, allocations: 8 kB / 1.476 GB, free: 15.97 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/1.048, allocations: 4 kB / 1.476 GB, free: 15.96 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001108/1.049, allocations: 0.7041 MB / 1.476 GB, free: 15.23 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002842/1.049, allocations: 180.7 kB / 1.476 GB, free: 15.03 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.169e-05/1.05, allocations: 8 kB / 1.476 GB, free: 15.02 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004477/1.05, allocations: 27.97 kB / 1.476 GB, free: 15 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.618e-05/1.05, allocations: 23.91 kB / 1.477 GB, free: 14.97 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.97e-05/1.05, allocations: 15.94 kB / 1.477 GB, free: 14.96 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0004465/1.05, allocations: 370.8 kB / 1.477 GB, free: 14.6 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/1.05, allocations: 0 / 1.477 GB, free: 14.6 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0008257/1.051, allocations: 331.3 kB / 1.477 GB, free: 14.27 MB / 1.186 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.001753/1.053, allocations: 1.355 MB / 1.479 GB, free: 12.89 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001034/1.054, allocations: 0.489 MB / 1.479 GB, free: 12.4 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/1.054, allocations: 0 / 1.479 GB, free: 12.4 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0003131/1.054, allocations: 175.8 kB / 1.479 GB, free: 12.23 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001521/1.056, allocations: 349.4 kB / 1.479 GB, free: 11.89 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006801/1.063, allocations: 4.663 MB / 1.484 GB, free: 7.09 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006046/1.063, allocations: 0.9334 MB / 1.485 GB, free: 6.129 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0006073/1.064, allocations: 180.8 kB / 1.485 GB, free: 5.953 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003072/1.064, allocations: 223.3 kB / 1.485 GB, free: 5.734 MB / 1.186 GB Notification: Performance of SimCode: time 1.062e-06/1.064, allocations: 0 / 1.485 GB, free: 5.734 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04651/1.111, allocations: 16.93 MB / 1.502 GB, free: 5.074 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.987/10.1, allocations: 7.938 kB / 1.502 GB, free: 5.066 MB / 1.201 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_11_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_11_Buildings.Fluid.Delays.Examples.Delay.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Delays.Examples.Delay_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Delays_Examples_Delay_fmu --startTime=0 --stopTime=300 --stepSize=0.12 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Delays_Examples_Delay.fmu > Buildings_11_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Delays.Examples.Delay_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Delays_Examples_Delay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.06411809194833]