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: 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.001686/0.001686, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.001861/0.001861, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.335/1.335, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.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.236/2.236, allocations: 390.2 MB / 0.6653 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001315, allocations: 60.05 kB / 0.8132 GB, free: 33.08 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.2604, allocations: 140.4 MB / 0.9503 GB, free: 8.887 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.7333/0.9938, allocations: 183.2 MB / 1.129 GB, free: 5.305 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.008251/1.002, allocations: 4.868 MB / 1.134 GB, free: 5.156 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001536/1.004, allocations: 34.16 kB / 1.134 GB, free: 5.152 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001325/1.005, allocations: 433.3 kB / 1.134 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004067/1.009, allocations: 1.413 MB / 1.136 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002727/1.012, allocations: 0.7729 MB / 1.137 GB, free: 5.043 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003018/1.015, allocations: 1.843 MB / 1.138 GB, free: 4.949 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001007/1.016, allocations: 0.5904 MB / 1.139 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002345/1.018, allocations: 0.8704 MB / 1.14 GB, free: 4.738 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001361/1.02, allocations: 0.5426 MB / 1.14 GB, free: 4.715 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001527/1.02, allocations: 58.16 kB / 1.14 GB, free: 4.715 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003756/1.024, allocations: 1.41 MB / 1.142 GB, free: 4.594 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003819/1.024, allocations: 268 kB / 1.142 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0006211/1.025, allocations: 398.2 kB / 1.142 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002915/1.028, allocations: 1.403 MB / 1.144 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/1.028, allocations: 0 / 1.144 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.633e-06/1.028, allocations: 4 kB / 1.144 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.187e-05/1.028, allocations: 0 / 1.144 GB, free: 4.305 MB / 0.8575 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.002005/1.03, allocations: 1.093 MB / 1.145 GB, free: 19.64 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/1.03, allocations: 13.81 kB / 1.145 GB, free: 19.63 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001385/1.031, allocations: 209.3 kB / 1.145 GB, free: 19.59 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009839/1.032, allocations: 0.585 MB / 1.146 GB, free: 19.28 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.184e-05/1.032, allocations: 34.69 kB / 1.146 GB, free: 19.28 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001023/1.032, allocations: 49.75 kB / 1.146 GB, free: 19.28 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009469/1.033, allocations: 0.4968 MB / 1.146 GB, free: 19.23 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/1.033, allocations: 1.031 kB / 1.146 GB, free: 19.23 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.629e-05/1.033, allocations: 19.09 kB / 1.146 GB, free: 19.23 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.4e-05/1.033, allocations: 20.95 kB / 1.146 GB, free: 19.22 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008277/1.034, allocations: 435.8 kB / 1.147 GB, free: 19.21 MB / 0.8731 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.002832/1.037, allocations: 2.025 MB / 1.149 GB, free: 18.19 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006357/1.038, allocations: 345.8 kB / 1.149 GB, free: 18.16 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003393/1.038, allocations: 214.8 kB / 1.149 GB, free: 18.14 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003097/1.038, allocations: 195.9 kB / 1.149 GB, free: 17.95 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/1.038, allocations: 36.66 kB / 1.149 GB, free: 17.91 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=33): time 3.146e-06/1.038, allocations: 0 / 1.149 GB, free: 17.91 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33): time 0.00132/1.04, allocations: 0.5439 MB / 1.15 GB, free: 17.74 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.981e-05/1.04, allocations: 54.91 kB / 1.15 GB, free: 17.68 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006093/1.04, allocations: 0.511 MB / 1.15 GB, free: 17.44 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.349e-05/1.04, allocations: 33.17 kB / 1.15 GB, free: 17.41 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001906/1.041, allocations: 304.6 kB / 1.151 GB, free: 17.16 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001012/1.041, allocations: 117.8 kB / 1.151 GB, free: 17.08 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001144/1.041, allocations: 72.61 kB / 1.151 GB, free: 17.04 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001411/1.041, allocations: 373.4 kB / 1.151 GB, free: 16.69 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002705/1.041, allocations: 141.2 kB / 1.151 GB, free: 16.64 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003142/1.042, allocations: 217.8 kB / 1.152 GB, free: 16.52 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005526/1.042, allocations: 336.3 kB / 1.152 GB, free: 16.36 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/1.042, allocations: 0 / 1.152 GB, free: 16.36 MB / 0.8731 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007731/1.043, allocations: 436.3 kB / 1.152 GB, free: 16.18 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/1.043, allocations: 7.516 kB / 1.152 GB, free: 16.18 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/1.043, allocations: 1.188 kB / 1.152 GB, free: 16.18 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/1.043, allocations: 2.094 kB / 1.152 GB, free: 16.18 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003441/1.043, allocations: 72.33 kB / 1.152 GB, free: 16.17 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/1.043, allocations: 6.406 kB / 1.152 GB, free: 16.16 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005328/1.044, allocations: 39.89 kB / 1.152 GB, free: 16.14 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.692e-05/1.044, allocations: 12.84 kB / 1.153 GB, free: 16.14 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000496/1.044, allocations: 309.8 kB / 1.153 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002948/1.045, allocations: 207.1 kB / 1.153 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005302/1.045, allocations: 327.6 kB / 1.153 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.062e-06/1.045, allocations: 0 / 1.153 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007275/1.046, allocations: 433.7 kB / 1.154 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 9.709e-06/1.046, allocations: 4.875 kB / 1.154 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.397e-06/1.046, allocations: 5.812 kB / 1.154 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.318e-06/1.046, allocations: 1.5 kB / 1.154 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003167/1.046, allocations: 67.89 kB / 1.154 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/1.046, allocations: 5.25 kB / 1.154 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004929/1.047, allocations: 40.95 kB / 1.154 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.687e-05/1.047, allocations: 9.656 kB / 1.154 GB, free: 15.49 MB / 0.8731 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.0001639/1.047, allocations: 197.5 kB / 1.154 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.952e-05/1.047, allocations: 64.98 kB / 1.154 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007656/1.048, allocations: 428.8 kB / 1.155 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/1.048, allocations: 3.531 kB / 1.155 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/1.048, allocations: 3.938 kB / 1.155 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006328/1.049, allocations: 436.4 kB / 1.155 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0018/1.05, allocations: 1.176 MB / 1.156 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/1.05, allocations: 2.438 kB / 1.156 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004149/1.051, allocations: 86.44 kB / 1.156 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.592e-06/1.051, allocations: 3.531 kB / 1.156 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.858e-05/1.051, allocations: 9.406 kB / 1.156 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/1.051, allocations: 3.531 kB / 1.156 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/1.051, allocations: 2.281 kB / 1.156 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/1.052, allocations: 0.702 MB / 1.157 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000248/1.052, allocations: 174.9 kB / 1.157 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.021e-05/1.052, allocations: 11.34 kB / 1.157 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004504/1.053, allocations: 25.17 kB / 1.157 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.005e-05/1.053, allocations: 28.27 kB / 1.157 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-05/1.053, allocations: 17.81 kB / 1.157 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004537/1.053, allocations: 362.2 kB / 1.157 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.6e-07/1.053, allocations: 0 / 1.157 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001012/1.054, allocations: 328.9 kB / 1.158 GB, free: 13.35 MB / 0.8731 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.0004745/1.055, allocations: 188.6 kB / 1.158 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001129/1.056, allocations: 0.5445 MB / 1.158 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/1.056, allocations: 1.312 kB / 1.158 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003241/1.056, allocations: 177 kB / 1.159 GB, free: 13.01 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00168/1.058, allocations: 366.8 kB / 1.159 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002337/1.06, allocations: 1.302 MB / 1.16 GB, free: 12.1 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005788/1.061, allocations: 0.9269 MB / 1.161 GB, free: 11.38 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001701/1.061, allocations: 54.38 kB / 1.161 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of SimCode: time 7.12e-07/1.061, allocations: 0 / 1.161 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of Templates: time 0.01823/1.079, allocations: 9.669 MB / 1.171 GB, free: 8.605 MB / 0.8731 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