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.001377/0.001377, allocations: 108 kB / 15.6 MB, free: 132 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.001362/0.001362, allocations: 194.6 kB / 16.53 MB, free: 6.391 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.571/1.571, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.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.952/2.952, allocations: 437 MB / 0.7104 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001739/0.001739, allocations: 67.89 kB / 0.8692 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8146/0.8163, allocations: 151.6 MB / 1.017 GB, free: 2.473 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.2248/1.041, allocations: 183.3 MB / 1.196 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.009195/1.05, allocations: 4.863 MB / 1.201 GB, free: 5.645 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00127/1.052, allocations: 31.81 kB / 1.201 GB, free: 5.613 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001438/1.053, allocations: 441.3 kB / 1.201 GB, free: 5.18 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.004545/1.058, allocations: 1.396 MB / 1.203 GB, free: 3.777 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002224/1.06, allocations: 0.7742 MB / 1.204 GB, free: 3.008 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002754/1.063, allocations: 1.84 MB / 1.205 GB, free: 1.164 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009546/1.064, allocations: 0.5978 MB / 1.206 GB, free: 0.5508 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002085/1.066, allocations: 0.8755 MB / 1.207 GB, free: 15.67 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001348/1.067, allocations: 0.5411 MB / 1.207 GB, free: 15.13 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001163/1.067, allocations: 56 kB / 1.207 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003275/1.071, allocations: 1.415 MB / 1.209 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003245/1.071, allocations: 263.2 kB / 1.209 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0005097/1.071, allocations: 394.1 kB / 1.209 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002401/1.074, allocations: 1.41 MB / 1.211 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/1.074, allocations: 4 kB / 1.211 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.663e-06/1.074, allocations: 0 / 1.211 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.146e-05/1.074, allocations: 0 / 1.211 GB, free: 11.6 MB / 0.9669 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.001931/1.076, allocations: 1.094 MB / 1.212 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/1.076, allocations: 8.031 kB / 1.212 GB, free: 10.44 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001322/1.077, allocations: 210.8 kB / 1.212 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000925/1.078, allocations: 0.5849 MB / 1.213 GB, free: 9.605 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.632e-05/1.078, allocations: 33 kB / 1.213 GB, free: 9.574 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.542e-05/1.078, allocations: 52 kB / 1.213 GB, free: 9.523 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009027/1.079, allocations: 0.4906 MB / 1.213 GB, free: 9.027 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/1.079, allocations: 0 / 1.213 GB, free: 9.027 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.961e-05/1.079, allocations: 20 kB / 1.213 GB, free: 9.008 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.204e-05/1.079, allocations: 20.94 kB / 1.213 GB, free: 8.988 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008415/1.08, allocations: 439.7 kB / 1.214 GB, free: 8.559 MB / 0.9669 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.002864/1.083, allocations: 2.025 MB / 1.216 GB, free: 6.355 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006985/1.084, allocations: 356.5 kB / 1.216 GB, free: 6 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003647/1.084, allocations: 209.3 kB / 1.216 GB, free: 5.793 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000321/1.085, allocations: 190.5 kB / 1.216 GB, free: 5.57 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/1.085, allocations: 38.84 kB / 1.216 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=33): time 2.444e-06/1.085, allocations: 0 / 1.216 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of matching and sorting (n=33): time 0.001311/1.086, allocations: 0.541 MB / 1.217 GB, free: 4.977 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.961e-05/1.086, allocations: 59.34 kB / 1.217 GB, free: 4.906 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006099/1.087, allocations: 0.503 MB / 1.217 GB, free: 4.395 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.22e-05/1.087, allocations: 33.7 kB / 1.217 GB, free: 4.355 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002432/1.087, allocations: 308.2 kB / 1.218 GB, free: 4.047 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001213/1.087, allocations: 118.3 kB / 1.218 GB, free: 3.93 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001198/1.087, allocations: 73.92 kB / 1.218 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001769/1.087, allocations: 362.8 kB / 1.218 GB, free: 3.488 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003004/1.088, allocations: 142.1 kB / 1.218 GB, free: 3.348 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003592/1.088, allocations: 219.4 kB / 1.219 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006122/1.089, allocations: 336.3 kB / 1.219 GB, free: 2.77 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/1.089, allocations: 4 kB / 1.219 GB, free: 2.766 MB / 0.9669 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007877/1.089, allocations: 436.4 kB / 1.219 GB, free: 2.332 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/1.089, allocations: 4 kB / 1.219 GB, free: 2.328 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/1.089, allocations: 4 kB / 1.219 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/1.089, allocations: 0 / 1.219 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003485/1.09, allocations: 71.91 kB / 1.219 GB, free: 2.254 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/1.09, allocations: 7.938 kB / 1.219 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004647/1.09, allocations: 43.59 kB / 1.22 GB, free: 2.203 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.266e-05/1.09, allocations: 16.09 kB / 1.22 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004803/1.091, allocations: 304 kB / 1.22 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003362/1.091, allocations: 211.4 kB / 1.22 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005979/1.092, allocations: 335.4 kB / 1.22 GB, free: 1.316 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.292e-06/1.092, allocations: 0 / 1.22 GB, free: 1.316 MB / 0.9669 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007346/1.093, allocations: 420.5 kB / 1.221 GB, free: 0.8984 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/1.093, allocations: 12.03 kB / 1.221 GB, free: 0.8867 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.094e-06/1.093, allocations: 4 kB / 1.221 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.218e-06/1.093, allocations: 0 / 1.221 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003084/1.093, allocations: 71.89 kB / 1.221 GB, free: 0.8125 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/1.093, allocations: 4 kB / 1.221 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004567/1.093, allocations: 39.67 kB / 1.221 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.595e-05/1.093, allocations: 8 kB / 1.221 GB, free: 0.7617 MB / 0.9669 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.000183/1.094, allocations: 204.1 kB / 1.221 GB, free: 0.5547 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/1.094, allocations: 63.33 kB / 1.221 GB, free: 0.4922 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008212/1.095, allocations: 415 kB / 1.222 GB, free: 80 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/1.095, allocations: 4 kB / 1.222 GB, free: 76 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/1.095, allocations: 3.938 kB / 1.222 GB, free: 72 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006807/1.095, allocations: 437.6 kB / 1.222 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001908/1.097, allocations: 1.172 MB / 1.223 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/1.097, allocations: 4 kB / 1.223 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004165/1.098, allocations: 84.08 kB / 1.223 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/1.098, allocations: 4 kB / 1.223 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.264e-05/1.098, allocations: 8 kB / 1.223 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/1.098, allocations: 3.984 kB / 1.223 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/1.098, allocations: 4 kB / 1.223 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00115/1.099, allocations: 0.7068 MB / 1.224 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002847/1.099, allocations: 176.4 kB / 1.224 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.721e-05/1.099, allocations: 8.094 kB / 1.224 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004995/1.1, allocations: 36.02 kB / 1.224 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.076e-05/1.1, allocations: 23.97 kB / 1.224 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.244e-05/1.1, allocations: 12 kB / 1.224 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0005449/1.1, allocations: 366.8 kB / 1.224 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/1.1, allocations: 3.938 kB / 1.225 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001134/1.102, allocations: 331.2 kB / 1.225 GB, free: 12.57 MB / 0.9825 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.0006825/1.102, allocations: 198 kB / 1.225 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001399/1.104, allocations: 0.5542 MB / 1.226 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/1.104, allocations: 4 kB / 1.226 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003644/1.104, allocations: 177.5 kB / 1.226 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001765/1.106, allocations: 357.3 kB / 1.226 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002593/1.108, allocations: 1.256 MB / 1.227 GB, free: 10 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000686/1.109, allocations: 0.9334 MB / 1.228 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0007873/1.11, allocations: 180.8 kB / 1.228 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001518/1.11, allocations: 47.44 kB / 1.228 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of SimCode: time 1.332e-06/1.11, allocations: 0 / 1.228 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of Templates: time 0.02823/1.138, allocations: 11.68 MB / 1.24 GB, free: 13.32 MB / 0.9981 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=400 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Delays.Examples.Delay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches