Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Delays.Examples.Delay,fileNamePrefix="Buildings_latest_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.00704/0.00704, allocations: 99.64 kB / 15.73 MB, free: 6.465 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.001686/0.001686, allocations: 190.8 kB / 16.67 MB, free: 6.379 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.313/1.313, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.571/2.571, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 67.89 kB / 1.054 GB, free: 7.676 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.2986, allocations: 157.4 MB / 1.207 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.8283/1.127, allocations: 183.3 MB / 1.386 GB, free: 5.148 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.008864/1.136, allocations: 4.869 MB / 1.391 GB, free: 1.195 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001288/1.137, allocations: 30.75 kB / 1.391 GB, free: 1.184 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001515/1.139, allocations: 440 kB / 1.391 GB, free: 0.8242 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.004078/1.143, allocations: 1.407 MB / 1.393 GB, free: 15.73 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.00236/1.145, allocations: 0.7809 MB / 1.394 GB, free: 15.15 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002977/1.148, allocations: 1.855 MB / 1.395 GB, free: 14.09 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001161/1.149, allocations: 0.594 MB / 1.396 GB, free: 13.71 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002315/1.152, allocations: 0.8832 MB / 1.397 GB, free: 13.18 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001552/1.153, allocations: 0.5392 MB / 1.397 GB, free: 12.86 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002123/1.154, allocations: 59.12 kB / 1.397 GB, free: 12.86 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002995/1.157, allocations: 1.411 MB / 1.399 GB, free: 12.07 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0004368/1.157, allocations: 267.1 kB / 1.399 GB, free: 11.89 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0008375/1.158, allocations: 397 kB / 1.399 GB, free: 11.65 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.003149/1.161, allocations: 1.42 MB / 1.401 GB, free: 10.75 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/1.161, allocations: 3.938 kB / 1.401 GB, free: 10.75 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.883e-06/1.161, allocations: 0.8125 kB / 1.401 GB, free: 10.75 MB / 1.092 GB Notification: Performance of Transformations before backend: time 3.806e-05/1.161, allocations: 4 kB / 1.401 GB, free: 10.75 MB / 1.092 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.002472/1.164, allocations: 1.101 MB / 1.402 GB, free: 9.863 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/1.164, allocations: 10.06 kB / 1.402 GB, free: 9.863 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001501/1.164, allocations: 86.77 kB / 1.402 GB, free: 9.785 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001466/1.165, allocations: 213.3 kB / 1.402 GB, free: 9.688 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001269/1.167, allocations: 0.6196 MB / 1.403 GB, free: 9.184 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.531e-05/1.167, allocations: 45.66 kB / 1.403 GB, free: 9.16 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/1.167, allocations: 43.72 kB / 1.403 GB, free: 9.148 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009215/1.168, allocations: 499.6 kB / 1.403 GB, free: 8.867 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/1.168, allocations: 0 / 1.403 GB, free: 8.867 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.028e-05/1.168, allocations: 21.84 kB / 1.403 GB, free: 8.852 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.117e-05/1.168, allocations: 13.72 kB / 1.403 GB, free: 8.848 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008339/1.169, allocations: 444.6 kB / 1.404 GB, free: 8.641 MB / 1.092 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.00313/1.172, allocations: 1.999 MB / 1.406 GB, free: 6.918 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006281/1.172, allocations: 348.4 kB / 1.406 GB, free: 6.734 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003333/1.173, allocations: 204 kB / 1.406 GB, free: 6.637 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002984/1.173, allocations: 198.9 kB / 1.406 GB, free: 6.43 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/1.173, allocations: 41.56 kB / 1.406 GB, free: 6.383 MB / 1.092 GB Notification: Performance of pre-optimization done (n=33): time 1.763e-06/1.173, allocations: 1.688 kB / 1.407 GB, free: 6.383 MB / 1.092 GB Notification: Performance of matching and sorting (n=33): time 0.001327/1.174, allocations: 0.5379 MB / 1.407 GB, free: 6.113 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.378e-05/1.174, allocations: 66.92 kB / 1.407 GB, free: 6.039 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006843/1.175, allocations: 0.502 MB / 1.408 GB, free: 5.742 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 5.314e-05/1.175, allocations: 36.14 kB / 1.408 GB, free: 5.703 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002368/1.175, allocations: 303.7 kB / 1.408 GB, free: 5.438 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001161/1.176, allocations: 117.5 kB / 1.408 GB, free: 5.336 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/1.176, allocations: 63.59 kB / 1.408 GB, free: 5.297 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001634/1.176, allocations: 363.8 kB / 1.408 GB, free: 4.945 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002729/1.176, allocations: 149.5 kB / 1.409 GB, free: 4.863 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003288/1.176, allocations: 220.1 kB / 1.409 GB, free: 4.711 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005726/1.177, allocations: 340.2 kB / 1.409 GB, free: 4.52 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/1.177, allocations: 3.938 kB / 1.409 GB, free: 4.516 MB / 1.092 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007497/1.178, allocations: 435.5 kB / 1.41 GB, free: 4.289 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/1.178, allocations: 10.06 kB / 1.41 GB, free: 4.285 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/1.178, allocations: 0 / 1.41 GB, free: 4.285 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/1.178, allocations: 3.062 kB / 1.41 GB, free: 4.285 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003146/1.178, allocations: 66.91 kB / 1.41 GB, free: 4.273 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.487e-05/1.178, allocations: 11.05 kB / 1.41 GB, free: 4.266 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005332/1.179, allocations: 40.11 kB / 1.41 GB, free: 4.238 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.563e-05/1.179, allocations: 11 kB / 1.41 GB, free: 4.238 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004327/1.179, allocations: 308.5 kB / 1.41 GB, free: 4.039 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002965/1.18, allocations: 212.3 kB / 1.41 GB, free: 3.891 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005312/1.18, allocations: 340.8 kB / 1.41 GB, free: 3.695 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.545e-06/1.18, allocations: 2.75 kB / 1.41 GB, free: 3.695 MB / 1.092 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.000722/1.181, allocations: 418.3 kB / 1.411 GB, free: 3.48 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/1.181, allocations: 5.812 kB / 1.411 GB, free: 3.48 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-06/1.181, allocations: 2.406 kB / 1.411 GB, free: 3.48 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.089e-06/1.181, allocations: 2.406 kB / 1.411 GB, free: 3.48 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003019/1.181, allocations: 76.42 kB / 1.411 GB, free: 3.457 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/1.181, allocations: 2.969 kB / 1.411 GB, free: 3.457 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000511/1.182, allocations: 34.73 kB / 1.411 GB, free: 3.438 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.915e-05/1.182, allocations: 14.19 kB / 1.411 GB, free: 3.434 MB / 1.092 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.0001598/1.182, allocations: 193.5 kB / 1.411 GB, free: 3.242 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/1.182, allocations: 63.61 kB / 1.411 GB, free: 3.207 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007762/1.183, allocations: 426 kB / 1.412 GB, free: 2.961 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/1.183, allocations: 2.719 kB / 1.412 GB, free: 2.961 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/1.183, allocations: 3.938 kB / 1.412 GB, free: 2.957 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006004/1.183, allocations: 436.4 kB / 1.412 GB, free: 2.656 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001865/1.185, allocations: 1.172 MB / 1.413 GB, free: 1.785 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/1.185, allocations: 2.125 kB / 1.413 GB, free: 1.785 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003942/1.186, allocations: 85.52 kB / 1.413 GB, free: 1.766 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.494e-06/1.186, allocations: 2.781 kB / 1.413 GB, free: 1.766 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.362e-05/1.186, allocations: 14.27 kB / 1.413 GB, free: 1.754 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.149e-06/1.186, allocations: 5.25 kB / 1.413 GB, free: 1.754 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.316e-05/1.186, allocations: 0 / 1.413 GB, free: 1.754 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001021/1.187, allocations: 0.7136 MB / 1.414 GB, free: 1.285 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003092/1.187, allocations: 177.1 kB / 1.414 GB, free: 1.125 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.896e-05/1.187, allocations: 8.5 kB / 1.414 GB, free: 1.121 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004581/1.188, allocations: 28.78 kB / 1.414 GB, free: 1.105 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.669e-05/1.188, allocations: 25.97 kB / 1.414 GB, free: 1.09 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.639e-05/1.188, allocations: 14.09 kB / 1.414 GB, free: 1.086 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0003987/1.188, allocations: 369.9 kB / 1.415 GB, free: 0.8672 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.4e-07/1.188, allocations: 0 / 1.415 GB, free: 0.8672 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0008822/1.189, allocations: 323.4 kB / 1.415 GB, free: 0.8086 MB / 1.092 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.00161/1.191, allocations: 1.324 MB / 1.416 GB, free: 15.78 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0009511/1.192, allocations: 0.5144 MB / 1.417 GB, free: 15.55 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/1.192, allocations: 0 / 1.417 GB, free: 15.55 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0002973/1.192, allocations: 182.4 kB / 1.417 GB, free: 15.47 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001602/1.194, allocations: 358.6 kB / 1.417 GB, free: 15.29 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006353/1.2, allocations: 4.645 MB / 1.422 GB, free: 10.7 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005396/1.201, allocations: 0.9373 MB / 1.423 GB, free: 9.738 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.000608/1.201, allocations: 176.8 kB / 1.423 GB, free: 9.562 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003242/1.202, allocations: 219.4 kB / 1.423 GB, free: 9.348 MB / 1.107 GB Notification: Performance of SimCode: time 9.21e-07/1.202, allocations: 0 / 1.423 GB, free: 9.348 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03947/1.241, allocations: 17.13 MB / 1.44 GB, free: 8.461 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.42/9.661, allocations: 8 kB / 1.44 GB, free: 8.453 MB / 1.123 GB (rm -f Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Delays.Examples.Delay_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Delays_Examples_Delay_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Delays_Examples_Delay.fmu > Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Delays.Examples.Delay_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Delays_Examples_Delay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches