Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Delays.Examples.Delay,fileNamePrefix="Buildings_10_Buildings_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001544/0.001544, allocations: 193.3 kB / 16.14 MB, free: 6.711 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.293/1.293, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.396/2.396, allocations: 437 MB / 0.7099 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 79.88 kB / 0.8687 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5312/0.5324, allocations: 151.6 MB / 1.017 GB, free: 2.809 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.1666/0.6991, allocations: 181 MB / 1.193 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.006375/0.7055, allocations: 4.936 MB / 1.198 GB, free: 8.188 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000379/0.7059, allocations: 27.81 kB / 1.198 GB, free: 8.16 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0009076/0.7068, allocations: 370 kB / 1.199 GB, free: 7.797 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002358/0.7092, allocations: 1.331 MB / 1.2 GB, free: 6.461 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001341/0.7106, allocations: 0.7009 MB / 1.201 GB, free: 5.766 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002059/0.7126, allocations: 2.522 MB / 1.203 GB, free: 3.238 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005749/0.7132, allocations: 0.5109 MB / 1.204 GB, free: 2.711 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00117/0.7144, allocations: 0.7702 MB / 1.204 GB, free: 1.938 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009408/0.7153, allocations: 0.569 MB / 1.205 GB, free: 1.371 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 8.001e-05/0.7154, allocations: 32 kB / 1.205 GB, free: 1.34 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002129/0.7176, allocations: 1.613 MB / 1.207 GB, free: 15.72 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002257/0.7178, allocations: 243.2 kB / 1.207 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0003369/0.7182, allocations: 362.1 kB / 1.207 GB, free: 15.13 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001504/0.7197, allocations: 1.476 MB / 1.209 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.7197, allocations: 0 / 1.209 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of FrontEnd: time 6.21e-07/0.7197, allocations: 0 / 1.209 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.7197, allocations: 3.938 kB / 1.209 GB, free: 13.64 MB / 0.9669 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.001473/0.7212, allocations: 1.098 MB / 1.21 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.7212, allocations: 8.031 kB / 1.21 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.91e-05/0.7213, allocations: 86.52 kB / 1.21 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001251/0.7226, allocations: 214.8 kB / 1.21 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007596/0.7234, allocations: 0.581 MB / 1.211 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.426e-05/0.7234, allocations: 37 kB / 1.211 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.736e-05/0.7235, allocations: 44 kB / 1.211 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008126/0.7243, allocations: 498.3 kB / 1.211 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.7243, allocations: 0 / 1.211 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.503e-05/0.7244, allocations: 20 kB / 1.211 GB, free: 10.97 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.193e-05/0.7244, allocations: 21 kB / 1.211 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007445/0.7251, allocations: 447.6 kB / 1.212 GB, free: 10.51 MB / 0.9669 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.002371/0.7275, allocations: 2.006 MB / 1.213 GB, free: 8.324 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005818/0.7281, allocations: 347.5 kB / 1.214 GB, free: 7.977 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000323/0.7285, allocations: 207.1 kB / 1.214 GB, free: 7.773 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002591/0.7287, allocations: 194.5 kB / 1.214 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.7288, allocations: 38.84 kB / 1.214 GB, free: 7.5 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=33): time 1.443e-06/0.7288, allocations: 0 / 1.214 GB, free: 7.5 MB / 0.9669 GB Notification: Performance of matching and sorting (n=33): time 0.001138/0.7299, allocations: 0.541 MB / 1.215 GB, free: 6.953 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.73, allocations: 63.28 kB / 1.215 GB, free: 6.879 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005187/0.7305, allocations: 0.5107 MB / 1.215 GB, free: 6.359 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.302e-05/0.7305, allocations: 33.7 kB / 1.215 GB, free: 6.32 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001903/0.7307, allocations: 300.2 kB / 1.216 GB, free: 6.023 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 9.621e-05/0.7308, allocations: 122.3 kB / 1.216 GB, free: 5.902 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.7309, allocations: 66.03 kB / 1.216 GB, free: 5.832 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.7311, allocations: 370.7 kB / 1.216 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002651/0.7314, allocations: 150.1 kB / 1.216 GB, free: 5.312 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003184/0.7317, allocations: 215.4 kB / 1.217 GB, free: 5.078 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005445/0.7322, allocations: 332 kB / 1.217 GB, free: 4.742 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.7322, allocations: 0 / 1.217 GB, free: 4.742 MB / 0.9669 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006885/0.7329, allocations: 432.5 kB / 1.217 GB, free: 4.312 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.733, allocations: 8 kB / 1.217 GB, free: 4.305 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.733, allocations: 0 / 1.217 GB, free: 4.305 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.733, allocations: 4 kB / 1.217 GB, free: 4.301 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003135/0.7333, allocations: 75.77 kB / 1.217 GB, free: 4.227 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.7333, allocations: 4 kB / 1.217 GB, free: 4.223 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004736/0.7338, allocations: 67.73 kB / 1.217 GB, free: 4.156 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.851e-05/0.7338, allocations: 8 kB / 1.217 GB, free: 4.148 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004055/0.7342, allocations: 304 kB / 1.218 GB, free: 3.848 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003023/0.7346, allocations: 215.4 kB / 1.218 GB, free: 3.613 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005339/0.7351, allocations: 339.4 kB / 1.218 GB, free: 3.27 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.142e-06/0.7351, allocations: 3.938 kB / 1.218 GB, free: 3.266 MB / 0.9669 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006632/0.7358, allocations: 420.5 kB / 1.219 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 7.965e-06/0.7358, allocations: 8 kB / 1.219 GB, free: 2.84 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.024e-06/0.7358, allocations: 0 / 1.219 GB, free: 2.84 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.617e-06/0.7358, allocations: 4 kB / 1.219 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003063/0.7361, allocations: 72 kB / 1.219 GB, free: 2.766 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.7361, allocations: 15.86 kB / 1.219 GB, free: 2.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004632/0.7366, allocations: 59.73 kB / 1.219 GB, free: 2.691 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.47e-05/0.7366, allocations: 12 kB / 1.219 GB, free: 2.68 MB / 0.9669 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.0001174/0.7368, allocations: 200.2 kB / 1.219 GB, free: 2.477 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.295e-05/0.7369, allocations: 59.25 kB / 1.219 GB, free: 2.418 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000718/0.7376, allocations: 419 kB / 1.219 GB, free: 2 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.7376, allocations: 7.938 kB / 1.219 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.7376, allocations: 4 kB / 1.219 GB, free: 1.988 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005785/0.7382, allocations: 437.6 kB / 1.22 GB, free: 1.531 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001607/0.7398, allocations: 1.168 MB / 1.221 GB, free: 296 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.7398, allocations: 7.984 kB / 1.221 GB, free: 288 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000399/0.7402, allocations: 83.89 kB / 1.221 GB, free: 204 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.7402, allocations: 7.938 kB / 1.221 GB, free: 196 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.01e-05/0.7403, allocations: 8 kB / 1.221 GB, free: 188 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.7403, allocations: 3.938 kB / 1.221 GB, free: 184 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.7403, allocations: 4.188 kB / 1.221 GB, free: 180 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009753/0.7413, allocations: 0.704 MB / 1.222 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002009/0.7415, allocations: 180.3 kB / 1.222 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.044e-05/0.7416, allocations: 12 kB / 1.222 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004741/0.742, allocations: 47.95 kB / 1.222 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.876e-05/0.7421, allocations: 19.97 kB / 1.222 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.889e-05/0.7421, allocations: 15.94 kB / 1.222 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003805/0.7425, allocations: 366.8 kB / 1.222 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7425, allocations: 0 / 1.222 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0007043/0.7432, allocations: 327.1 kB / 1.223 GB, free: 14.47 MB / 0.9825 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.001474/0.7447, allocations: 1.337 MB / 1.224 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000886/0.7456, allocations: 0.5043 MB / 1.225 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.7456, allocations: 384 / 1.225 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002976/0.7459, allocations: 188.4 kB / 1.225 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001632/0.7476, allocations: 378.8 kB / 1.225 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005889/0.7535, allocations: 4.962 MB / 1.23 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004517/0.7539, allocations: 0.9296 MB / 1.231 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0005694/0.7545, allocations: 188.8 kB / 1.231 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002772/0.7548, allocations: 211.4 kB / 1.231 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of SimCode: time 2.4e-07/0.7548, allocations: 0 / 1.231 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4174/1.172, allocations: 16.25 MB / 1.247 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002336/1.172, allocations: 240.5 kB / 1.247 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.148/3.32, allocations: 0 / 1.247 GB, free: 5.348 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_10_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_10_Buildings.Fluid.Delays.Examples.Delay.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Delays.Examples.Delay_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Delays_Examples_Delay_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Delays_Examples_Delay.fmu > Buildings_10_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Delays.Examples.Delay_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Delays_Examples_Delay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Delays.Examples.Delay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches