Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Delays.Examples.Delay,fileNamePrefix="Buildings_9_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.006249/0.006249, allocations: 100.6 kB / 15.73 MB, free: 6.047 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.001589/0.001589, allocations: 188.6 kB / 16.67 MB, free: 5.98 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.303/1.303, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.123/2.123, allocations: 390.3 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001044/0.001044, allocations: 62.59 kB / 0.9504 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1968/0.1978, allocations: 140.4 MB / 1.087 GB, free: 2.156 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.6047/0.8026, allocations: 183.2 MB / 1.266 GB, free: 3.129 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.005757/0.8084, allocations: 4.872 MB / 1.271 GB, free: 3.09 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004086/0.8088, allocations: 32.03 kB / 1.271 GB, free: 3.09 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0008532/0.8096, allocations: 433.3 kB / 1.272 GB, free: 3.086 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002413/0.8121, allocations: 1.412 MB / 1.273 GB, free: 3.031 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00154/0.8136, allocations: 0.7819 MB / 1.274 GB, free: 3.012 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001715/0.8154, allocations: 1.846 MB / 1.276 GB, free: 3.012 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006863/0.8161, allocations: 0.5999 MB / 1.276 GB, free: 2.953 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001296/0.8174, allocations: 0.874 MB / 1.277 GB, free: 2.945 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001001/0.8184, allocations: 0.5397 MB / 1.278 GB, free: 2.945 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001284/0.8185, allocations: 59.53 kB / 1.278 GB, free: 2.945 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002334/0.8209, allocations: 1.412 MB / 1.279 GB, free: 2.934 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0002627/0.8211, allocations: 264.9 kB / 1.279 GB, free: 2.93 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0003709/0.8215, allocations: 406.3 kB / 1.28 GB, free: 2.926 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00162/0.8231, allocations: 1.417 MB / 1.281 GB, free: 2.844 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.8232, allocations: 0.6562 kB / 1.281 GB, free: 2.844 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.122e-06/0.8232, allocations: 0 / 1.281 GB, free: 2.844 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.906e-06/0.8232, allocations: 0.75 kB / 1.281 GB, free: 2.844 MB / 1.014 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.001322/0.8245, allocations: 1.098 MB / 1.282 GB, free: 2.18 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.102e-05/0.8245, allocations: 9.625 kB / 1.282 GB, free: 2.18 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.729e-05/0.8246, allocations: 89.33 kB / 1.282 GB, free: 2.141 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001163/0.8258, allocations: 207 kB / 1.282 GB, free: 2.102 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008235/0.8266, allocations: 0.6176 MB / 1.283 GB, free: 1.812 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.777e-05/0.8267, allocations: 37.81 kB / 1.283 GB, free: 1.812 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.216e-05/0.8268, allocations: 49.03 kB / 1.283 GB, free: 1.809 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008544/0.8276, allocations: 0.4962 MB / 1.284 GB, free: 1.77 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.8277, allocations: 3.062 kB / 1.284 GB, free: 1.77 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.731e-05/0.8277, allocations: 19.92 kB / 1.284 GB, free: 1.77 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.829e-05/0.8277, allocations: 19.77 kB / 1.284 GB, free: 1.77 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007301/0.8285, allocations: 437.4 kB / 1.284 GB, free: 1.766 MB / 1.014 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.002251/0.8307, allocations: 2.005 MB / 1.286 GB, free: 16.78 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000544/0.8313, allocations: 352.5 kB / 1.286 GB, free: 16.75 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003049/0.8316, allocations: 213.8 kB / 1.286 GB, free: 16.75 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002472/0.8319, allocations: 187.6 kB / 1.287 GB, free: 16.56 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.8319, allocations: 38.55 kB / 1.287 GB, free: 16.52 MB / 1.029 GB Notification: Performance of pre-optimization done (n=33): time 1.443e-06/0.8319, allocations: 0.9062 kB / 1.287 GB, free: 16.52 MB / 1.029 GB Notification: Performance of matching and sorting (n=33): time 0.001091/0.833, allocations: 0.5414 MB / 1.287 GB, free: 16.45 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.821e-05/0.833, allocations: 61.2 kB / 1.287 GB, free: 16.39 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000488/0.8335, allocations: 0.5049 MB / 1.288 GB, free: 16.27 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.639e-05/0.8336, allocations: 32.7 kB / 1.288 GB, free: 16.24 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001536/0.8337, allocations: 302.4 kB / 1.288 GB, free: 16.1 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.885e-05/0.8338, allocations: 119.3 kB / 1.288 GB, free: 16.03 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.468e-05/0.8339, allocations: 65.89 kB / 1.288 GB, free: 16.01 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.834, allocations: 371.5 kB / 1.289 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002543/0.8343, allocations: 145.1 kB / 1.289 GB, free: 15.69 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002866/0.8346, allocations: 218.3 kB / 1.289 GB, free: 15.62 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005091/0.8351, allocations: 334.2 kB / 1.289 GB, free: 15.59 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.8351, allocations: 0 / 1.289 GB, free: 15.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006532/0.8358, allocations: 439.8 kB / 1.29 GB, free: 15.52 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.8358, allocations: 5.984 kB / 1.29 GB, free: 15.52 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.8358, allocations: 2.094 kB / 1.29 GB, free: 15.52 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.8358, allocations: 3.281 kB / 1.29 GB, free: 15.52 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003039/0.8361, allocations: 74.28 kB / 1.29 GB, free: 15.52 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.8362, allocations: 3.656 kB / 1.29 GB, free: 15.52 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004099/0.8366, allocations: 35.14 kB / 1.29 GB, free: 15.5 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.868e-05/0.8366, allocations: 13.31 kB / 1.29 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003962/0.837, allocations: 306.7 kB / 1.29 GB, free: 15.42 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002671/0.8373, allocations: 205.5 kB / 1.29 GB, free: 15.36 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004754/0.8378, allocations: 338.4 kB / 1.291 GB, free: 15.32 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.172e-06/0.8378, allocations: 0.8438 kB / 1.291 GB, free: 15.32 MB / 1.029 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006167/0.8384, allocations: 430.7 kB / 1.291 GB, free: 15.25 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 8.015e-06/0.8384, allocations: 6.375 kB / 1.291 GB, free: 15.25 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.793e-06/0.8384, allocations: 0 / 1.291 GB, free: 15.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.655e-06/0.8384, allocations: 3.875 kB / 1.291 GB, free: 15.25 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002827/0.8387, allocations: 70.31 kB / 1.291 GB, free: 15.25 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.8387, allocations: 7.328 kB / 1.291 GB, free: 15.25 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004015/0.8391, allocations: 33.17 kB / 1.291 GB, free: 15.24 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.403e-05/0.8392, allocations: 17.55 kB / 1.291 GB, free: 15.24 MB / 1.029 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.0001114/0.8393, allocations: 201.7 kB / 1.291 GB, free: 15.05 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.765e-05/0.8394, allocations: 63.02 kB / 1.291 GB, free: 15.02 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006843/0.8401, allocations: 430.8 kB / 1.292 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.8401, allocations: 7.609 kB / 1.292 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.8401, allocations: 2.562 kB / 1.292 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005413/0.8406, allocations: 430.1 kB / 1.292 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001547/0.8422, allocations: 1.172 MB / 1.293 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.8422, allocations: 3.781 kB / 1.293 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003821/0.8426, allocations: 85.09 kB / 1.293 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.8426, allocations: 5.109 kB / 1.293 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.554e-05/0.8426, allocations: 12 kB / 1.294 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.8426, allocations: 4.562 kB / 1.294 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.8426, allocations: 4.438 kB / 1.294 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008986/0.8435, allocations: 0.6878 MB / 1.294 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002196/0.8438, allocations: 180.2 kB / 1.294 GB, free: 14.1 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.723e-05/0.8439, allocations: 22.02 kB / 1.294 GB, free: 14.1 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004246/0.8443, allocations: 23.08 kB / 1.294 GB, free: 14.1 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.216e-05/0.8444, allocations: 22.66 kB / 1.294 GB, free: 14.1 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.751e-05/0.8444, allocations: 14.81 kB / 1.294 GB, free: 14.1 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003564/0.8447, allocations: 363.9 kB / 1.295 GB, free: 14.01 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8448, allocations: 1.203 kB / 1.295 GB, free: 14.01 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0007114/0.8455, allocations: 316.8 kB / 1.295 GB, free: 13.98 MB / 1.029 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.001409/0.8469, allocations: 1.349 MB / 1.296 GB, free: 13.21 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008513/0.8477, allocations: 0.5136 MB / 1.297 GB, free: 13.21 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.8478, allocations: 0.7188 kB / 1.297 GB, free: 13.21 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002778/0.848, allocations: 185.4 kB / 1.297 GB, free: 13.2 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001462/0.8495, allocations: 356.6 kB / 1.297 GB, free: 13.15 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005127/0.8547, allocations: 4.643 MB / 1.302 GB, free: 11.39 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004295/0.8551, allocations: 0.9303 MB / 1.303 GB, free: 10.69 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0004851/0.8556, allocations: 187.3 kB / 1.303 GB, free: 10.66 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002396/0.8558, allocations: 217 kB / 1.303 GB, free: 10.66 MB / 1.029 GB Notification: Performance of SimCode: time 2.1e-07/0.8558, allocations: 0 / 1.303 GB, free: 10.66 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.311/3.167, allocations: 16.83 MB / 1.32 GB, free: 9.344 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.343/12.51, allocations: 9.969 kB / 1.32 GB, free: 9.336 MB / 1.029 GB (rm -f Buildings_9_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_9_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_9_Buildings.Fluid.Delays.Examples.Delay.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Delays.Examples.Delay_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Delays_Examples_Delay_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Delays_Examples_Delay.fmu > Buildings_9_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Delays.Examples.Delay_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Delays_Examples_Delay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Delays.Examples.Delay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches