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.001343/0.001343, allocations: 107.8 kB / 16.27 MB, free: 6.41 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.001582/0.001582, allocations: 190.3 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.402/1.402, allocations: 222.9 MB / 240.9 MB, free: 15.27 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.61/2.61, allocations: 437 MB / 0.711 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 69.73 kB / 0.8699 GB, free: 2.234 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2941/0.2956, allocations: 151.6 MB / 1.018 GB, free: 10.67 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.8363/1.132, allocations: 183.3 MB / 1.197 GB, free: 11.1 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.008312/1.14, allocations: 4.86 MB / 1.202 GB, free: 7.156 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001235/1.142, allocations: 30.91 kB / 1.202 GB, free: 7.145 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001401/1.143, allocations: 443.9 kB / 1.202 GB, free: 6.781 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.004038/1.147, allocations: 1.411 MB / 1.203 GB, free: 5.691 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002242/1.149, allocations: 0.7659 MB / 1.204 GB, free: 5.125 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002542/1.152, allocations: 1.846 MB / 1.206 GB, free: 4.082 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001161/1.153, allocations: 0.6048 MB / 1.207 GB, free: 3.699 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00304/1.156, allocations: 0.8679 MB / 1.207 GB, free: 3.176 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002038/1.158, allocations: 0.5358 MB / 1.208 GB, free: 2.859 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0003323/1.159, allocations: 59.78 kB / 1.208 GB, free: 2.859 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003771/1.162, allocations: 1.411 MB / 1.209 GB, free: 2.074 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004584/1.163, allocations: 266 kB / 1.21 GB, free: 1.895 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0008431/1.164, allocations: 402.6 kB / 1.21 GB, free: 1.645 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002874/1.167, allocations: 1.396 MB / 1.211 GB, free: 0.7656 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/1.167, allocations: 0 / 1.211 GB, free: 0.7656 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.305e-06/1.167, allocations: 1.781 kB / 1.211 GB, free: 0.7656 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 3.573e-05/1.167, allocations: 0 / 1.211 GB, free: 0.7656 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.002535/1.169, allocations: 1.101 MB / 1.213 GB, free: 15.88 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.026e-05/1.169, allocations: 14.95 kB / 1.213 GB, free: 15.87 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001839/1.171, allocations: 213.6 kB / 1.213 GB, free: 15.77 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001348/1.172, allocations: 0.5836 MB / 1.213 GB, free: 15.28 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.609e-05/1.172, allocations: 33.44 kB / 1.213 GB, free: 15.27 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001281/1.173, allocations: 49.19 kB / 1.213 GB, free: 15.25 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001169/1.174, allocations: 497.8 kB / 1.214 GB, free: 14.97 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.624e-05/1.174, allocations: 7.922 kB / 1.214 GB, free: 14.96 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.163e-05/1.174, allocations: 20.41 kB / 1.214 GB, free: 14.95 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.305e-05/1.174, allocations: 16.25 kB / 1.214 GB, free: 14.95 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009639/1.175, allocations: 440.5 kB / 1.214 GB, free: 14.74 MB / 0.92 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.003732/1.179, allocations: 2.03 MB / 1.216 GB, free: 13 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006954/1.179, allocations: 345 kB / 1.217 GB, free: 12.82 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003607/1.18, allocations: 205.8 kB / 1.217 GB, free: 12.72 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003131/1.18, allocations: 192.2 kB / 1.217 GB, free: 12.52 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/1.18, allocations: 45.53 kB / 1.217 GB, free: 12.48 MB / 0.92 GB Notification: Performance of pre-optimization done (n=33): time 2.053e-06/1.18, allocations: 0 / 1.217 GB, free: 12.48 MB / 0.92 GB Notification: Performance of matching and sorting (n=33): time 0.00134/1.181, allocations: 0.5364 MB / 1.218 GB, free: 12.21 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.401e-05/1.182, allocations: 56.69 kB / 1.218 GB, free: 12.14 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006385/1.182, allocations: 0.5139 MB / 1.218 GB, free: 11.84 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 5.156e-05/1.182, allocations: 31.8 kB / 1.218 GB, free: 11.8 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002365/1.182, allocations: 307.4 kB / 1.218 GB, free: 11.53 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001197/1.183, allocations: 116.9 kB / 1.219 GB, free: 11.43 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001241/1.183, allocations: 70.3 kB / 1.219 GB, free: 11.38 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001653/1.183, allocations: 367.5 kB / 1.219 GB, free: 11.02 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002785/1.183, allocations: 140.5 kB / 1.219 GB, free: 10.95 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003365/1.184, allocations: 220.5 kB / 1.219 GB, free: 10.8 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005932/1.184, allocations: 344 kB / 1.22 GB, free: 10.6 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/1.184, allocations: 0 / 1.22 GB, free: 10.6 MB / 0.92 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008053/1.185, allocations: 424.7 kB / 1.22 GB, free: 10.18 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/1.185, allocations: 4 kB / 1.22 GB, free: 10.17 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/1.185, allocations: 3.938 kB / 1.22 GB, free: 10.17 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/1.185, allocations: 4 kB / 1.22 GB, free: 10.16 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003498/1.185, allocations: 76 kB / 1.22 GB, free: 10.09 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.298e-05/1.185, allocations: 3.938 kB / 1.22 GB, free: 10.09 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005501/1.186, allocations: 39.66 kB / 1.22 GB, free: 10.05 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.145e-05/1.186, allocations: 16 kB / 1.22 GB, free: 10.03 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004869/1.187, allocations: 304 kB / 1.22 GB, free: 9.73 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000322/1.187, allocations: 215.3 kB / 1.221 GB, free: 9.496 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005609/1.187, allocations: 335.3 kB / 1.221 GB, free: 9.156 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.134e-06/1.187, allocations: 0 / 1.221 GB, free: 9.156 MB / 0.92 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.000767/1.188, allocations: 425.3 kB / 1.221 GB, free: 8.734 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/1.188, allocations: 4 kB / 1.221 GB, free: 8.73 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.745e-06/1.188, allocations: 0 / 1.221 GB, free: 8.73 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.714e-06/1.188, allocations: 4 kB / 1.221 GB, free: 8.727 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003188/1.189, allocations: 67.91 kB / 1.221 GB, free: 8.66 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/1.189, allocations: 0 / 1.221 GB, free: 8.66 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005375/1.189, allocations: 47.75 kB / 1.222 GB, free: 8.613 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.937e-05/1.189, allocations: 15.94 kB / 1.222 GB, free: 8.598 MB / 0.92 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.0001598/1.189, allocations: 198.4 kB / 1.222 GB, free: 8.398 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001226/1.189, allocations: 59.34 kB / 1.222 GB, free: 8.34 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000817/1.19, allocations: 424.5 kB / 1.222 GB, free: 7.918 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/1.19, allocations: 4 kB / 1.222 GB, free: 7.914 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/1.19, allocations: 7.938 kB / 1.222 GB, free: 7.906 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006344/1.191, allocations: 429.7 kB / 1.223 GB, free: 7.457 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001941/1.193, allocations: 1.183 MB / 1.224 GB, free: 6.199 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/1.193, allocations: 0 / 1.224 GB, free: 6.199 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004197/1.193, allocations: 79.89 kB / 1.224 GB, free: 6.121 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.847e-06/1.193, allocations: 4 kB / 1.224 GB, free: 6.117 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.553e-05/1.193, allocations: 12 kB / 1.224 GB, free: 6.105 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.613e-06/1.193, allocations: 6.062 kB / 1.224 GB, free: 6.102 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/1.193, allocations: 7.938 kB / 1.224 GB, free: 6.094 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001102/1.195, allocations: 0.7069 MB / 1.225 GB, free: 5.352 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002622/1.195, allocations: 176.4 kB / 1.225 GB, free: 5.16 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.309e-05/1.195, allocations: 8 kB / 1.225 GB, free: 5.152 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005005/1.195, allocations: 27.91 kB / 1.225 GB, free: 5.125 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.294e-05/1.196, allocations: 27.91 kB / 1.225 GB, free: 5.098 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.292e-05/1.196, allocations: 12 kB / 1.225 GB, free: 5.086 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0004302/1.196, allocations: 370.8 kB / 1.225 GB, free: 4.727 MB / 0.92 GB Notification: Performance of sort global known variables: time 4.01e-07/1.196, allocations: 0 / 1.225 GB, free: 4.727 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000956/1.197, allocations: 327.1 kB / 1.225 GB, free: 4.406 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.0004878/1.197, allocations: 196.9 kB / 1.226 GB, free: 4.215 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001103/1.199, allocations: 0.5546 MB / 1.226 GB, free: 3.66 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/1.199, allocations: 0 / 1.226 GB, free: 3.66 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0003268/1.199, allocations: 179.7 kB / 1.226 GB, free: 3.484 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001642/1.201, allocations: 344.5 kB / 1.227 GB, free: 3.156 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002176/1.203, allocations: 1.309 MB / 1.228 GB, free: 1.793 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005402/1.203, allocations: 0.9295 MB / 1.229 GB, free: 0.8359 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001541/1.203, allocations: 47.44 kB / 1.229 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of SimCode: time 2.254e-06/1.203, allocations: 0 / 1.229 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of Templates: time 0.01559/1.219, allocations: 9.659 MB / 1.238 GB, free: 7.223 MB / 0.9356 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 -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