Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Delays.Examples.Delay,fileNamePrefix="Buildings_11_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.001758/0.001758, allocations: 108 kB / 15.6 MB, free: 132 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.002007/0.002007, allocations: 194.9 kB / 16.53 MB, free: 6.391 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.344/1.344, 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 11.1.0-maint.11.x/package.mo): time 2.52/2.52, allocations: 469.8 MB / 0.7424 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001693/0.001693, allocations: 66.42 kB / 0.9087 GB, free: 34.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2335/0.2352, allocations: 159.2 MB / 1.064 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.1941/0.4293, allocations: 183.3 MB / 1.243 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.009994/0.4394, allocations: 4.876 MB / 1.248 GB, free: 1.418 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005692/0.44, allocations: 27.81 kB / 1.248 GB, free: 1.391 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001118/0.4411, allocations: 437.4 kB / 1.248 GB, free: 0.9609 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.4296/0.8708, allocations: 1.407 MB / 1.25 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001869/0.8726, allocations: 0.7677 MB / 1.25 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002189/0.8748, allocations: 1.841 MB / 1.252 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008567/0.8757, allocations: 0.5913 MB / 1.253 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001605/0.8773, allocations: 0.8668 MB / 1.254 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001185/0.8785, allocations: 0.5436 MB / 1.254 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001541/0.8787, allocations: 59.34 kB / 1.254 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002149/0.8808, allocations: 1.417 MB / 1.256 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002484/0.8811, allocations: 267.6 kB / 1.256 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004367/0.8815, allocations: 394 kB / 1.256 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001561/0.8831, allocations: 1.406 MB / 1.258 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.8831, allocations: 0 / 1.258 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.062e-06/0.8831, allocations: 1.094 kB / 1.258 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.377e-06/0.8831, allocations: 0.9062 kB / 1.258 GB, free: 5.422 MB / 0.9981 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.001449/0.8846, allocations: 1.093 MB / 1.259 GB, free: 20.76 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 2.865e-05/0.8846, allocations: 11.03 kB / 1.259 GB, free: 20.76 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.374e-05/0.8847, allocations: 84.53 kB / 1.259 GB, free: 20.72 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001106/0.8858, allocations: 217.4 kB / 1.259 GB, free: 20.68 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006952/0.8865, allocations: 0.579 MB / 1.259 GB, free: 20.39 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.8866, allocations: 39.34 kB / 1.26 GB, free: 20.39 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.216e-05/0.8866, allocations: 47.44 kB / 1.26 GB, free: 20.39 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006991/0.8873, allocations: 0.4929 MB / 1.26 GB, free: 20.36 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.8874, allocations: 0.9062 kB / 1.26 GB, free: 20.36 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.695e-05/0.8874, allocations: 22.89 kB / 1.26 GB, free: 20.36 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.972e-05/0.8874, allocations: 16.83 kB / 1.26 GB, free: 20.36 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006572/0.8881, allocations: 436.4 kB / 1.261 GB, free: 20.36 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.00229/0.8904, allocations: 2.031 MB / 1.262 GB, free: 19.38 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004828/0.8909, allocations: 340.1 kB / 1.263 GB, free: 19.36 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002732/0.8912, allocations: 215.9 kB / 1.263 GB, free: 19.34 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002609/0.8914, allocations: 191 kB / 1.263 GB, free: 19.16 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.8915, allocations: 43.22 kB / 1.263 GB, free: 19.12 MB / 1.014 GB Notification: Performance of pre-optimization done (n=33): time 1.293e-06/0.8915, allocations: 0.6875 kB / 1.263 GB, free: 19.12 MB / 1.014 GB Notification: Performance of matching and sorting (n=33): time 0.001025/0.8925, allocations: 0.5352 MB / 1.264 GB, free: 19.05 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.8926, allocations: 59.44 kB / 1.264 GB, free: 18.98 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004463/0.893, allocations: 0.5058 MB / 1.264 GB, free: 18.87 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.001e-05/0.8931, allocations: 35.39 kB / 1.264 GB, free: 18.84 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000163/0.8932, allocations: 306.5 kB / 1.265 GB, free: 18.7 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 7.167e-05/0.8933, allocations: 117.7 kB / 1.265 GB, free: 18.62 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.873e-05/0.8934, allocations: 72.92 kB / 1.265 GB, free: 18.61 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.8936, allocations: 364.7 kB / 1.265 GB, free: 18.29 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002334/0.8938, allocations: 146.4 kB / 1.265 GB, free: 18.29 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002605/0.8941, allocations: 221.7 kB / 1.266 GB, free: 18.21 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004619/0.8945, allocations: 335.2 kB / 1.266 GB, free: 18.18 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.8946, allocations: 0 / 1.266 GB, free: 18.18 MB / 1.014 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005994/0.8952, allocations: 436.2 kB / 1.266 GB, free: 18.12 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.8952, allocations: 9.094 kB / 1.266 GB, free: 18.11 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.8952, allocations: 1.625 kB / 1.266 GB, free: 18.11 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.8952, allocations: 3.734 kB / 1.266 GB, free: 18.11 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002826/0.8955, allocations: 72.08 kB / 1.266 GB, free: 18.11 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.8955, allocations: 2.656 kB / 1.266 GB, free: 18.11 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004013/0.8959, allocations: 38.92 kB / 1.266 GB, free: 18.1 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.689e-05/0.8959, allocations: 15.69 kB / 1.266 GB, free: 18.1 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003774/0.8963, allocations: 305.9 kB / 1.267 GB, free: 18.02 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000254/0.8966, allocations: 209.8 kB / 1.267 GB, free: 17.95 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004575/0.8971, allocations: 329.6 kB / 1.267 GB, free: 17.92 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.663e-06/0.8971, allocations: 0.6562 kB / 1.267 GB, free: 17.92 MB / 1.014 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006699/0.8977, allocations: 422.4 kB / 1.268 GB, free: 17.86 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 9.267e-06/0.8978, allocations: 7.922 kB / 1.268 GB, free: 17.86 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.225e-06/0.8978, allocations: 1.594 kB / 1.268 GB, free: 17.86 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.519e-06/0.8978, allocations: 7.562 kB / 1.268 GB, free: 17.85 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002819/0.8981, allocations: 71.08 kB / 1.268 GB, free: 17.85 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.8981, allocations: 3.75 kB / 1.268 GB, free: 17.85 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003928/0.8985, allocations: 36.8 kB / 1.268 GB, free: 17.84 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.47e-05/0.8985, allocations: 11.75 kB / 1.268 GB, free: 17.84 MB / 1.014 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.0001336/0.8986, allocations: 202.1 kB / 1.268 GB, free: 17.66 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.487e-05/0.8987, allocations: 62.39 kB / 1.268 GB, free: 17.63 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007208/0.8995, allocations: 427.6 kB / 1.268 GB, free: 17.57 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.8995, allocations: 3.906 kB / 1.268 GB, free: 17.57 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.8995, allocations: 2.016 kB / 1.268 GB, free: 17.57 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008385/0.9003, allocations: 441.2 kB / 1.269 GB, free: 17.41 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002375/0.9027, allocations: 1.176 MB / 1.27 GB, free: 17.05 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.9027, allocations: 0.9375 kB / 1.27 GB, free: 17.05 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005687/0.9033, allocations: 85.2 kB / 1.27 GB, free: 17.05 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.9033, allocations: 3.625 kB / 1.27 GB, free: 17.05 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.435e-05/0.9034, allocations: 9.906 kB / 1.27 GB, free: 17.05 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.631e-06/0.9034, allocations: 3.781 kB / 1.27 GB, free: 17.05 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/0.9034, allocations: 2.438 kB / 1.27 GB, free: 17.05 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001407/0.9048, allocations: 0.703 MB / 1.271 GB, free: 16.83 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002928/0.9051, allocations: 177.1 kB / 1.271 GB, free: 16.71 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/0.9052, allocations: 9.688 kB / 1.271 GB, free: 16.71 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006932/0.9059, allocations: 30.73 kB / 1.271 GB, free: 16.7 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.909e-05/0.9061, allocations: 30.72 kB / 1.271 GB, free: 16.7 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.276e-05/0.9061, allocations: 15.69 kB / 1.271 GB, free: 16.7 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.00059/0.9067, allocations: 365.8 kB / 1.271 GB, free: 16.61 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.2e-07/0.9067, allocations: 0 / 1.271 GB, free: 16.61 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001232/0.908, allocations: 317.3 kB / 1.272 GB, free: 16.57 MB / 1.014 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.00247/0.9104, allocations: 1.345 MB / 1.273 GB, free: 15.82 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001699/0.9122, allocations: 0.5457 MB / 1.274 GB, free: 15.81 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/0.9122, allocations: 5.375 kB / 1.274 GB, free: 15.81 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000454/0.9126, allocations: 178.2 kB / 1.274 GB, free: 15.81 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002359/0.915, allocations: 351.7 kB / 1.274 GB, free: 15.77 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006833/0.9219, allocations: 4.748 MB / 1.279 GB, free: 13.87 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005315/0.9224, allocations: 0.9346 MB / 1.28 GB, free: 13.17 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0005722/0.923, allocations: 182.8 kB / 1.28 GB, free: 13.15 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002288/0.9232, allocations: 219.7 kB / 1.28 GB, free: 13.14 MB / 1.014 GB Notification: Performance of SimCode: time 4.21e-07/0.9232, allocations: 0 / 1.28 GB, free: 13.14 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.166/3.09, allocations: 16.73 MB / 1.296 GB, free: 11.95 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.11/20.2, allocations: 4 kB / 1.296 GB, free: 11.94 MB / 1.014 GB (rm -f Buildings_11_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_11_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_11_Buildings.Fluid.Delays.Examples.Delay.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Delays.Examples.Delay_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Delays_Examples_Delay_fmu --startTime=0 --stopTime=300 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Delays_Examples_Delay.fmu > Buildings_11_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Delays.Examples.Delay_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Delays_Examples_Delay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Delays.Examples.Delay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches