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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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: translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|del.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Delays.Examples.Delay") translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|del.T",fileNamePrefix="Buildings_latest_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.000894/0.000894, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.0009127/0.0009126, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 223.2 MB / 239.9 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.739/2.739, allocations: 436.5 MB / 0.7104 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004172/0.0004172, allocations: 8 kB / 0.8707 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8439/0.8443, allocations: 153.7 MB / 1.021 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.1944/1.039, allocations: 152.6 MB / 1.17 GB, free: 8.176 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.009511/1.048, allocations: 4.782 MB / 1.174 GB, free: 3.387 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001255/1.05, allocations: 27.81 kB / 1.174 GB, free: 3.359 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001588/1.051, allocations: 438.1 kB / 1.175 GB, free: 2.93 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.00503/1.056, allocations: 1.398 MB / 1.176 GB, free: 1.527 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002882/1.059, allocations: 0.8806 MB / 1.177 GB, free: 0.6562 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002294/1.062, allocations: 1.085 MB / 1.178 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007918/1.062, allocations: 452.8 kB / 1.179 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001442/1.064, allocations: 0.5995 MB / 1.179 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005295/1.064, allocations: 346.5 kB / 1.18 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.489e-05/1.064, allocations: 28 kB / 1.18 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001872/1.066, allocations: 0.6903 MB / 1.18 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002427/1.067, allocations: 211.4 kB / 1.18 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002184/1.067, allocations: 165.3 kB / 1.181 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001141/1.068, allocations: 0.869 MB / 1.181 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/1.068, allocations: 4 kB / 1.181 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.175e-06/1.068, allocations: 4 kB / 1.181 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.899e-06/1.068, allocations: 0 / 1.181 GB, free: 12.2 MB / 0.9356 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.001706/1.07, allocations: 0.9554 MB / 1.182 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.543e-05/1.07, allocations: 11.98 kB / 1.182 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001315/1.071, allocations: 202.9 kB / 1.183 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001142/1.072, allocations: 0.562 MB / 1.183 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.892e-05/1.072, allocations: 37 kB / 1.183 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001023/1.072, allocations: 48 kB / 1.183 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009695/1.073, allocations: 498.3 kB / 1.184 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/1.073, allocations: 0 / 1.184 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.483e-05/1.074, allocations: 24 kB / 1.184 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.019e-05/1.074, allocations: 16.95 kB / 1.184 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007925/1.074, allocations: 447.7 kB / 1.184 GB, free: 9.328 MB / 0.9356 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.002912/1.077, allocations: 2.01 MB / 1.186 GB, free: 7.145 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006304/1.078, allocations: 363.5 kB / 1.186 GB, free: 6.781 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.33e-05/1.078, allocations: 8.281 kB / 1.186 GB, free: 6.773 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/1.078, allocations: 38.78 kB / 1.187 GB, free: 6.727 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=33): time 1.462e-06/1.078, allocations: 4 kB / 1.187 GB, free: 6.723 MB / 0.9356 GB Notification: Performance of matching and sorting (n=33): time 0.001206/1.079, allocations: 0.5571 MB / 1.187 GB, free: 6.16 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/1.079, allocations: 55.41 kB / 1.187 GB, free: 6.094 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005561/1.08, allocations: 0.503 MB / 1.188 GB, free: 5.582 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.256e-05/1.08, allocations: 33.7 kB / 1.188 GB, free: 5.543 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002278/1.08, allocations: 304.2 kB / 1.188 GB, free: 5.242 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.000101/1.08, allocations: 118.3 kB / 1.188 GB, free: 5.125 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.737e-05/1.08, allocations: 8 kB / 1.188 GB, free: 5.117 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000161/1.08, allocations: 366.7 kB / 1.188 GB, free: 4.75 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002577/1.081, allocations: 144.6 kB / 1.189 GB, free: 4.609 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003354/1.081, allocations: 212 kB / 1.189 GB, free: 4.379 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003126/1.081, allocations: 175.8 kB / 1.189 GB, free: 4.207 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/1.081, allocations: 0 / 1.189 GB, free: 4.207 MB / 0.9356 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007109/1.082, allocations: 437.6 kB / 1.189 GB, free: 3.773 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.000183/1.082, allocations: 368 kB / 1.19 GB, free: 3.387 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/1.082, allocations: 0 / 1.19 GB, free: 3.387 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/1.082, allocations: 4 kB / 1.19 GB, free: 3.383 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003294/1.083, allocations: 67.91 kB / 1.19 GB, free: 3.316 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/1.083, allocations: 7.938 kB / 1.19 GB, free: 3.309 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005115/1.083, allocations: 71.55 kB / 1.19 GB, free: 3.238 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.948e-05/1.083, allocations: 15.98 kB / 1.19 GB, free: 3.223 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.962e-06/1.083, allocations: 0 / 1.19 GB, free: 3.223 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006014/1.084, allocations: 359.6 kB / 1.19 GB, free: 2.871 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.054e-06/1.084, allocations: 0 / 1.19 GB, free: 2.871 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.087e-06/1.084, allocations: 4 kB / 1.19 GB, free: 2.867 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002929/1.084, allocations: 67.91 kB / 1.19 GB, free: 2.801 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/1.084, allocations: 8.094 kB / 1.19 GB, free: 2.793 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004577/1.085, allocations: 67.64 kB / 1.19 GB, free: 2.727 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.499e-05/1.085, allocations: 11.95 kB / 1.19 GB, free: 2.715 MB / 0.9356 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003086/1.085, allocations: 297 kB / 1.191 GB, free: 2.414 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.16e-05/1.085, allocations: 55.34 kB / 1.191 GB, free: 2.359 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008161/1.086, allocations: 428.2 kB / 1.191 GB, free: 1.934 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/1.086, allocations: 4 kB / 1.191 GB, free: 1.93 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/1.086, allocations: 3.984 kB / 1.191 GB, free: 1.926 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006308/1.087, allocations: 440.5 kB / 1.192 GB, free: 1.465 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001776/1.088, allocations: 1.194 MB / 1.193 GB, free: 200 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/1.088, allocations: 64 / 1.193 GB, free: 200 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000402/1.089, allocations: 87.89 kB / 1.193 GB, free: 112 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.713e-06/1.089, allocations: 7.953 kB / 1.193 GB, free: 104 kB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.75e-05/1.089, allocations: 11.98 kB / 1.193 GB, free: 92 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/1.089, allocations: 0 / 1.193 GB, free: 92 kB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/1.089, allocations: 7.938 kB / 1.193 GB, free: 84 kB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001103/1.09, allocations: 0.7832 MB / 1.194 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002474/1.09, allocations: 176.4 kB / 1.194 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.312e-05/1.09, allocations: 15.94 kB / 1.194 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004777/1.091, allocations: 55.8 kB / 1.194 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.111e-05/1.091, allocations: 23.91 kB / 1.194 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.586e-05/1.091, allocations: 12 kB / 1.194 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004137/1.091, allocations: 362.8 kB / 1.194 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.8e-07/1.091, allocations: 0 / 1.194 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0008679/1.092, allocations: 323.2 kB / 1.194 GB, free: 14.26 MB / 0.9512 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004471/1.093, allocations: 190.7 kB / 1.195 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0009787/1.094, allocations: 0.532 MB / 1.195 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/1.094, allocations: 0 / 1.195 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003018/1.094, allocations: 179.7 kB / 1.195 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001673/1.096, allocations: 370.5 kB / 1.196 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0021/1.098, allocations: 1.559 MB / 1.197 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005445/1.098, allocations: 0.9529 MB / 1.198 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0006113/1.099, allocations: 180.8 kB / 1.198 GB, free: 10.24 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001215/1.099, allocations: 51.42 kB / 1.198 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of SimCode: time 4.31e-07/1.099, allocations: 0 / 1.198 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of Templates: time 0.01906/1.118, allocations: 10.91 MB / 1.209 GB, free: 15.43 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.makefile (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 & ./Buildings_latest_Buildings.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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","../files/Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches