Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings.Fluid.Delays.Examples.Delay") translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|del.T",fileNamePrefix="Buildings_9_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.00877/0.00877, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.001713/0.001713, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.684/1.684, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.388/2.388, allocations: 390.2 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 63.89 kB / 0.9508 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8798/0.881, allocations: 140.4 MB / 1.088 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.2422/1.123, allocations: 183.3 MB / 1.267 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.009104/1.132, allocations: 4.86 MB / 1.272 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001806/1.134, allocations: 35.75 kB / 1.272 GB, free: 1.508 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002052/1.136, allocations: 437.3 kB / 1.272 GB, free: 1.078 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004984/1.141, allocations: 1.404 MB / 1.273 GB, free: 15.67 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002706/1.144, allocations: 0.7904 MB / 1.274 GB, free: 14.88 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003235/1.147, allocations: 1.851 MB / 1.276 GB, free: 13.03 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001279/1.149, allocations: 0.594 MB / 1.277 GB, free: 12.43 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002404/1.151, allocations: 0.8734 MB / 1.277 GB, free: 11.55 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001578/1.153, allocations: 0.5393 MB / 1.278 GB, free: 11.01 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002581/1.153, allocations: 56 kB / 1.278 GB, free: 10.96 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004539/1.157, allocations: 1.415 MB / 1.279 GB, free: 9.539 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0006754/1.158, allocations: 263.3 kB / 1.28 GB, free: 9.281 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001179/1.159, allocations: 410 kB / 1.28 GB, free: 8.879 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004174/1.164, allocations: 1.414 MB / 1.281 GB, free: 7.461 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 1.078e-05/1.164, allocations: 0 / 1.281 GB, free: 7.461 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.156e-06/1.164, allocations: 0 / 1.281 GB, free: 7.461 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.744e-05/1.164, allocations: 0 / 1.281 GB, free: 7.461 MB / 1.014 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.003171/1.167, allocations: 1.105 MB / 1.283 GB, free: 6.305 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 7.106e-05/1.167, allocations: 12.03 kB / 1.283 GB, free: 6.293 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001893/1.169, allocations: 210.8 kB / 1.283 GB, free: 6.086 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001538/1.17, allocations: 0.6122 MB / 1.283 GB, free: 5.43 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.011e-05/1.17, allocations: 41 kB / 1.283 GB, free: 5.391 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001215/1.171, allocations: 44 kB / 1.283 GB, free: 5.348 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001266/1.172, allocations: 0.4905 MB / 1.284 GB, free: 4.852 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.659e-05/1.172, allocations: 0 / 1.284 GB, free: 4.852 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.482e-05/1.172, allocations: 24 kB / 1.284 GB, free: 4.828 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.045e-05/1.172, allocations: 17 kB / 1.284 GB, free: 4.812 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001077/1.173, allocations: 439.7 kB / 1.284 GB, free: 4.379 MB / 1.014 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.003678/1.177, allocations: 2.009 MB / 1.286 GB, free: 2.195 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006777/1.177, allocations: 346 kB / 1.287 GB, free: 1.852 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003581/1.178, allocations: 210.5 kB / 1.287 GB, free: 1.645 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003118/1.178, allocations: 194.5 kB / 1.287 GB, free: 1.418 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/1.178, allocations: 38.84 kB / 1.287 GB, free: 1.371 MB / 1.014 GB Notification: Performance of pre-optimization done (n=33): time 3.507e-06/1.178, allocations: 0 / 1.287 GB, free: 1.371 MB / 1.014 GB Notification: Performance of matching and sorting (n=33): time 0.001344/1.18, allocations: 0.5448 MB / 1.288 GB, free: 0.8203 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/1.18, allocations: 59.34 kB / 1.288 GB, free: 0.75 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006926/1.18, allocations: 0.503 MB / 1.288 GB, free: 244 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.389e-05/1.18, allocations: 37.7 kB / 1.288 GB, free: 200 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002549/1.181, allocations: 300.3 kB / 1.288 GB, free: 15.89 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.000133/1.181, allocations: 118.2 kB / 1.289 GB, free: 15.78 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001252/1.181, allocations: 73.97 kB / 1.289 GB, free: 15.7 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001686/1.181, allocations: 362.8 kB / 1.289 GB, free: 15.34 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000291/1.181, allocations: 146.1 kB / 1.289 GB, free: 15.2 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003526/1.182, allocations: 219.6 kB / 1.289 GB, free: 14.96 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006082/1.182, allocations: 327.2 kB / 1.29 GB, free: 14.62 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/1.182, allocations: 0 / 1.29 GB, free: 14.62 MB / 1.029 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008021/1.183, allocations: 441.6 kB / 1.29 GB, free: 14.19 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/1.183, allocations: 4 kB / 1.29 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/1.183, allocations: 0 / 1.29 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/1.183, allocations: 4 kB / 1.29 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003449/1.184, allocations: 71.89 kB / 1.29 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.291e-05/1.184, allocations: 7.922 kB / 1.29 GB, free: 14.1 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005055/1.184, allocations: 43.67 kB / 1.29 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.195e-05/1.184, allocations: 12.09 kB / 1.29 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000496/1.185, allocations: 311.9 kB / 1.29 GB, free: 13.74 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000329/1.185, allocations: 206.8 kB / 1.291 GB, free: 13.51 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005639/1.186, allocations: 327.2 kB / 1.291 GB, free: 13.18 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.523e-06/1.186, allocations: 0 / 1.291 GB, free: 13.18 MB / 1.029 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007484/1.186, allocations: 428.6 kB / 1.291 GB, free: 12.75 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/1.186, allocations: 8.094 kB / 1.291 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.304e-06/1.186, allocations: 4 kB / 1.291 GB, free: 12.74 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.901e-06/1.186, allocations: 3.984 kB / 1.291 GB, free: 12.74 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003216/1.187, allocations: 71.91 kB / 1.292 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.503e-06/1.187, allocations: 4 kB / 1.292 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004719/1.187, allocations: 31.77 kB / 1.292 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.737e-05/1.187, allocations: 23.91 kB / 1.292 GB, free: 12.61 MB / 1.029 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.0001461/1.187, allocations: 200.7 kB / 1.292 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/1.188, allocations: 59.34 kB / 1.292 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008294/1.188, allocations: 428 kB / 1.292 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.494e-05/1.188, allocations: 4 kB / 1.292 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/1.188, allocations: 7.875 kB / 1.292 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006295/1.189, allocations: 432.5 kB / 1.293 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001938/1.191, allocations: 1.178 MB / 1.294 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/1.191, allocations: 4 kB / 1.294 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000441/1.191, allocations: 88.08 kB / 1.294 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/1.192, allocations: 4 kB / 1.294 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.465e-05/1.192, allocations: 11.98 kB / 1.294 GB, free: 10.1 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/1.192, allocations: 0 / 1.294 GB, free: 10.1 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/1.192, allocations: 7.938 kB / 1.294 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001234/1.193, allocations: 0.6911 MB / 1.295 GB, free: 9.363 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000267/1.193, allocations: 176.3 kB / 1.295 GB, free: 9.172 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.578e-05/1.193, allocations: 8 kB / 1.295 GB, free: 9.164 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005052/1.194, allocations: 31.97 kB / 1.295 GB, free: 9.133 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.609e-05/1.194, allocations: 23.91 kB / 1.295 GB, free: 9.109 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.141e-05/1.194, allocations: 15.98 kB / 1.295 GB, free: 9.094 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004417/1.194, allocations: 370.8 kB / 1.295 GB, free: 8.734 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.8e-07/1.194, allocations: 0 / 1.295 GB, free: 8.734 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000899/1.195, allocations: 319.3 kB / 1.295 GB, free: 8.422 MB / 1.029 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.0004799/1.196, allocations: 196.9 kB / 1.296 GB, free: 8.227 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001139/1.197, allocations: 0.5112 MB / 1.296 GB, free: 7.715 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/1.197, allocations: 3.938 kB / 1.296 GB, free: 7.711 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003349/1.197, allocations: 180.5 kB / 1.296 GB, free: 7.535 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001656/1.199, allocations: 354.8 kB / 1.297 GB, free: 7.188 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002159/1.201, allocations: 1.245 MB / 1.298 GB, free: 5.895 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005943/1.202, allocations: 0.9334 MB / 1.299 GB, free: 4.934 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0006089/1.202, allocations: 180.8 kB / 1.299 GB, free: 4.754 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001463/1.202, allocations: 47.44 kB / 1.299 GB, free: 4.707 MB / 1.029 GB Notification: Performance of SimCode: time 8.62e-07/1.202, allocations: 0 / 1.299 GB, free: 4.707 MB / 1.029 GB Notification: Performance of Templates: time 0.02173/1.224, allocations: 11.77 MB / 1.311 GB, free: 9.133 MB / 1.045 GB make -j1 -f Buildings_9_Buildings.Fluid.Delays.Examples.Delay.makefile (rm -f Buildings_9_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_9_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_9_Buildings.Fluid.Delays.Examples.Delay.sim & ./Buildings_9_Buildings.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Delays.Examples.Delay_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Delays_Examples_Delay.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Delays.Examples.Delay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches