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.001275/0.001276, allocations: 111.4 kB / 16.37 MB, free: 6 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.001252/0.001252, allocations: 197.6 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.396/1.396, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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.49/2.49, allocations: 437.1 MB / 0.7112 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001844/0.001844, allocations: 63.31 kB / 0.8707 GB, free: 1.438 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3577/0.3596, allocations: 151.6 MB / 1.019 GB, free: 9.859 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.8328/1.192, allocations: 183.3 MB / 1.198 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.008892/1.201, allocations: 4.851 MB / 1.202 GB, free: 6.727 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001604/1.203, allocations: 33.91 kB / 1.203 GB, free: 6.711 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001572/1.205, allocations: 433.2 kB / 1.203 GB, free: 6.359 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.004719/1.209, allocations: 1.42 MB / 1.204 GB, free: 5.262 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002519/1.212, allocations: 0.7821 MB / 1.205 GB, free: 4.68 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003175/1.215, allocations: 1.839 MB / 1.207 GB, free: 3.629 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009875/1.216, allocations: 0.5822 MB / 1.207 GB, free: 3.266 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002017/1.218, allocations: 0.8889 MB / 1.208 GB, free: 2.715 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001172/1.219, allocations: 0.538 MB / 1.209 GB, free: 2.398 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001017/1.219, allocations: 57.75 kB / 1.209 GB, free: 2.398 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003049/1.223, allocations: 1.414 MB / 1.21 GB, free: 1.609 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003506/1.223, allocations: 272.7 kB / 1.211 GB, free: 1.426 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0006567/1.224, allocations: 398.5 kB / 1.211 GB, free: 1.18 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002869/1.226, allocations: 1.418 MB / 1.212 GB, free: 288 kB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/1.226, allocations: 0 / 1.212 GB, free: 288 kB / 0.9044 GB Notification: Performance of FrontEnd: time 2.294e-06/1.227, allocations: 0 / 1.212 GB, free: 288 kB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.229e-05/1.227, allocations: 0 / 1.212 GB, free: 288 kB / 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.002117/1.229, allocations: 1.097 MB / 1.213 GB, free: 15.4 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/1.229, allocations: 10.97 kB / 1.213 GB, free: 15.4 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001595/1.23, allocations: 205.8 kB / 1.214 GB, free: 15.3 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001317/1.232, allocations: 0.6205 MB / 1.214 GB, free: 14.79 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.483e-05/1.232, allocations: 36.72 kB / 1.214 GB, free: 14.78 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001086/1.232, allocations: 49.47 kB / 1.214 GB, free: 14.76 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00119/1.233, allocations: 498.3 kB / 1.215 GB, free: 14.48 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.183e-05/1.233, allocations: 4 kB / 1.215 GB, free: 14.48 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.434e-05/1.233, allocations: 16.88 kB / 1.215 GB, free: 14.46 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.337e-05/1.233, allocations: 19.8 kB / 1.215 GB, free: 14.46 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001075/1.234, allocations: 438.5 kB / 1.215 GB, free: 14.25 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.004528/1.239, allocations: 2.008 MB / 1.217 GB, free: 12.53 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008773/1.24, allocations: 345 kB / 1.217 GB, free: 12.35 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004553/1.24, allocations: 212.9 kB / 1.218 GB, free: 12.24 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004018/1.241, allocations: 195.6 kB / 1.218 GB, free: 12.04 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.71e-05/1.241, allocations: 41.78 kB / 1.218 GB, free: 11.99 MB / 0.92 GB Notification: Performance of pre-optimization done (n=33): time 2.705e-06/1.241, allocations: 0 / 1.218 GB, free: 11.99 MB / 0.92 GB Notification: Performance of matching and sorting (n=33): time 0.001704/1.242, allocations: 0.547 MB / 1.218 GB, free: 11.71 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.5e-05/1.242, allocations: 53.94 kB / 1.219 GB, free: 11.65 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007696/1.243, allocations: 0.5095 MB / 1.219 GB, free: 11.35 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 5.39e-05/1.243, allocations: 31.8 kB / 1.219 GB, free: 11.31 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.000279/1.244, allocations: 303.4 kB / 1.219 GB, free: 11.04 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001413/1.244, allocations: 117.1 kB / 1.219 GB, free: 10.94 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001565/1.244, allocations: 74.38 kB / 1.22 GB, free: 10.89 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001788/1.244, allocations: 369.5 kB / 1.22 GB, free: 10.54 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004107/1.244, allocations: 138.2 kB / 1.22 GB, free: 10.45 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00047/1.245, allocations: 220 kB / 1.22 GB, free: 10.21 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007487/1.246, allocations: 337.2 kB / 1.221 GB, free: 9.867 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/1.246, allocations: 0 / 1.221 GB, free: 9.867 MB / 0.92 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001007/1.247, allocations: 428.7 kB / 1.221 GB, free: 9.441 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/1.247, allocations: 7.938 kB / 1.221 GB, free: 9.434 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/1.247, allocations: 3.75 kB / 1.221 GB, free: 9.434 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.648e-05/1.247, allocations: 7.984 kB / 1.221 GB, free: 9.426 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004677/1.247, allocations: 75.84 kB / 1.221 GB, free: 9.352 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.467e-05/1.247, allocations: 3.938 kB / 1.221 GB, free: 9.348 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006294/1.248, allocations: 43.77 kB / 1.221 GB, free: 9.305 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.087e-05/1.248, allocations: 15.98 kB / 1.221 GB, free: 9.289 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006592/1.249, allocations: 304 kB / 1.221 GB, free: 8.988 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004648/1.249, allocations: 211.4 kB / 1.222 GB, free: 8.758 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007359/1.25, allocations: 331.3 kB / 1.222 GB, free: 8.422 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.763e-06/1.25, allocations: 0 / 1.222 GB, free: 8.422 MB / 0.92 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.000985/1.251, allocations: 420.7 kB / 1.222 GB, free: 8.004 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/1.251, allocations: 12.09 kB / 1.222 GB, free: 7.992 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/1.251, allocations: 0 / 1.222 GB, free: 7.992 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.34e-06/1.251, allocations: 0 / 1.222 GB, free: 7.992 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004301/1.251, allocations: 71.91 kB / 1.222 GB, free: 7.922 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/1.251, allocations: 7.938 kB / 1.222 GB, free: 7.914 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006068/1.252, allocations: 39.66 kB / 1.222 GB, free: 7.875 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.769e-05/1.252, allocations: 12 kB / 1.222 GB, free: 7.863 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.000188/1.252, allocations: 204.9 kB / 1.223 GB, free: 7.656 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000138/1.252, allocations: 55.34 kB / 1.223 GB, free: 7.602 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001007/1.253, allocations: 427.7 kB / 1.223 GB, free: 7.176 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.358e-06/1.254, allocations: 4 kB / 1.223 GB, free: 7.172 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/1.254, allocations: 3.938 kB / 1.223 GB, free: 7.168 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008273/1.254, allocations: 429.6 kB / 1.224 GB, free: 6.719 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002474/1.257, allocations: 1.175 MB / 1.225 GB, free: 5.469 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.653e-05/1.257, allocations: 4 kB / 1.225 GB, free: 5.465 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004174/1.257, allocations: 88.08 kB / 1.225 GB, free: 5.379 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.317e-06/1.257, allocations: 4 kB / 1.225 GB, free: 5.375 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.904e-05/1.257, allocations: 11.94 kB / 1.225 GB, free: 5.363 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/1.257, allocations: 0 / 1.225 GB, free: 5.363 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/1.257, allocations: 4 kB / 1.225 GB, free: 5.359 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/1.258, allocations: 0.7066 MB / 1.225 GB, free: 4.617 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002651/1.259, allocations: 180.4 kB / 1.226 GB, free: 4.422 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.208e-05/1.259, allocations: 8 kB / 1.226 GB, free: 4.414 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004298/1.259, allocations: 27.97 kB / 1.226 GB, free: 4.387 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.708e-05/1.259, allocations: 26.41 kB / 1.226 GB, free: 4.363 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.114e-05/1.259, allocations: 12 kB / 1.226 GB, free: 4.352 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0004264/1.26, allocations: 362.8 kB / 1.226 GB, free: 4 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.61e-07/1.26, allocations: 0 / 1.226 GB, free: 4 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0009736/1.261, allocations: 327.1 kB / 1.226 GB, free: 3.68 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.000477/1.261, allocations: 205.2 kB / 1.227 GB, free: 3.484 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001054/1.262, allocations: 0.5191 MB / 1.227 GB, free: 2.965 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/1.262, allocations: 0 / 1.227 GB, free: 2.965 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0003048/1.263, allocations: 184.5 kB / 1.227 GB, free: 2.785 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001463/1.264, allocations: 354.5 kB / 1.228 GB, free: 2.449 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002659/1.267, allocations: 1.245 MB / 1.229 GB, free: 1.156 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006521/1.267, allocations: 0.9373 MB / 1.23 GB, free: 196 kB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.000869/1.268, allocations: 180.8 kB / 1.23 GB, free: 12 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002068/1.269, allocations: 47.42 kB / 1.23 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of SimCode: time 7.01e-07/1.269, allocations: 4 kB / 1.23 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of Templates: time 0.02789/1.296, allocations: 11.66 MB / 1.241 GB, free: 4.488 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 -s gbode -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