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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001014/0.001014, allocations: 99.34 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.001744/0.001744, allocations: 186.2 kB / 16.92 MB, free: 6.75 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.464/1.464, allocations: 223.3 MB / 241 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.744/2.744, allocations: 437.8 MB / 0.7128 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004239/0.0004241, allocations: 12 kB / 0.8735 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7526/0.753, allocations: 153.8 MB / 1.024 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.1945/0.9476, allocations: 178.6 MB / 1.198 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.008608/0.9562, allocations: 4.882 MB / 1.203 GB, free: 7.684 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001156/0.9574, allocations: 27.81 kB / 1.203 GB, free: 7.656 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.00136/0.9588, allocations: 374 kB / 1.203 GB, free: 7.289 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003916/0.9627, allocations: 1.323 MB / 1.205 GB, free: 5.961 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002268/0.965, allocations: 0.6947 MB / 1.205 GB, free: 5.273 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.003495/0.9685, allocations: 2.534 MB / 1.208 GB, free: 2.734 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001104/0.9696, allocations: 493.8 kB / 1.208 GB, free: 2.234 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002063/0.9717, allocations: 0.7585 MB / 1.209 GB, free: 1.473 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001533/0.9733, allocations: 0.5518 MB / 1.209 GB, free: 0.9219 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001526/0.9734, allocations: 24 kB / 1.21 GB, free: 0.8984 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003243/0.9767, allocations: 1.609 MB / 1.211 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004044/0.9771, allocations: 223.3 kB / 1.211 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0007365/0.9779, allocations: 387.7 kB / 1.212 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001795/0.9797, allocations: 1.017 MB / 1.213 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.9797, allocations: 0 / 1.213 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.083e-06/0.9797, allocations: 4 kB / 1.213 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.372e-05/0.9797, allocations: 0 / 1.213 GB, free: 13.66 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.002017/0.9818, allocations: 0.9656 MB / 1.214 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.9818, allocations: 8.031 kB / 1.214 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001533/0.9834, allocations: 210.8 kB / 1.214 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001162/0.9845, allocations: 0.581 MB / 1.214 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.749e-05/0.9846, allocations: 41 kB / 1.214 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.355e-05/0.9847, allocations: 51.91 kB / 1.214 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009893/0.9857, allocations: 498.3 kB / 1.215 GB, free: 11.22 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.9857, allocations: 4 kB / 1.215 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.269e-05/0.9858, allocations: 20 kB / 1.215 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.551e-05/0.9858, allocations: 16.94 kB / 1.215 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008225/0.9866, allocations: 455.7 kB / 1.215 GB, free: 10.73 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.002825/0.9895, allocations: 2.009 MB / 1.217 GB, free: 8.543 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006436/0.9901, allocations: 351.5 kB / 1.218 GB, free: 8.191 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003639/0.9905, allocations: 219.3 kB / 1.218 GB, free: 7.977 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003056/0.9908, allocations: 194.5 kB / 1.218 GB, free: 7.75 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.9909, allocations: 38.83 kB / 1.218 GB, free: 7.703 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=33): time 5.32e-06/0.9909, allocations: 3.984 kB / 1.218 GB, free: 7.699 MB / 0.9669 GB Notification: Performance of matching and sorting (n=33): time 0.001315/0.9922, allocations: 0.5643 MB / 1.219 GB, free: 7.129 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.797e-05/0.9922, allocations: 59.34 kB / 1.219 GB, free: 7.059 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005684/0.9928, allocations: 0.5069 MB / 1.219 GB, free: 6.543 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.956e-05/0.9929, allocations: 29.7 kB / 1.219 GB, free: 6.508 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.000223/0.9931, allocations: 304.2 kB / 1.22 GB, free: 6.207 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001247/0.9932, allocations: 114.3 kB / 1.22 GB, free: 6.094 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.459e-05/0.9933, allocations: 37.7 kB / 1.22 GB, free: 6.051 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.9935, allocations: 366.8 kB / 1.22 GB, free: 5.684 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002841/0.9937, allocations: 140.6 kB / 1.22 GB, free: 5.547 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003539/0.9941, allocations: 220.1 kB / 1.22 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006102/0.9947, allocations: 352.3 kB / 1.221 GB, free: 4.953 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.9947, allocations: 0 / 1.221 GB, free: 4.953 MB / 0.9669 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007904/0.9955, allocations: 444.5 kB / 1.221 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 7.84e-05/0.9956, allocations: 112.3 kB / 1.221 GB, free: 4.387 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.9956, allocations: 7.984 kB / 1.221 GB, free: 4.379 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.9957, allocations: 0 / 1.221 GB, free: 4.379 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003495/0.996, allocations: 80.06 kB / 1.221 GB, free: 4.301 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.996, allocations: 0 / 1.221 GB, free: 4.301 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005864/0.9966, allocations: 71.64 kB / 1.221 GB, free: 4.23 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.34e-05/0.9967, allocations: 8 kB / 1.221 GB, free: 4.223 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 9.969e-06/0.9967, allocations: 4 kB / 1.221 GB, free: 4.219 MB / 0.9669 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007079/0.9974, allocations: 359.7 kB / 1.222 GB, free: 3.867 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.9974, allocations: 3.984 kB / 1.222 GB, free: 3.863 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.589e-06/0.9974, allocations: 7.938 kB / 1.222 GB, free: 3.855 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003179/0.9977, allocations: 71.91 kB / 1.222 GB, free: 3.785 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.9978, allocations: 4 kB / 1.222 GB, free: 3.781 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005351/0.9983, allocations: 67.67 kB / 1.222 GB, free: 3.715 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.989e-05/0.9983, allocations: 19.94 kB / 1.222 GB, free: 3.695 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.0003278/0.9987, allocations: 296.3 kB / 1.222 GB, free: 3.398 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.891e-05/0.9988, allocations: 63.25 kB / 1.222 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008544/0.9996, allocations: 431.1 kB / 1.223 GB, free: 2.906 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.9997, allocations: 0 / 1.223 GB, free: 2.906 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.9997, allocations: 0 / 1.223 GB, free: 2.906 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006683/1, allocations: 461.4 kB / 1.223 GB, free: 2.426 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001923/1.002, allocations: 1.182 MB / 1.224 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/1.002, allocations: 0 / 1.224 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004148/1.003, allocations: 92.08 kB / 1.224 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.373e-06/1.003, allocations: 4 kB / 1.224 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.817e-05/1.003, allocations: 8 kB / 1.224 GB, free: 1.066 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/1.003, allocations: 4 kB / 1.224 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/1.003, allocations: 3.984 kB / 1.224 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00109/1.004, allocations: 0.7144 MB / 1.225 GB, free: 316 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002294/1.004, allocations: 180.4 kB / 1.225 GB, free: 116 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.234e-05/1.004, allocations: 8 kB / 1.225 GB, free: 108 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005478/1.005, allocations: 55.8 kB / 1.225 GB, free: 52 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.009e-05/1.005, allocations: 23.97 kB / 1.225 GB, free: 28 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-05/1.005, allocations: 15.98 kB / 1.225 GB, free: 12 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004488/1.005, allocations: 358.8 kB / 1.226 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/1.005, allocations: 0 / 1.226 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0008721/1.006, allocations: 327.2 kB / 1.226 GB, free: 15.34 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.0004209/1.007, allocations: 203.1 kB / 1.226 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001108/1.008, allocations: 0.5387 MB / 1.227 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/1.008, allocations: 0 / 1.227 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003534/1.008, allocations: 184.5 kB / 1.227 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002292/1.01, allocations: 365 kB / 1.227 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00343/1.014, allocations: 1.595 MB / 1.229 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007527/1.015, allocations: 0.9373 MB / 1.23 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002365/1.015, allocations: 47.44 kB / 1.23 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of SimCode: time 1.082e-06/1.015, allocations: 3.938 kB / 1.23 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of Templates: time 0.01752/1.032, allocations: 9.669 MB / 1.239 GB, free: 1.828 MB / 0.9825 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