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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001366/0.001367, allocations: 115.8 kB / 16.37 MB, free: 6.012 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.00131/0.00131, allocations: 193.4 kB / 17.31 MB, free: 5.613 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 / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.242/2.242, allocations: 390.3 MB / 0.6655 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 61.59 kB / 0.814 GB, free: 32.69 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2955/0.2968, allocations: 140.4 MB / 0.9511 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.7872/1.084, allocations: 183.2 MB / 1.13 GB, free: 5.457 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.009043/1.093, allocations: 4.868 MB / 1.135 GB, free: 5.309 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002483/1.096, allocations: 31.28 kB / 1.135 GB, free: 5.309 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001937/1.098, allocations: 437.6 kB / 1.135 GB, free: 5.297 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.005773/1.103, allocations: 1.412 MB / 1.137 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002875/1.106, allocations: 0.7871 MB / 1.137 GB, free: 5.016 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003556/1.11, allocations: 1.842 MB / 1.139 GB, free: 4.742 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001178/1.111, allocations: 0.5894 MB / 1.14 GB, free: 4.648 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002599/1.114, allocations: 0.8748 MB / 1.141 GB, free: 4.531 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001512/1.115, allocations: 0.5416 MB / 1.141 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.000129/1.115, allocations: 58.61 kB / 1.141 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003411/1.119, allocations: 1.41 MB / 1.143 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003646/1.119, allocations: 268.8 kB / 1.143 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005636/1.12, allocations: 400.5 kB / 1.143 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002599/1.122, allocations: 1.422 MB / 1.145 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/1.122, allocations: 0 / 1.145 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.064e-06/1.122, allocations: 0 / 1.145 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.231e-05/1.122, allocations: 0.9688 kB / 1.145 GB, free: 4.082 MB / 0.8575 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.001958/1.124, allocations: 1.099 MB / 1.146 GB, free: 19.41 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/1.124, allocations: 8.469 kB / 1.146 GB, free: 19.41 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001308/1.126, allocations: 209.5 kB / 1.146 GB, free: 19.37 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/1.127, allocations: 0.6194 MB / 1.147 GB, free: 19.05 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.334e-05/1.127, allocations: 35.12 kB / 1.147 GB, free: 19.05 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.768e-05/1.127, allocations: 47.38 kB / 1.147 GB, free: 19.05 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009318/1.128, allocations: 0.4913 MB / 1.147 GB, free: 19.01 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/1.128, allocations: 0 / 1.147 GB, free: 19.01 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5e-05/1.128, allocations: 22.31 kB / 1.147 GB, free: 19 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.151e-05/1.128, allocations: 15.78 kB / 1.147 GB, free: 19 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007678/1.129, allocations: 442.1 kB / 1.148 GB, free: 19 MB / 0.8731 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.002637/1.132, allocations: 2.009 MB / 1.15 GB, free: 17.98 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005987/1.132, allocations: 352.9 kB / 1.15 GB, free: 17.93 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003167/1.132, allocations: 218.9 kB / 1.15 GB, free: 17.85 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003164/1.133, allocations: 189.3 kB / 1.15 GB, free: 17.66 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/1.133, allocations: 36.03 kB / 1.15 GB, free: 17.62 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=33): time 1.963e-06/1.133, allocations: 1.344 kB / 1.15 GB, free: 17.62 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33): time 0.001247/1.134, allocations: 0.5427 MB / 1.151 GB, free: 17.41 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.073e-05/1.134, allocations: 54 kB / 1.151 GB, free: 17.34 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005659/1.135, allocations: 0.5099 MB / 1.151 GB, free: 17.11 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.395e-05/1.135, allocations: 33.17 kB / 1.151 GB, free: 17.08 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002038/1.135, allocations: 300 kB / 1.152 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 9.149e-05/1.135, allocations: 119.5 kB / 1.152 GB, free: 16.75 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/1.135, allocations: 75.64 kB / 1.152 GB, free: 16.7 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001568/1.135, allocations: 367.6 kB / 1.152 GB, free: 16.37 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002627/1.136, allocations: 141.5 kB / 1.152 GB, free: 16.32 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000311/1.136, allocations: 222.1 kB / 1.153 GB, free: 16.19 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005352/1.137, allocations: 332.5 kB / 1.153 GB, free: 16.04 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/1.137, allocations: 1.219 kB / 1.153 GB, free: 16.04 MB / 0.8731 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007365/1.137, allocations: 434.8 kB / 1.153 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/1.137, allocations: 5.375 kB / 1.153 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/1.137, allocations: 1.125 kB / 1.153 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/1.137, allocations: 7.062 kB / 1.153 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003356/1.138, allocations: 73.64 kB / 1.153 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/1.138, allocations: 6.062 kB / 1.153 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004899/1.138, allocations: 37.88 kB / 1.153 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.473e-05/1.138, allocations: 19.31 kB / 1.153 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004557/1.139, allocations: 306.3 kB / 1.154 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003133/1.139, allocations: 203.8 kB / 1.154 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005036/1.14, allocations: 328.7 kB / 1.154 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.084e-06/1.14, allocations: 0.7812 kB / 1.154 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006648/1.14, allocations: 425 kB / 1.155 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/1.14, allocations: 5.156 kB / 1.155 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-06/1.14, allocations: 9.219 kB / 1.155 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.18e-06/1.14, allocations: 2.062 kB / 1.155 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003025/1.141, allocations: 71.72 kB / 1.155 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/1.141, allocations: 8.312 kB / 1.155 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000452/1.141, allocations: 38.64 kB / 1.155 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.01e-05/1.141, allocations: 13.62 kB / 1.155 GB, free: 15.16 MB / 0.8731 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.0001669/1.141, allocations: 197.7 kB / 1.155 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.969e-05/1.141, allocations: 61.47 kB / 1.155 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007667/1.142, allocations: 426.3 kB / 1.155 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.275e-06/1.142, allocations: 3.438 kB / 1.155 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/1.142, allocations: 3.938 kB / 1.155 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005943/1.143, allocations: 437.4 kB / 1.156 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001841/1.145, allocations: 1.171 MB / 1.157 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/1.145, allocations: 5.125 kB / 1.157 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004048/1.145, allocations: 86.8 kB / 1.157 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/1.145, allocations: 7.562 kB / 1.157 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.013e-05/1.145, allocations: 8.281 kB / 1.157 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/1.145, allocations: 2.531 kB / 1.157 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/1.145, allocations: 2.594 kB / 1.157 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/1.146, allocations: 0.7002 MB / 1.158 GB, free: 13.42 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003098/1.146, allocations: 180.2 kB / 1.158 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.373e-05/1.147, allocations: 7.406 kB / 1.158 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004446/1.147, allocations: 28.95 kB / 1.158 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.584e-05/1.147, allocations: 22.83 kB / 1.158 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.33e-05/1.147, allocations: 15.98 kB / 1.158 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004583/1.148, allocations: 362.3 kB / 1.158 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/1.148, allocations: 0 / 1.158 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.00103/1.149, allocations: 321.4 kB / 1.159 GB, free: 13.04 MB / 0.8731 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.0004993/1.149, allocations: 202.8 kB / 1.159 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001086/1.15, allocations: 0.5146 MB / 1.159 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/1.15, allocations: 1.031 kB / 1.159 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003269/1.151, allocations: 185 kB / 1.16 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001467/1.152, allocations: 352.8 kB / 1.16 GB, free: 12.58 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002106/1.154, allocations: 1.246 MB / 1.161 GB, free: 11.84 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007085/1.155, allocations: 0.9331 MB / 1.162 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0006742/1.156, allocations: 189.3 kB / 1.162 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001474/1.156, allocations: 48.41 kB / 1.162 GB, free: 11.06 MB / 0.8731 GB Notification: Performance of SimCode: time 7.91e-07/1.156, allocations: 1 kB / 1.162 GB, free: 11.06 MB / 0.8731 GB Notification: Performance of Templates: time 0.02346/1.179, allocations: 11.67 MB / 1.174 GB, free: 7.402 MB / 0.8731 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Delays.Examples.Delay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches