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.001466/0.001466, 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.001732/0.001732, allocations: 194.5 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.396/1.396, 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.656/2.656, allocations: 437 MB / 0.7103 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 67.89 kB / 0.8692 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7511/0.7525, allocations: 151.6 MB / 1.017 GB, free: 2.465 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.2193/0.9719, allocations: 183.3 MB / 1.196 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.007618/0.9795, allocations: 4.865 MB / 1.201 GB, free: 5.637 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009265/0.9805, allocations: 31.81 kB / 1.201 GB, free: 5.605 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001192/0.9817, allocations: 429.4 kB / 1.201 GB, free: 5.184 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003339/0.9851, allocations: 1.409 MB / 1.203 GB, free: 3.77 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002037/0.9871, allocations: 0.7753 MB / 1.204 GB, free: 3 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002268/0.9894, allocations: 1.844 MB / 1.205 GB, free: 1.152 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009814/0.9904, allocations: 0.5862 MB / 1.206 GB, free: 0.5508 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002199/0.9926, allocations: 0.8755 MB / 1.207 GB, free: 15.67 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001313/0.9939, allocations: 0.5471 MB / 1.207 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001164/0.9941, allocations: 56 kB / 1.207 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002927/0.997, allocations: 1.407 MB / 1.209 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003144/0.9973, allocations: 259.2 kB / 1.209 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0005012/0.9978, allocations: 398.1 kB / 1.209 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002657/1, allocations: 1.414 MB / 1.211 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/1.001, allocations: 0 / 1.211 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.713e-06/1.001, allocations: 7.938 kB / 1.211 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.51e-05/1.001, allocations: 0 / 1.211 GB, free: 11.59 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.001775/1.002, allocations: 1.086 MB / 1.212 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/1.002, allocations: 12.03 kB / 1.212 GB, free: 10.44 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001348/1.004, allocations: 210.8 kB / 1.212 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009257/1.005, allocations: 0.5849 MB / 1.213 GB, free: 9.605 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.193e-05/1.005, allocations: 33 kB / 1.213 GB, free: 9.574 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.767e-05/1.005, allocations: 48 kB / 1.213 GB, free: 9.527 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008536/1.006, allocations: 0.5022 MB / 1.213 GB, free: 9.02 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/1.006, allocations: 0 / 1.213 GB, free: 9.02 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.926e-05/1.006, allocations: 20 kB / 1.213 GB, free: 9 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.285e-05/1.006, allocations: 20.98 kB / 1.213 GB, free: 8.98 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007806/1.007, allocations: 443.6 kB / 1.214 GB, free: 8.547 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.002554/1.009, allocations: 2.013 MB / 1.216 GB, free: 6.355 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006327/1.01, allocations: 351.5 kB / 1.216 GB, free: 6.004 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003492/1.01, allocations: 210.9 kB / 1.216 GB, free: 5.797 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003073/1.01, allocations: 198.5 kB / 1.216 GB, free: 5.566 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.759e-05/1.011, allocations: 38.84 kB / 1.216 GB, free: 5.52 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=33): time 1.583e-06/1.011, allocations: 0 / 1.216 GB, free: 5.52 MB / 0.9669 GB Notification: Performance of matching and sorting (n=33): time 0.001208/1.012, allocations: 0.5449 MB / 1.217 GB, free: 4.969 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/1.012, allocations: 59.34 kB / 1.217 GB, free: 4.898 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000538/1.012, allocations: 0.503 MB / 1.217 GB, free: 4.387 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.533e-05/1.012, allocations: 33.7 kB / 1.217 GB, free: 4.348 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002175/1.013, allocations: 308.2 kB / 1.218 GB, free: 4.039 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 9.852e-05/1.013, allocations: 110.3 kB / 1.218 GB, free: 3.93 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001219/1.013, allocations: 69.94 kB / 1.218 GB, free: 3.855 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001505/1.013, allocations: 370.8 kB / 1.218 GB, free: 3.484 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002697/1.013, allocations: 138.1 kB / 1.218 GB, free: 3.348 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003245/1.014, allocations: 215.4 kB / 1.219 GB, free: 3.113 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005646/1.014, allocations: 340 kB / 1.219 GB, free: 2.77 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/1.014, allocations: 0 / 1.219 GB, free: 2.77 MB / 0.9669 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007095/1.015, allocations: 432.5 kB / 1.219 GB, free: 2.34 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/1.015, allocations: 5.562 kB / 1.219 GB, free: 2.336 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/1.015, allocations: 64 / 1.219 GB, free: 2.336 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/1.015, allocations: 11.98 kB / 1.219 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003426/1.015, allocations: 71.91 kB / 1.219 GB, free: 2.254 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/1.015, allocations: 7.875 kB / 1.219 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004549/1.016, allocations: 39.67 kB / 1.219 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.296e-05/1.016, allocations: 15.98 kB / 1.22 GB, free: 2.191 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004504/1.016, allocations: 308.1 kB / 1.22 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003122/1.017, allocations: 215.3 kB / 1.22 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005356/1.017, allocations: 331.4 kB / 1.22 GB, free: 1.316 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.152e-06/1.017, allocations: 3.938 kB / 1.22 GB, free: 1.312 MB / 0.9669 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006997/1.018, allocations: 432.5 kB / 1.221 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 9.738e-06/1.018, allocations: 4 kB / 1.221 GB, free: 0.8789 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.424e-06/1.018, allocations: 8.094 kB / 1.221 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.647e-06/1.018, allocations: 0 / 1.221 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003144/1.018, allocations: 67.91 kB / 1.221 GB, free: 0.8047 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/1.018, allocations: 4 kB / 1.221 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004526/1.019, allocations: 43.66 kB / 1.221 GB, free: 0.7578 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.226e-05/1.019, allocations: 8 kB / 1.221 GB, free: 0.75 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.0001956/1.019, allocations: 200.1 kB / 1.221 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/1.019, allocations: 63.34 kB / 1.221 GB, free: 496 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007915/1.02, allocations: 419 kB / 1.222 GB, free: 68 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/1.02, allocations: 4 kB / 1.222 GB, free: 64 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/1.02, allocations: 3.938 kB / 1.222 GB, free: 60 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006233/1.021, allocations: 433.6 kB / 1.222 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001782/1.022, allocations: 1.176 MB / 1.223 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/1.022, allocations: 4 kB / 1.223 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000397/1.023, allocations: 84.08 kB / 1.223 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.77e-06/1.023, allocations: 4 kB / 1.223 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.144e-05/1.023, allocations: 8 kB / 1.223 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/1.023, allocations: 0 / 1.223 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/1.023, allocations: 4 kB / 1.223 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/1.024, allocations: 0.7147 MB / 1.224 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002251/1.024, allocations: 176.4 kB / 1.224 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.359e-05/1.024, allocations: 8 kB / 1.224 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004387/1.025, allocations: 29.52 kB / 1.224 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.945e-05/1.025, allocations: 23.97 kB / 1.224 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.853e-05/1.025, allocations: 12 kB / 1.224 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004636/1.025, allocations: 370.7 kB / 1.224 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/1.025, allocations: 0 / 1.224 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0008624/1.026, allocations: 327.2 kB / 1.225 GB, free: 12.56 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.0004488/1.027, allocations: 202.8 kB / 1.225 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001126/1.028, allocations: 0.5501 MB / 1.226 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.93e-06/1.028, allocations: 4 kB / 1.226 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003036/1.028, allocations: 173.2 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.00156/1.03, allocations: 347.5 kB / 1.226 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002141/1.032, allocations: 1.253 MB / 1.227 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005488/1.032, allocations: 0.9334 MB / 1.228 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0006593/1.033, allocations: 192.8 kB / 1.228 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001254/1.033, allocations: 51.38 kB / 1.228 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of SimCode: time 1.463e-06/1.033, allocations: 0 / 1.228 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of Templates: time 0.0263/1.059, 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=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/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