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.006458/0.006458, allocations: 101.2 kB / 15.73 MB, free: 6.051 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.001199/0.001199, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.343/1.343, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.41/2.41, allocations: 390.3 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00156/0.00156, allocations: 70.34 kB / 0.9504 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/0.2754, allocations: 140.4 MB / 1.087 GB, free: 2.023 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.8556/1.131, allocations: 183.2 MB / 1.266 GB, free: 3.176 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.008317/1.139, allocations: 4.874 MB / 1.271 GB, free: 3.137 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001277/1.141, allocations: 28.09 kB / 1.271 GB, free: 3.137 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001289/1.142, allocations: 438 kB / 1.272 GB, free: 3.129 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004269/1.146, allocations: 1.406 MB / 1.273 GB, free: 3.078 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003009/1.149, allocations: 0.7853 MB / 1.274 GB, free: 3.055 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.00403/1.153, allocations: 1.838 MB / 1.276 GB, free: 3.055 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001308/1.155, allocations: 0.6074 MB / 1.276 GB, free: 2.996 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003222/1.158, allocations: 0.8844 MB / 1.277 GB, free: 2.988 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001778/1.16, allocations: 0.5434 MB / 1.278 GB, free: 2.988 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002022/1.16, allocations: 57.84 kB / 1.278 GB, free: 2.988 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004896/1.165, allocations: 1.411 MB / 1.279 GB, free: 2.973 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.000477/1.165, allocations: 268.7 kB / 1.279 GB, free: 2.969 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0006762/1.166, allocations: 399.7 kB / 1.28 GB, free: 2.969 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003725/1.17, allocations: 1.419 MB / 1.281 GB, free: 2.883 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/1.17, allocations: 1.438 kB / 1.281 GB, free: 2.883 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.345e-06/1.17, allocations: 0 / 1.281 GB, free: 2.883 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.422e-05/1.17, allocations: 0 / 1.281 GB, free: 2.883 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.002096/1.172, allocations: 1.105 MB / 1.282 GB, free: 2.219 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/1.172, allocations: 10.56 kB / 1.282 GB, free: 2.219 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001247/1.172, allocations: 85.52 kB / 1.282 GB, free: 2.18 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001331/1.173, allocations: 211.5 kB / 1.282 GB, free: 2.141 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00115/1.175, allocations: 0.6103 MB / 1.283 GB, free: 1.852 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.677e-05/1.175, allocations: 40.83 kB / 1.283 GB, free: 1.852 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001161/1.175, allocations: 50.94 kB / 1.283 GB, free: 1.848 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/1.176, allocations: 0.4902 MB / 1.284 GB, free: 1.812 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.189e-05/1.176, allocations: 0.5312 kB / 1.284 GB, free: 1.812 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.583e-05/1.176, allocations: 18.84 kB / 1.284 GB, free: 1.812 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.718e-05/1.176, allocations: 26.59 kB / 1.284 GB, free: 1.809 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008922/1.177, allocations: 437 kB / 1.284 GB, free: 1.805 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.00327/1.18, allocations: 2.001 MB / 1.286 GB, free: 16.82 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006928/1.181, allocations: 355.5 kB / 1.286 GB, free: 16.8 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003997/1.181, allocations: 208.4 kB / 1.286 GB, free: 16.79 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003657/1.182, allocations: 196.7 kB / 1.287 GB, free: 16.6 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/1.182, allocations: 38.2 kB / 1.287 GB, free: 16.56 MB / 1.029 GB Notification: Performance of pre-optimization done (n=33): time 2.074e-06/1.182, allocations: 0.9375 kB / 1.287 GB, free: 16.56 MB / 1.029 GB Notification: Performance of matching and sorting (n=33): time 0.001526/1.183, allocations: 0.5408 MB / 1.287 GB, free: 16.49 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/1.183, allocations: 56.83 kB / 1.287 GB, free: 16.43 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006605/1.184, allocations: 0.5046 MB / 1.288 GB, free: 16.31 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.388e-05/1.184, allocations: 36.27 kB / 1.288 GB, free: 16.28 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002607/1.184, allocations: 303.5 kB / 1.288 GB, free: 16.14 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001339/1.184, allocations: 117.5 kB / 1.288 GB, free: 16.07 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001396/1.185, allocations: 68.5 kB / 1.288 GB, free: 16.05 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000198/1.185, allocations: 369.4 kB / 1.289 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003363/1.185, allocations: 141.8 kB / 1.289 GB, free: 15.73 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004032/1.186, allocations: 222.4 kB / 1.289 GB, free: 15.66 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007031/1.186, allocations: 333.9 kB / 1.289 GB, free: 15.62 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/1.186, allocations: 0 / 1.289 GB, free: 15.62 MB / 1.029 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007945/1.187, allocations: 438.8 kB / 1.29 GB, free: 15.55 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/1.187, allocations: 5.922 kB / 1.29 GB, free: 15.55 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/1.187, allocations: 1.188 kB / 1.29 GB, free: 15.55 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/1.187, allocations: 3.188 kB / 1.29 GB, free: 15.55 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003439/1.187, allocations: 71.7 kB / 1.29 GB, free: 15.55 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/1.188, allocations: 3.875 kB / 1.29 GB, free: 15.55 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004676/1.188, allocations: 38.27 kB / 1.29 GB, free: 15.54 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.035e-05/1.188, allocations: 15.55 kB / 1.29 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004586/1.189, allocations: 307.5 kB / 1.29 GB, free: 15.46 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003057/1.189, allocations: 208.3 kB / 1.29 GB, free: 15.39 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005389/1.189, allocations: 336.3 kB / 1.291 GB, free: 15.36 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.132e-06/1.189, allocations: 0.9062 kB / 1.291 GB, free: 15.36 MB / 1.029 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007105/1.19, allocations: 430.2 kB / 1.291 GB, free: 15.29 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/1.19, allocations: 8.656 kB / 1.291 GB, free: 15.29 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.906e-06/1.19, allocations: 1.188 kB / 1.291 GB, free: 15.29 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.431e-06/1.19, allocations: 3.344 kB / 1.291 GB, free: 15.29 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003052/1.19, allocations: 69.88 kB / 1.291 GB, free: 15.29 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/1.19, allocations: 7.328 kB / 1.291 GB, free: 15.29 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004247/1.191, allocations: 33.59 kB / 1.291 GB, free: 15.28 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.766e-05/1.191, allocations: 12.28 kB / 1.291 GB, free: 15.28 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.000164/1.191, allocations: 203.2 kB / 1.291 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/1.191, allocations: 60.5 kB / 1.291 GB, free: 15.06 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008201/1.192, allocations: 432.6 kB / 1.292 GB, free: 15 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/1.192, allocations: 4.562 kB / 1.292 GB, free: 15 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/1.192, allocations: 0 / 1.292 GB, free: 15 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006535/1.193, allocations: 429.7 kB / 1.292 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001876/1.195, allocations: 1.174 MB / 1.293 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/1.195, allocations: 2.5 kB / 1.293 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000407/1.195, allocations: 84.09 kB / 1.293 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.511e-06/1.195, allocations: 5.375 kB / 1.294 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.076e-05/1.195, allocations: 11.64 kB / 1.294 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.052e-06/1.195, allocations: 4.859 kB / 1.294 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.419e-06/1.195, allocations: 6.016 kB / 1.294 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001048/1.196, allocations: 0.6926 MB / 1.294 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002459/1.196, allocations: 180.5 kB / 1.294 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.357e-05/1.197, allocations: 14.2 kB / 1.294 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004368/1.197, allocations: 28.64 kB / 1.294 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.206e-05/1.197, allocations: 23.48 kB / 1.294 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.01e-05/1.197, allocations: 15.34 kB / 1.294 GB, free: 14.14 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004442/1.198, allocations: 362.1 kB / 1.295 GB, free: 14.05 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/1.198, allocations: 0 / 1.295 GB, free: 14.05 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0009575/1.198, allocations: 317.8 kB / 1.295 GB, free: 14.02 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.001715/1.2, allocations: 1.352 MB / 1.296 GB, free: 13.25 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001025/1.201, allocations: 0.5176 MB / 1.297 GB, free: 13.25 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/1.201, allocations: 2.062 kB / 1.297 GB, free: 13.25 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003339/1.202, allocations: 185.7 kB / 1.297 GB, free: 13.24 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001658/1.203, allocations: 346.8 kB / 1.297 GB, free: 13.19 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0068/1.21, allocations: 4.636 MB / 1.302 GB, free: 11.43 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006907/1.211, allocations: 0.931 MB / 1.303 GB, free: 10.73 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.000779/1.212, allocations: 188.4 kB / 1.303 GB, free: 10.71 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003401/1.212, allocations: 218.9 kB / 1.303 GB, free: 10.7 MB / 1.029 GB Notification: Performance of SimCode: time 4.41e-07/1.212, allocations: 1.094 kB / 1.303 GB, free: 10.7 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04611/1.258, allocations: 17.12 MB / 1.32 GB, free: 9.305 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.082/10.34, allocations: 13.41 kB / 1.32 GB, free: 9.297 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