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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|del.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Delays.Examples.Delay") translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|del.T",fileNamePrefix="Buildings_9_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.001165/0.001165, allocations: 98.88 kB / 16.02 MB, free: 76 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.001659/0.00166, allocations: 183.6 kB / 16.92 MB, free: 6.684 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.375/1.375, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.4/2.4, allocations: 390.9 MB / 0.667 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005964/0.0005966, allocations: 16 kB / 0.8166 GB, free: 13.28 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6803/0.6809, allocations: 142.4 MB / 0.9557 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.1997/0.8806, allocations: 178.6 MB / 1.13 GB, free: 12.13 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.008321/0.889, allocations: 4.877 MB / 1.135 GB, free: 7.242 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009314/0.89, allocations: 27.81 kB / 1.135 GB, free: 7.215 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001164/0.8912, allocations: 366 kB / 1.135 GB, free: 6.855 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003534/0.8947, allocations: 1.337 MB / 1.137 GB, free: 5.516 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001888/0.8966, allocations: 0.6915 MB / 1.137 GB, free: 4.828 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002928/0.8996, allocations: 2.524 MB / 1.14 GB, free: 2.297 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007787/0.9003, allocations: 0.4938 MB / 1.14 GB, free: 1.789 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001703/0.9021, allocations: 0.7546 MB / 1.141 GB, free: 1.031 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001185/0.9033, allocations: 0.5517 MB / 1.141 GB, free: 492 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 7.242e-05/0.9033, allocations: 28 kB / 1.142 GB, free: 464 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002764/0.9061, allocations: 1.609 MB / 1.143 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002435/0.9064, allocations: 227.2 kB / 1.143 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003754/0.9068, allocations: 379.8 kB / 1.144 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001184/0.9079, allocations: 1.017 MB / 1.145 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.908, allocations: 3.938 kB / 1.145 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.325e-06/0.908, allocations: 0 / 1.145 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.288e-06/0.908, allocations: 0 / 1.145 GB, free: 13.21 MB / 0.9044 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.001515/0.9095, allocations: 0.9694 MB / 1.146 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.9096, allocations: 8.031 kB / 1.146 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001281/0.9108, allocations: 214.8 kB / 1.146 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008372/0.9117, allocations: 0.5771 MB / 1.146 GB, free: 11.35 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.331e-05/0.9117, allocations: 37 kB / 1.146 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.066e-05/0.9118, allocations: 44 kB / 1.146 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000865/0.9127, allocations: 0.4984 MB / 1.147 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.832e-05/0.9127, allocations: 7.891 kB / 1.147 GB, free: 10.76 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.163e-05/0.9128, allocations: 20 kB / 1.147 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.931e-05/0.9128, allocations: 17 kB / 1.147 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007931/0.9136, allocations: 447.7 kB / 1.147 GB, free: 10.29 MB / 0.9044 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.002517/0.9161, allocations: 2.013 MB / 1.149 GB, free: 8.102 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006286/0.9168, allocations: 359.5 kB / 1.15 GB, free: 7.742 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000353/0.9172, allocations: 217.2 kB / 1.15 GB, free: 7.527 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002885/0.9174, allocations: 190.5 kB / 1.15 GB, free: 7.305 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/0.9175, allocations: 42.78 kB / 1.15 GB, free: 7.254 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=33): time 1.873e-06/0.9175, allocations: 0 / 1.15 GB, free: 7.254 MB / 0.9044 GB Notification: Performance of matching and sorting (n=33): time 0.001253/0.9188, allocations: 0.5535 MB / 1.151 GB, free: 6.695 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.9188, allocations: 63.34 kB / 1.151 GB, free: 6.621 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005511/0.9194, allocations: 0.5069 MB / 1.151 GB, free: 6.105 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.079e-05/0.9194, allocations: 41.64 kB / 1.151 GB, free: 6.059 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002307/0.9196, allocations: 300.2 kB / 1.152 GB, free: 5.762 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/0.9198, allocations: 118.3 kB / 1.152 GB, free: 5.645 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.244e-05/0.9198, allocations: 33.7 kB / 1.152 GB, free: 5.605 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.92, allocations: 362.8 kB / 1.152 GB, free: 5.242 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002747/0.9203, allocations: 144.6 kB / 1.152 GB, free: 5.102 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003284/0.9206, allocations: 220 kB / 1.152 GB, free: 4.863 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000582/0.9212, allocations: 347.1 kB / 1.153 GB, free: 4.512 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.9212, allocations: 0 / 1.153 GB, free: 4.512 MB / 0.9044 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007415/0.9219, allocations: 441.7 kB / 1.153 GB, free: 4.074 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 9.862e-05/0.9221, allocations: 119.6 kB / 1.153 GB, free: 3.941 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.9221, allocations: 0 / 1.153 GB, free: 3.941 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.9221, allocations: 4 kB / 1.153 GB, free: 3.938 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000341/0.9224, allocations: 75.89 kB / 1.153 GB, free: 3.863 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.9225, allocations: 7.938 kB / 1.153 GB, free: 3.855 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005626/0.923, allocations: 63.64 kB / 1.153 GB, free: 3.793 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.662e-05/0.9231, allocations: 16 kB / 1.153 GB, free: 3.777 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 5.14e-06/0.9231, allocations: 0 / 1.153 GB, free: 3.777 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006504/0.9237, allocations: 351.6 kB / 1.154 GB, free: 3.434 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.9237, allocations: 4 kB / 1.154 GB, free: 3.43 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.655e-06/0.9238, allocations: 0 / 1.154 GB, free: 3.43 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003099/0.9241, allocations: 79.98 kB / 1.154 GB, free: 3.352 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.297e-06/0.9241, allocations: 4 kB / 1.154 GB, free: 3.348 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005121/0.9246, allocations: 67.64 kB / 1.154 GB, free: 3.281 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.839e-05/0.9246, allocations: 15.94 kB / 1.154 GB, free: 3.266 MB / 0.9044 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.0003032/0.9249, allocations: 285 kB / 1.154 GB, free: 2.977 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.899e-05/0.9251, allocations: 59.25 kB / 1.154 GB, free: 2.918 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008132/0.9259, allocations: 447.1 kB / 1.155 GB, free: 2.469 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.9259, allocations: 4 kB / 1.155 GB, free: 2.465 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.9259, allocations: 4.062 kB / 1.155 GB, free: 2.461 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000634/0.9265, allocations: 444.2 kB / 1.155 GB, free: 1.996 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00178/0.9283, allocations: 1.191 MB / 1.156 GB, free: 0.7305 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.9283, allocations: 7.984 kB / 1.156 GB, free: 0.7227 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004158/0.9288, allocations: 87.83 kB / 1.156 GB, free: 0.6367 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.9288, allocations: 4 kB / 1.156 GB, free: 0.6328 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.769e-05/0.9288, allocations: 8 kB / 1.156 GB, free: 0.625 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.219e-06/0.9288, allocations: 4.188 kB / 1.156 GB, free: 0.6211 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.9288, allocations: 7.938 kB / 1.156 GB, free: 0.6133 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001071/0.9299, allocations: 0.7082 MB / 1.157 GB, free: 15.87 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002511/0.9302, allocations: 180.3 kB / 1.157 GB, free: 15.67 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.198e-05/0.9303, allocations: 12 kB / 1.157 GB, free: 15.66 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005308/0.9308, allocations: 51.89 kB / 1.157 GB, free: 15.61 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.581e-05/0.9309, allocations: 27.91 kB / 1.157 GB, free: 15.58 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-05/0.9309, allocations: 12 kB / 1.157 GB, free: 15.57 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0004219/0.9313, allocations: 366.8 kB / 1.158 GB, free: 15.21 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9314, allocations: 0 / 1.158 GB, free: 15.21 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0008675/0.9322, allocations: 327.1 kB / 1.158 GB, free: 14.89 MB / 0.92 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.0004573/0.9327, allocations: 196.7 kB / 1.158 GB, free: 14.71 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001032/0.9337, allocations: 0.532 MB / 1.159 GB, free: 14.18 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.9338, allocations: 0 / 1.159 GB, free: 14.18 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0003397/0.9341, allocations: 192.4 kB / 1.159 GB, free: 13.99 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002024/0.9361, allocations: 367 kB / 1.159 GB, free: 13.63 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00213/0.9383, allocations: 1.603 MB / 1.161 GB, free: 11.98 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004612/0.9388, allocations: 0.9256 MB / 1.162 GB, free: 11.02 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001565/0.9389, allocations: 51.44 kB / 1.162 GB, free: 10.97 MB / 0.92 GB Notification: Performance of SimCode: time 5.61e-07/0.9389, allocations: 0 / 1.162 GB, free: 10.97 MB / 0.92 GB Notification: Performance of Templates: time 0.01555/0.9545, allocations: 9.685 MB / 1.171 GB, free: 1.383 MB / 0.92 GB make -j1 -f Buildings_9_Buildings.Fluid.Delays.Examples.Delay.makefile (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 & ./Buildings_9_Buildings.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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