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.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.001368/0.001368, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001614/0.001614, allocations: 212.8 kB / 22.25 MB, free: 5.258 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.469/1.469, allocations: 230.6 MB / 256 MB, free: 7.793 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.323/3.323, allocations: 0.5107 GB / 0.8158 GB, free: 17.79 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.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: 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.002112/0.002112, allocations: 69.41 kB / 1.186 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4093/0.4114, allocations: 181.9 MB / 1.363 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.2184/0.6298, allocations: 162 MB / 1.522 GB, free: 11.46 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.009444/0.6392, allocations: 4.579 MB / 1.526 GB, free: 6.875 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001342/0.6406, allocations: 43.62 kB / 1.526 GB, free: 6.832 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001609/0.6422, allocations: 417.4 kB / 1.526 GB, free: 6.422 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.004802/0.647, allocations: 1.466 MB / 1.528 GB, free: 4.949 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.002802/0.6498, allocations: 0.784 MB / 1.529 GB, free: 4.172 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.003913/0.6537, allocations: 1.881 MB / 1.531 GB, free: 2.285 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00133/0.655, allocations: 480.9 kB / 1.531 GB, free: 1.801 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003717/0.6588, allocations: 1.125 MB / 1.532 GB, free: 0.6719 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001982/0.6607, allocations: 0.546 MB / 1.533 GB, free: 128 kB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0003035/0.661, allocations: 60 kB / 1.533 GB, free: 68 kB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00327/0.6643, allocations: 1.153 MB / 1.534 GB, free: 14.91 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0005948/0.6649, allocations: 275.1 kB / 1.534 GB, free: 14.64 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.001101/0.666, allocations: 334.5 kB / 1.534 GB, free: 14.31 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.004032/0.67, allocations: 1.398 MB / 1.536 GB, free: 12.91 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.67, allocations: 0 / 1.536 GB, free: 12.91 MB / 1.232 GB Notification: Performance of FrontEnd: time 2.545e-06/0.67, allocations: 3.938 kB / 1.536 GB, free: 12.91 MB / 1.232 GB Notification: Performance of Transformations before backend: time 4.079e-05/0.6701, allocations: 0 / 1.536 GB, free: 12.91 MB / 1.232 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.00254/0.6726, allocations: 1.052 MB / 1.537 GB, free: 11.82 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.6727, allocations: 16.03 kB / 1.537 GB, free: 11.8 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001485/0.6728, allocations: 90.45 kB / 1.537 GB, free: 11.71 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001488/0.6743, allocations: 215.2 kB / 1.537 GB, free: 11.5 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00132/0.6756, allocations: 0.5484 MB / 1.538 GB, free: 10.93 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.429e-05/0.6757, allocations: 37 kB / 1.538 GB, free: 10.89 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/0.6758, allocations: 48 kB / 1.538 GB, free: 10.84 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/0.6769, allocations: 0.6411 MB / 1.538 GB, free: 10.16 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.521e-05/0.6769, allocations: 8 kB / 1.538 GB, free: 10.15 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.183e-05/0.677, allocations: 23.98 kB / 1.538 GB, free: 10.13 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.134e-05/0.677, allocations: 17 kB / 1.538 GB, free: 10.11 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009025/0.6779, allocations: 439.6 kB / 1.539 GB, free: 9.684 MB / 1.232 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.003006/0.6809, allocations: 1.316 MB / 1.54 GB, free: 8.316 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007163/0.6816, allocations: 336.6 kB / 1.54 GB, free: 7.98 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003707/0.682, allocations: 201.2 kB / 1.541 GB, free: 7.781 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002369/0.6822, allocations: 32.25 kB / 1.541 GB, free: 7.75 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/0.6823, allocations: 42.78 kB / 1.541 GB, free: 7.699 MB / 1.232 GB Notification: Performance of pre-optimization done (n=33): time 2.725e-06/0.6823, allocations: 0 / 1.541 GB, free: 7.699 MB / 1.232 GB Notification: Performance of matching and sorting (n=33): time 0.001445/0.6837, allocations: 0.5383 MB / 1.541 GB, free: 7.156 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.746e-05/0.6838, allocations: 71.27 kB / 1.541 GB, free: 7.074 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007631/0.6845, allocations: 0.5108 MB / 1.542 GB, free: 6.551 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 6.448e-05/0.6846, allocations: 33.64 kB / 1.542 GB, free: 6.512 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002784/0.6849, allocations: 308.6 kB / 1.542 GB, free: 6.207 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001818/0.6851, allocations: 130.9 kB / 1.542 GB, free: 6.078 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001356/0.6852, allocations: 65.98 kB / 1.542 GB, free: 6.008 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001976/0.6854, allocations: 370.8 kB / 1.543 GB, free: 5.637 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003105/0.6857, allocations: 142.1 kB / 1.543 GB, free: 5.496 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004676/0.6862, allocations: 369.8 kB / 1.543 GB, free: 5.074 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006442/0.6868, allocations: 351.5 kB / 1.543 GB, free: 4.719 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.6868, allocations: 0 / 1.543 GB, free: 4.719 MB / 1.232 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008619/0.6877, allocations: 425 kB / 1.544 GB, free: 4.297 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.6877, allocations: 8 kB / 1.544 GB, free: 4.289 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.054e-06/0.6877, allocations: 0 / 1.544 GB, free: 4.289 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.6877, allocations: 4 kB / 1.544 GB, free: 4.285 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003569/0.6881, allocations: 75.81 kB / 1.544 GB, free: 4.211 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.6881, allocations: 8.094 kB / 1.544 GB, free: 4.203 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005116/0.6886, allocations: 39.77 kB / 1.544 GB, free: 4.164 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-05/0.6886, allocations: 11.98 kB / 1.544 GB, free: 4.152 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000549/0.6892, allocations: 308 kB / 1.544 GB, free: 3.848 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000456/0.6896, allocations: 365.6 kB / 1.545 GB, free: 3.43 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006106/0.6903, allocations: 335.3 kB / 1.545 GB, free: 3.09 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.475e-06/0.6903, allocations: 0 / 1.545 GB, free: 3.09 MB / 1.232 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0008497/0.6911, allocations: 428.9 kB / 1.545 GB, free: 2.664 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.6911, allocations: 8 kB / 1.545 GB, free: 2.656 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.6911, allocations: 0 / 1.545 GB, free: 2.656 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.253e-06/0.6911, allocations: 4 kB / 1.545 GB, free: 2.652 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003315/0.6915, allocations: 72 kB / 1.545 GB, free: 2.582 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.6915, allocations: 7.938 kB / 1.545 GB, free: 2.574 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005034/0.692, allocations: 31.86 kB / 1.545 GB, free: 2.543 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.221e-05/0.692, allocations: 12 kB / 1.545 GB, free: 2.531 MB / 1.232 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.000192/0.6922, allocations: 200.9 kB / 1.546 GB, free: 2.328 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001687/0.6924, allocations: 63.58 kB / 1.546 GB, free: 2.266 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009163/0.6933, allocations: 419 kB / 1.546 GB, free: 1.852 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.816e-06/0.6933, allocations: 11.94 kB / 1.546 GB, free: 1.84 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.6933, allocations: 0 / 1.546 GB, free: 1.84 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006756/0.694, allocations: 429.6 kB / 1.547 GB, free: 1.391 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002091/0.6961, allocations: 1.076 MB / 1.548 GB, free: 252 kB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/0.6961, allocations: 8.156 kB / 1.548 GB, free: 244 kB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004385/0.6965, allocations: 91.88 kB / 1.548 GB, free: 152 kB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.718e-06/0.6965, allocations: 4 kB / 1.548 GB, free: 148 kB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.534e-05/0.6966, allocations: 8 kB / 1.548 GB, free: 140 kB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.6966, allocations: 0 / 1.548 GB, free: 140 kB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.6966, allocations: 4 kB / 1.548 GB, free: 136 kB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001236/0.6978, allocations: 0.7071 MB / 1.548 GB, free: 15.39 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003281/0.6981, allocations: 99.56 kB / 1.548 GB, free: 15.29 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/0.6982, allocations: 12 kB / 1.549 GB, free: 15.28 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004912/0.6987, allocations: 23.97 kB / 1.549 GB, free: 15.26 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.223e-05/0.6988, allocations: 31.89 kB / 1.549 GB, free: 15.23 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.712e-05/0.6988, allocations: 11.94 kB / 1.549 GB, free: 15.21 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0005117/0.6994, allocations: 366.8 kB / 1.549 GB, free: 14.86 MB / 1.248 GB Notification: Performance of sort global known variables: time 8e-08/0.6994, allocations: 0 / 1.549 GB, free: 14.86 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0009914/0.7003, allocations: 331.3 kB / 1.549 GB, free: 14.54 MB / 1.248 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.001818/0.7022, allocations: 1.326 MB / 1.551 GB, free: 13.16 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.001116/0.7033, allocations: 0.4953 MB / 1.551 GB, free: 12.67 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.7033, allocations: 0 / 1.551 GB, free: 12.67 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0003472/0.7036, allocations: 176.2 kB / 1.551 GB, free: 12.5 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001815/0.7054, allocations: 361.9 kB / 1.552 GB, free: 12.15 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00756/0.713, allocations: 4.662 MB / 1.556 GB, free: 7.352 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004254/0.7134, allocations: 336.5 kB / 1.556 GB, free: 6.996 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0006889/0.7141, allocations: 184.8 kB / 1.557 GB, free: 6.816 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000368/0.7145, allocations: 219.4 kB / 1.557 GB, free: 6.602 MB / 1.248 GB Notification: Performance of SimCode: time 1.072e-06/0.7145, allocations: 0 / 1.557 GB, free: 6.602 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0573/0.7718, allocations: 18.8 MB / 1.575 GB, free: 4.23 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.83/12.61, allocations: 8.047 kB / 1.575 GB, free: 4.223 MB / 1.264 GB " [Timeout remaining time 287] (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/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: 19.609602026175708]