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: translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|del.T",fileNamePrefix="Buildings_10_Buildings.Fluid.Delays.Examples.Delay") translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|del.T",fileNamePrefix="Buildings_10_Buildings.Fluid.Delays.Examples.Delay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 113.9 kB / 16.41 MB, free: 6.496 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.001349/0.001349, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.496/1.496, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.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.631/2.631, allocations: 437.1 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 59.89 kB / 1.019 GB, free: 9.422 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9935/0.9954, allocations: 151.6 MB / 1.167 GB, free: 4.016 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.2454/1.241, allocations: 183.3 MB / 1.346 GB, free: 12.05 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01033/1.251, allocations: 4.872 MB / 1.351 GB, free: 7.164 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001338/1.253, allocations: 31.81 kB / 1.351 GB, free: 7.133 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001451/1.254, allocations: 453.3 kB / 1.351 GB, free: 6.688 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.004869/1.259, allocations: 1.462 MB / 1.353 GB, free: 5.219 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002645/1.262, allocations: 0.7878 MB / 1.354 GB, free: 4.438 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003278/1.265, allocations: 1.848 MB / 1.355 GB, free: 2.586 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001029/1.266, allocations: 0.6018 MB / 1.356 GB, free: 1.969 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002221/1.268, allocations: 0.9067 MB / 1.357 GB, free: 1.059 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001409/1.27, allocations: 0.5355 MB / 1.357 GB, free: 0.5234 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.000106/1.27, allocations: 56 kB / 1.358 GB, free: 480 kB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00328/1.273, allocations: 1.422 MB / 1.359 GB, free: 15.04 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.00036/1.273, allocations: 267.2 kB / 1.359 GB, free: 14.78 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0005596/1.274, allocations: 398.1 kB / 1.36 GB, free: 14.39 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002823/1.277, allocations: 1.429 MB / 1.361 GB, free: 12.96 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 7.293e-06/1.277, allocations: 0 / 1.361 GB, free: 12.96 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.665e-06/1.277, allocations: 4 kB / 1.361 GB, free: 12.95 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.278e-05/1.277, allocations: 0 / 1.361 GB, free: 12.95 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.002184/1.279, allocations: 1.124 MB / 1.362 GB, free: 11.78 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/1.279, allocations: 8.922 kB / 1.362 GB, free: 11.77 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001343/1.28, allocations: 215.3 kB / 1.362 GB, free: 11.56 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001165/1.282, allocations: 0.6245 MB / 1.363 GB, free: 10.89 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.567e-05/1.282, allocations: 33 kB / 1.363 GB, free: 10.86 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/1.282, allocations: 48 kB / 1.363 GB, free: 10.82 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009483/1.283, allocations: 498.3 kB / 1.363 GB, free: 10.32 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/1.283, allocations: 0 / 1.363 GB, free: 10.32 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.172e-05/1.283, allocations: 23.94 kB / 1.363 GB, free: 10.3 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.811e-05/1.283, allocations: 16.98 kB / 1.363 GB, free: 10.28 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008304/1.284, allocations: 447.6 kB / 1.364 GB, free: 9.848 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.003036/1.287, allocations: 2.01 MB / 1.366 GB, free: 7.66 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006743/1.287, allocations: 352.6 kB / 1.366 GB, free: 7.309 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003757/1.288, allocations: 212 kB / 1.366 GB, free: 7.102 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003673/1.288, allocations: 198.5 kB / 1.367 GB, free: 6.871 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.728e-05/1.288, allocations: 38.84 kB / 1.367 GB, free: 6.824 MB / 1.092 GB Notification: Performance of pre-optimization done (n=33): time 2.164e-06/1.288, allocations: 0 / 1.367 GB, free: 6.824 MB / 1.092 GB Notification: Performance of matching and sorting (n=33): time 0.001412/1.29, allocations: 0.5496 MB / 1.367 GB, free: 6.27 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.235e-05/1.29, allocations: 63.28 kB / 1.367 GB, free: 6.195 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006779/1.29, allocations: 0.5069 MB / 1.368 GB, free: 5.676 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 4.954e-05/1.291, allocations: 29.7 kB / 1.368 GB, free: 5.641 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002969/1.291, allocations: 304.6 kB / 1.368 GB, free: 5.34 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001343/1.291, allocations: 123 kB / 1.368 GB, free: 5.219 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001349/1.291, allocations: 69.98 kB / 1.368 GB, free: 5.145 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002128/1.291, allocations: 366.8 kB / 1.369 GB, free: 4.777 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003156/1.292, allocations: 146.1 kB / 1.369 GB, free: 4.633 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003819/1.292, allocations: 207.7 kB / 1.369 GB, free: 4.406 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006521/1.293, allocations: 344.8 kB / 1.369 GB, free: 4.059 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/1.293, allocations: 0 / 1.369 GB, free: 4.059 MB / 1.092 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008084/1.294, allocations: 429 kB / 1.37 GB, free: 3.633 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/1.294, allocations: 12.09 kB / 1.37 GB, free: 3.621 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/1.294, allocations: 0 / 1.37 GB, free: 3.621 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/1.294, allocations: 0 / 1.37 GB, free: 3.621 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003519/1.294, allocations: 79.83 kB / 1.37 GB, free: 3.543 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.31e-05/1.294, allocations: 7.938 kB / 1.37 GB, free: 3.535 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004565/1.294, allocations: 35.77 kB / 1.37 GB, free: 3.5 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.869e-05/1.294, allocations: 12 kB / 1.37 GB, free: 3.488 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005048/1.295, allocations: 308 kB / 1.37 GB, free: 3.184 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003502/1.295, allocations: 215.4 kB / 1.37 GB, free: 2.949 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006041/1.296, allocations: 335.4 kB / 1.371 GB, free: 2.609 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.182e-06/1.296, allocations: 0 / 1.371 GB, free: 2.609 MB / 1.092 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007653/1.297, allocations: 421 kB / 1.371 GB, free: 2.191 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/1.297, allocations: 10.44 kB / 1.371 GB, free: 2.184 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/1.297, allocations: 7.984 kB / 1.371 GB, free: 2.176 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.16e-06/1.297, allocations: 4 kB / 1.371 GB, free: 2.172 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003101/1.297, allocations: 72 kB / 1.371 GB, free: 2.102 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/1.297, allocations: 7.938 kB / 1.371 GB, free: 2.094 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004341/1.298, allocations: 39.8 kB / 1.371 GB, free: 2.055 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.773e-05/1.298, allocations: 11.98 kB / 1.371 GB, free: 2.043 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.0001878/1.298, allocations: 202.4 kB / 1.371 GB, free: 1.84 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/1.298, allocations: 63.56 kB / 1.371 GB, free: 1.777 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008868/1.299, allocations: 423 kB / 1.372 GB, free: 1.359 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/1.299, allocations: 4 kB / 1.372 GB, free: 1.355 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/1.299, allocations: 3.938 kB / 1.372 GB, free: 1.352 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007121/1.3, allocations: 433.6 kB / 1.372 GB, free: 0.8984 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002027/1.302, allocations: 1.167 MB / 1.373 GB, free: 15.66 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/1.302, allocations: 0 / 1.373 GB, free: 15.66 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004183/1.302, allocations: 83.89 kB / 1.373 GB, free: 15.57 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.398e-06/1.302, allocations: 7.984 kB / 1.373 GB, free: 15.57 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.222e-05/1.302, allocations: 12.19 kB / 1.373 GB, free: 15.55 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/1.302, allocations: 7.938 kB / 1.373 GB, free: 15.55 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/1.302, allocations: 0 / 1.373 GB, free: 15.55 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001184/1.303, allocations: 0.711 MB / 1.374 GB, free: 14.8 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002571/1.304, allocations: 180.7 kB / 1.374 GB, free: 14.61 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.371e-05/1.304, allocations: 11.98 kB / 1.374 GB, free: 14.59 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004279/1.304, allocations: 22.22 kB / 1.374 GB, free: 14.57 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.335e-05/1.304, allocations: 23.97 kB / 1.374 GB, free: 14.55 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-05/1.304, allocations: 19.98 kB / 1.374 GB, free: 14.53 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.000482/1.305, allocations: 366.8 kB / 1.375 GB, free: 14.18 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.2e-07/1.305, allocations: 0 / 1.375 GB, free: 14.18 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0009107/1.306, allocations: 323.3 kB / 1.375 GB, free: 13.86 MB / 1.107 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.0005032/1.306, allocations: 192.4 kB / 1.375 GB, free: 13.67 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001113/1.307, allocations: 0.5307 MB / 1.376 GB, free: 13.14 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 5.66e-06/1.307, allocations: 7.938 kB / 1.376 GB, free: 13.13 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0003344/1.308, allocations: 172 kB / 1.376 GB, free: 12.96 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001652/1.309, allocations: 356.6 kB / 1.376 GB, free: 12.62 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002374/1.312, allocations: 1.259 MB / 1.378 GB, free: 11.3 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006619/1.312, allocations: 0.9334 MB / 1.378 GB, free: 10.34 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0006281/1.313, allocations: 184.8 kB / 1.379 GB, free: 10.16 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001395/1.313, allocations: 51.44 kB / 1.379 GB, free: 10.11 MB / 1.107 GB Notification: Performance of SimCode: time 1.703e-06/1.313, allocations: 0 / 1.379 GB, free: 10.11 MB / 1.107 GB Notification: Performance of Templates: time 0.02458/1.338, allocations: 11.82 MB / 1.39 GB, free: 14.48 MB / 1.123 GB make -j1 -f Buildings_10_Buildings.Fluid.Delays.Examples.Delay.makefile (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 & ./Buildings_10_Buildings.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > 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