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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) 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: translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|del.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Delays.Examples.Delay") translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|del.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Delays.Examples.Delay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 106.4 kB / 16.41 MB, free: 6.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001275/0.001276, allocations: 189.2 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.817/2.817, allocations: 474.5 MB / 0.7477 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 63.91 kB / 1.073 GB, free: 7.254 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9524/0.9543, allocations: 160.3 MB / 1.229 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.2245/1.179, allocations: 183.3 MB / 1.408 GB, free: 3.047 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.008715/1.188, allocations: 4.869 MB / 1.413 GB, free: 14.17 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009546/1.189, allocations: 31.81 kB / 1.413 GB, free: 14.14 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001278/1.19, allocations: 453.3 kB / 1.413 GB, free: 13.69 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.003839/1.194, allocations: 1.474 MB / 1.415 GB, free: 12.21 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0023/1.196, allocations: 0.7892 MB / 1.416 GB, free: 11.43 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.00288/1.199, allocations: 1.844 MB / 1.417 GB, free: 9.582 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009039/1.2, allocations: 0.594 MB / 1.418 GB, free: 8.973 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002055/1.202, allocations: 0.895 MB / 1.419 GB, free: 8.074 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001191/1.203, allocations: 0.5471 MB / 1.419 GB, free: 7.531 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 9.946e-05/1.203, allocations: 56 kB / 1.419 GB, free: 7.477 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002799/1.206, allocations: 1.426 MB / 1.421 GB, free: 6.047 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0003209/1.206, allocations: 263.3 kB / 1.421 GB, free: 5.789 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0006095/1.207, allocations: 402 kB / 1.421 GB, free: 5.395 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.003633/1.211, allocations: 1.418 MB / 1.423 GB, free: 3.973 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/1.211, allocations: 0 / 1.423 GB, free: 3.973 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.104e-06/1.211, allocations: 3.938 kB / 1.423 GB, free: 3.969 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.204e-05/1.211, allocations: 0 / 1.423 GB, free: 3.969 MB / 1.139 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.002024/1.213, allocations: 1.132 MB / 1.424 GB, free: 2.785 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/1.213, allocations: 8.031 kB / 1.424 GB, free: 2.777 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001303/1.214, allocations: 215.2 kB / 1.424 GB, free: 2.566 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001027/1.215, allocations: 0.6206 MB / 1.425 GB, free: 1.906 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.86e-05/1.215, allocations: 33 kB / 1.425 GB, free: 1.875 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.986e-05/1.215, allocations: 52 kB / 1.425 GB, free: 1.824 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009544/1.216, allocations: 498.3 kB / 1.425 GB, free: 1.332 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.001e-05/1.216, allocations: 4 kB / 1.425 GB, free: 1.328 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.329e-05/1.216, allocations: 16 kB / 1.425 GB, free: 1.312 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-05/1.216, allocations: 20.98 kB / 1.425 GB, free: 1.289 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008591/1.217, allocations: 443.6 kB / 1.426 GB, free: 0.8594 MB / 1.139 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.002918/1.22, allocations: 2.014 MB / 1.428 GB, free: 14.66 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000683/1.221, allocations: 350.7 kB / 1.428 GB, free: 14.32 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003741/1.221, allocations: 209.9 kB / 1.428 GB, free: 14.11 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003654/1.222, allocations: 198.4 kB / 1.428 GB, free: 13.88 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.41e-05/1.222, allocations: 42.84 kB / 1.428 GB, free: 13.83 MB / 1.154 GB Notification: Performance of pre-optimization done (n=33): time 1.793e-06/1.222, allocations: 0 / 1.428 GB, free: 13.83 MB / 1.154 GB Notification: Performance of matching and sorting (n=33): time 0.0013/1.223, allocations: 0.5383 MB / 1.429 GB, free: 13.29 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.457e-05/1.223, allocations: 63.28 kB / 1.429 GB, free: 13.21 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006573/1.224, allocations: 0.5069 MB / 1.43 GB, free: 12.69 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 4.001e-05/1.224, allocations: 33.7 kB / 1.43 GB, free: 12.65 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002647/1.224, allocations: 312.5 kB / 1.43 GB, free: 12.34 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001267/1.224, allocations: 122.9 kB / 1.43 GB, free: 12.22 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001255/1.224, allocations: 69.98 kB / 1.43 GB, free: 12.15 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001889/1.225, allocations: 370.8 kB / 1.43 GB, free: 11.78 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003107/1.225, allocations: 138.1 kB / 1.431 GB, free: 11.64 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004093/1.225, allocations: 215.6 kB / 1.431 GB, free: 11.41 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006626/1.226, allocations: 340.1 kB / 1.431 GB, free: 11.06 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/1.226, allocations: 0 / 1.431 GB, free: 11.06 MB / 1.154 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007911/1.227, allocations: 426.8 kB / 1.431 GB, free: 10.64 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/1.227, allocations: 9.719 kB / 1.431 GB, free: 10.63 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/1.227, allocations: 0 / 1.431 GB, free: 10.63 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/1.227, allocations: 4 kB / 1.431 GB, free: 10.63 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000351/1.227, allocations: 75.98 kB / 1.432 GB, free: 10.55 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/1.227, allocations: 11.88 kB / 1.432 GB, free: 10.54 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004392/1.228, allocations: 35.77 kB / 1.432 GB, free: 10.51 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.663e-05/1.228, allocations: 19.94 kB / 1.432 GB, free: 10.49 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004798/1.228, allocations: 304 kB / 1.432 GB, free: 10.19 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003503/1.229, allocations: 214.6 kB / 1.432 GB, free: 9.953 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006178/1.229, allocations: 327.4 kB / 1.432 GB, free: 9.621 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.203e-06/1.229, allocations: 0 / 1.432 GB, free: 9.621 MB / 1.154 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0008279/1.23, allocations: 436.8 kB / 1.433 GB, free: 9.188 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/1.23, allocations: 4 kB / 1.433 GB, free: 9.184 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.953e-06/1.23, allocations: 0 / 1.433 GB, free: 9.184 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.3e-06/1.23, allocations: 4 kB / 1.433 GB, free: 9.18 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003221/1.23, allocations: 67.91 kB / 1.433 GB, free: 9.113 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/1.231, allocations: 3.984 kB / 1.433 GB, free: 9.109 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004265/1.231, allocations: 43.89 kB / 1.433 GB, free: 9.066 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.759e-05/1.231, allocations: 12 kB / 1.433 GB, free: 9.055 MB / 1.154 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.0001628/1.231, allocations: 196.2 kB / 1.433 GB, free: 8.855 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/1.231, allocations: 59.62 kB / 1.433 GB, free: 8.797 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008653/1.232, allocations: 419 kB / 1.434 GB, free: 8.379 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/1.232, allocations: 4 kB / 1.434 GB, free: 8.375 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/1.232, allocations: 4.062 kB / 1.434 GB, free: 8.371 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007038/1.233, allocations: 445.5 kB / 1.434 GB, free: 7.906 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00201/1.235, allocations: 1.187 MB / 1.435 GB, free: 6.645 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/1.235, allocations: 0 / 1.435 GB, free: 6.645 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000424/1.235, allocations: 83.88 kB / 1.435 GB, free: 6.562 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/1.235, allocations: 4 kB / 1.435 GB, free: 6.559 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.915e-05/1.235, allocations: 8 kB / 1.435 GB, free: 6.551 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/1.235, allocations: 7.938 kB / 1.435 GB, free: 6.543 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/1.235, allocations: 0 / 1.435 GB, free: 6.543 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001233/1.237, allocations: 0.707 MB / 1.436 GB, free: 5.801 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002508/1.237, allocations: 180.7 kB / 1.436 GB, free: 5.605 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.307e-05/1.237, allocations: 11.98 kB / 1.436 GB, free: 5.594 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000434/1.237, allocations: 25.98 kB / 1.436 GB, free: 5.57 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.844e-05/1.238, allocations: 19.97 kB / 1.436 GB, free: 5.551 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.889e-05/1.238, allocations: 19.98 kB / 1.436 GB, free: 5.531 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0004553/1.238, allocations: 374.7 kB / 1.437 GB, free: 5.168 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.3e-07/1.238, allocations: 0 / 1.437 GB, free: 5.168 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0009461/1.239, allocations: 327.3 kB / 1.437 GB, free: 4.848 MB / 1.154 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.000542/1.24, allocations: 182.3 kB / 1.437 GB, free: 4.668 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001073/1.241, allocations: 0.5193 MB / 1.438 GB, free: 4.148 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/1.241, allocations: 8 kB / 1.438 GB, free: 4.141 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0003326/1.241, allocations: 175.7 kB / 1.438 GB, free: 3.969 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001646/1.243, allocations: 348.2 kB / 1.438 GB, free: 3.633 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002047/1.245, allocations: 1.274 MB / 1.439 GB, free: 2.309 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006147/1.245, allocations: 0.9334 MB / 1.44 GB, free: 1.348 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0005374/1.246, allocations: 180.8 kB / 1.44 GB, free: 1.172 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001374/1.246, allocations: 47.44 kB / 1.44 GB, free: 1.125 MB / 1.154 GB Notification: Performance of SimCode: time 5.31e-07/1.246, allocations: 0 / 1.44 GB, free: 1.125 MB / 1.154 GB Notification: Performance of Templates: time 0.02297/1.269, allocations: 11.82 MB / 1.452 GB, free: 5.461 MB / 1.17 GB make -j1 -f Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.makefile (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 & ./Buildings_latest_Buildings.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1) 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) Reference file matches