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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001364/0.001364, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.235/1.235, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.31/2.31, allocations: 437 MB / 0.7104 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 68.06 kB / 0.8693 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5222/0.5235, allocations: 151.6 MB / 1.017 GB, free: 2.523 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.1793/0.7028, allocations: 183.3 MB / 1.196 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.006883/0.7098, allocations: 4.859 MB / 1.201 GB, free: 5.688 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007099/0.7105, allocations: 31.81 kB / 1.201 GB, free: 5.656 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001028/0.7115, allocations: 433.4 kB / 1.202 GB, free: 5.23 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002865/0.7144, allocations: 1.416 MB / 1.203 GB, free: 3.809 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001656/0.7161, allocations: 0.7645 MB / 1.204 GB, free: 3.051 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001939/0.718, allocations: 1.84 MB / 1.205 GB, free: 1.207 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000786/0.7188, allocations: 0.5939 MB / 1.206 GB, free: 0.5977 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001479/0.7203, allocations: 0.8717 MB / 1.207 GB, free: 15.72 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001109/0.7215, allocations: 0.5482 MB / 1.207 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001394/0.7216, allocations: 60 kB / 1.208 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002195/0.7238, allocations: 1.407 MB / 1.209 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002832/0.7241, allocations: 263.2 kB / 1.209 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004533/0.7246, allocations: 398.1 kB / 1.21 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001839/0.7264, allocations: 1.402 MB / 1.211 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.7264, allocations: 0 / 1.211 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.355e-06/0.7264, allocations: 7.984 kB / 1.211 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.055e-05/0.7265, allocations: 0 / 1.211 GB, free: 11.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.001702/0.7282, allocations: 1.086 MB / 1.212 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.7282, allocations: 8.031 kB / 1.212 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.546e-05/0.7283, allocations: 86.52 kB / 1.212 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001276/0.7296, allocations: 218.7 kB / 1.212 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008823/0.7305, allocations: 0.581 MB / 1.213 GB, free: 9.566 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.916e-05/0.7305, allocations: 33 kB / 1.213 GB, free: 9.535 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.521e-05/0.7306, allocations: 52 kB / 1.213 GB, free: 9.484 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008424/0.7315, allocations: 0.4944 MB / 1.213 GB, free: 8.984 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.7315, allocations: 3.938 kB / 1.213 GB, free: 8.98 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.415e-05/0.7315, allocations: 23.98 kB / 1.213 GB, free: 8.957 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.306e-05/0.7316, allocations: 13 kB / 1.213 GB, free: 8.945 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007653/0.7323, allocations: 439.7 kB / 1.214 GB, free: 8.516 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.002567/0.7349, allocations: 2.029 MB / 1.216 GB, free: 6.309 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005965/0.7355, allocations: 347.5 kB / 1.216 GB, free: 5.961 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000321/0.7359, allocations: 217.2 kB / 1.216 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002629/0.7361, allocations: 190.5 kB / 1.217 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.57e-05/0.7362, allocations: 42.78 kB / 1.217 GB, free: 5.473 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=33): time 1.413e-06/0.7362, allocations: 0 / 1.217 GB, free: 5.473 MB / 0.9669 GB Notification: Performance of matching and sorting (n=33): time 0.001182/0.7374, allocations: 0.5371 MB / 1.217 GB, free: 4.93 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.298e-05/0.7374, allocations: 63.33 kB / 1.217 GB, free: 4.855 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005421/0.738, allocations: 0.503 MB / 1.218 GB, free: 4.344 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.578e-05/0.738, allocations: 29.7 kB / 1.218 GB, free: 4.309 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001973/0.7382, allocations: 308.2 kB / 1.218 GB, free: 4 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 9.954e-05/0.7383, allocations: 118.3 kB / 1.218 GB, free: 3.883 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/0.7384, allocations: 73.94 kB / 1.218 GB, free: 3.805 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.7386, allocations: 366.8 kB / 1.219 GB, free: 3.438 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002705/0.7388, allocations: 142.1 kB / 1.219 GB, free: 3.297 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003159/0.7392, allocations: 219.3 kB / 1.219 GB, free: 3.059 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006189/0.7398, allocations: 332.3 kB / 1.219 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.7398, allocations: 0 / 1.219 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007023/0.7405, allocations: 432.5 kB / 1.22 GB, free: 2.293 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.7405, allocations: 8 kB / 1.22 GB, free: 2.285 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.7406, allocations: 3.938 kB / 1.22 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.7406, allocations: 4 kB / 1.22 GB, free: 2.277 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003159/0.7409, allocations: 71.84 kB / 1.22 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.888e-06/0.7409, allocations: 7.984 kB / 1.22 GB, free: 2.199 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004286/0.7413, allocations: 35.67 kB / 1.22 GB, free: 2.164 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.01e-05/0.7414, allocations: 20.09 kB / 1.22 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004303/0.7418, allocations: 304 kB / 1.22 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003041/0.7421, allocations: 215.3 kB / 1.22 GB, free: 1.609 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005263/0.7427, allocations: 331.5 kB / 1.221 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.172e-06/0.7427, allocations: 0 / 1.221 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006754/0.7434, allocations: 428.5 kB / 1.221 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 7.664e-06/0.7434, allocations: 8.094 kB / 1.221 GB, free: 0.8398 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.164e-06/0.7434, allocations: 0 / 1.221 GB, free: 0.8398 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.208e-06/0.7434, allocations: 4 kB / 1.221 GB, free: 0.8359 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002975/0.7437, allocations: 71.89 kB / 1.221 GB, free: 0.7656 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.7437, allocations: 3.938 kB / 1.221 GB, free: 0.7617 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004241/0.7441, allocations: 35.73 kB / 1.221 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.504e-05/0.7442, allocations: 12 kB / 1.221 GB, free: 0.7148 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.0001217/0.7443, allocations: 200.1 kB / 1.221 GB, free: 0.5117 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.368e-05/0.7444, allocations: 63.33 kB / 1.221 GB, free: 460 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007253/0.7451, allocations: 419 kB / 1.222 GB, free: 32 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.7451, allocations: 7.938 kB / 1.222 GB, free: 24 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.7452, allocations: 0 / 1.222 GB, free: 24 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006095/0.7458, allocations: 433.7 kB / 1.222 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001606/0.7474, allocations: 1.176 MB / 1.223 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.7474, allocations: 0 / 1.223 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003935/0.7478, allocations: 88.08 kB / 1.223 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.7478, allocations: 4 kB / 1.223 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.775e-05/0.7478, allocations: 12.11 kB / 1.223 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.7479, allocations: 8 kB / 1.223 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.7479, allocations: 0 / 1.223 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001066/0.7489, allocations: 0.7068 MB / 1.224 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002017/0.7492, allocations: 180.4 kB / 1.224 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.01e-05/0.7492, allocations: 8 kB / 1.224 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004442/0.7497, allocations: 35.81 kB / 1.224 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.85e-05/0.7498, allocations: 23.91 kB / 1.224 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-05/0.7498, allocations: 23.92 kB / 1.224 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003667/0.7502, allocations: 358.8 kB / 1.225 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7502, allocations: 0 / 1.225 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000731/0.7509, allocations: 319.3 kB / 1.225 GB, free: 12.52 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.001495/0.7524, allocations: 1.345 MB / 1.226 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0009876/0.7534, allocations: 0.5385 MB / 1.227 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.7534, allocations: 8.312 kB / 1.227 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003039/0.7537, allocations: 180.5 kB / 1.227 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00148/0.7552, allocations: 348.3 kB / 1.227 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005685/0.7609, allocations: 4.768 MB / 1.232 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004589/0.7614, allocations: 0.9256 MB / 1.233 GB, free: 4.234 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0005831/0.762, allocations: 176.8 kB / 1.233 GB, free: 4.062 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002743/0.7623, allocations: 223.4 kB / 1.233 GB, free: 3.844 MB / 0.9825 GB Notification: Performance of SimCode: time 2.51e-07/0.7623, allocations: 0 / 1.233 GB, free: 3.844 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.225/2.988, allocations: 16.73 MB / 1.25 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.126/12.11, allocations: 10.2 kB / 1.25 GB, free: 3.355 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