Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.MixingVolumes.Validation.MixingVolumeInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol1.T_start|vol1.T|vol1.ports.1..h_outflow|vol1.ports.2..h_outflow|pipe1.port_b.h_outflow",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol1.T_start|vol1.T|vol1.ports.1..h_outflow|vol1.ports.2..h_outflow|pipe1.port_b.h_outflow",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00126/0.00126, allocations: 196.7 kB / 16.14 MB, free: 6.711 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.409/1.409, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.684/2.684, allocations: 461.9 MB / 0.7342 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 63.92 kB / 0.8984 GB, free: 37.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3275/0.3287, allocations: 157.4 MB / 1.052 GB, free: 8.949 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.2024/0.5312, allocations: 186.2 MB / 1.234 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01588/0.5472, allocations: 11.18 MB / 1.245 GB, free: 2.84 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002115/0.5493, allocations: 47.62 kB / 1.245 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001399/0.5508, allocations: 429.8 kB / 1.245 GB, free: 2.371 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.6626/1.213, allocations: 2.417 MB / 1.248 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006106/1.22, allocations: 2.07 MB / 1.25 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005161/1.225, allocations: 3.996 MB / 1.254 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001317/1.226, allocations: 0.6641 MB / 1.254 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002003/1.228, allocations: 0.838 MB / 1.255 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002402/1.23, allocations: 1.07 MB / 1.256 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001684/1.231, allocations: 53.06 kB / 1.256 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007442/1.238, allocations: 3.295 MB / 1.259 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001079/1.239, allocations: 395.3 kB / 1.26 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001259/1.241, allocations: 0.5316 MB / 1.26 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01142/1.252, allocations: 3.029 MB / 1.263 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.812e-06/1.252, allocations: 0 / 1.263 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.226e-06/1.252, allocations: 5.281 kB / 1.263 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.155e-05/1.252, allocations: 0 / 1.263 GB, free: 3.934 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.005979/1.258, allocations: 1.669 MB / 1.265 GB, free: 19.05 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/1.258, allocations: 8.719 kB / 1.265 GB, free: 19.05 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002232/1.26, allocations: 295.9 kB / 1.265 GB, free: 18.99 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001615/1.262, allocations: 0.7757 MB / 1.266 GB, free: 18.67 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.282e-05/1.262, allocations: 56.22 kB / 1.266 GB, free: 18.67 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001755/1.262, allocations: 64.27 kB / 1.266 GB, free: 18.67 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002236/1.264, allocations: 0.9964 MB / 1.267 GB, free: 18.59 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.184e-05/1.265, allocations: 1.109 kB / 1.267 GB, free: 18.59 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-05/1.265, allocations: 24.81 kB / 1.267 GB, free: 18.59 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000185/1.265, allocations: 73.5 kB / 1.267 GB, free: 18.59 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002451/1.267, allocations: 1.021 MB / 1.268 GB, free: 18.58 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.007826/1.275, allocations: 3.581 MB / 1.272 GB, free: 17.25 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001139/1.276, allocations: 0.6566 MB / 1.272 GB, free: 17.22 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005489/1.277, allocations: 374.1 kB / 1.273 GB, free: 17.21 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003026/1.277, allocations: 199 kB / 1.273 GB, free: 17.03 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.148e-05/1.277, allocations: 49.23 kB / 1.273 GB, free: 16.98 MB / 1.014 GB Notification: Performance of pre-optimization done (n=62): time 2.635e-06/1.277, allocations: 0 / 1.273 GB, free: 16.98 MB / 1.014 GB Notification: Performance of matching and sorting (n=62): time 0.002292/1.28, allocations: 1.024 MB / 1.274 GB, free: 16.89 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.692e-05/1.28, allocations: 112.8 kB / 1.274 GB, free: 16.76 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001251/1.281, allocations: 0.7985 MB / 1.275 GB, free: 16.62 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001033/1.281, allocations: 39.2 kB / 1.275 GB, free: 16.59 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003611/1.281, allocations: 418.6 kB / 1.275 GB, free: 16.42 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002462/1.282, allocations: 224.2 kB / 1.275 GB, free: 16.28 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002718/1.282, allocations: 142.7 kB / 1.275 GB, free: 16.26 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001515/1.282, allocations: 339 kB / 1.276 GB, free: 15.95 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000575/1.283, allocations: 339.3 kB / 1.276 GB, free: 15.95 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006637/1.283, allocations: 465.1 kB / 1.277 GB, free: 15.85 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001159/1.284, allocations: 0.7708 MB / 1.277 GB, free: 15.75 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/1.284, allocations: 1 kB / 1.277 GB, free: 15.75 MB / 1.014 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001725/1.286, allocations: 0.9362 MB / 1.278 GB, free: 15.66 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/1.286, allocations: 8.562 kB / 1.278 GB, free: 15.66 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/1.286, allocations: 3.641 kB / 1.278 GB, free: 15.66 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.366e-05/1.286, allocations: 10.78 kB / 1.278 GB, free: 15.66 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000761/1.287, allocations: 148.8 kB / 1.278 GB, free: 15.66 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.476e-05/1.287, allocations: 5.312 kB / 1.278 GB, free: 15.66 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001152/1.288, allocations: 108.8 kB / 1.279 GB, free: 15.61 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.664e-05/1.288, allocations: 31.98 kB / 1.279 GB, free: 15.61 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009923/1.289, allocations: 0.5389 MB / 1.279 GB, free: 15.53 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006429/1.29, allocations: 446.9 kB / 1.28 GB, free: 15.41 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001041/1.291, allocations: 0.7307 MB / 1.28 GB, free: 15.3 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.609e-06/1.291, allocations: 4.109 kB / 1.28 GB, free: 15.3 MB / 1.014 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001571/1.293, allocations: 0.8883 MB / 1.281 GB, free: 15.21 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/1.293, allocations: 11.19 kB / 1.281 GB, free: 15.2 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/1.293, allocations: 7.031 kB / 1.281 GB, free: 15.2 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.889e-06/1.293, allocations: 5.625 kB / 1.281 GB, free: 15.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000695/1.293, allocations: 144 kB / 1.281 GB, free: 15.2 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/1.293, allocations: 8.562 kB / 1.281 GB, free: 15.2 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001087/1.295, allocations: 93.61 kB / 1.281 GB, free: 15.18 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-05/1.295, allocations: 28.23 kB / 1.281 GB, free: 15.18 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (88): * Single equations (assignments): 88 * 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.0002968/1.295, allocations: 218.2 kB / 1.282 GB, free: 14.99 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001715/1.295, allocations: 103.9 kB / 1.282 GB, free: 14.94 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001391/1.296, allocations: 0.8055 MB / 1.282 GB, free: 14.88 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.365e-06/1.296, allocations: 6.594 kB / 1.282 GB, free: 14.88 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/1.297, allocations: 4.266 kB / 1.282 GB, free: 14.88 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001033/1.298, allocations: 0.7374 MB / 1.283 GB, free: 14.71 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003789/1.301, allocations: 2.099 MB / 1.285 GB, free: 14.27 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.18e-05/1.301, allocations: 3.281 kB / 1.285 GB, free: 14.27 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007476/1.302, allocations: 131.1 kB / 1.285 GB, free: 14.27 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.175e-05/1.302, allocations: 15.98 kB / 1.285 GB, free: 14.26 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.712e-05/1.302, allocations: 21.12 kB / 1.285 GB, free: 14.26 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-05/1.302, allocations: 9.719 kB / 1.285 GB, free: 14.26 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/1.302, allocations: 7.188 kB / 1.285 GB, free: 14.26 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002227/1.305, allocations: 1.352 MB / 1.287 GB, free: 13.94 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007016/1.305, allocations: 254 kB / 1.287 GB, free: 13.79 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003632/1.306, allocations: 24.33 kB / 1.287 GB, free: 13.79 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009642/1.307, allocations: 54.06 kB / 1.287 GB, free: 13.78 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/1.307, allocations: 48.06 kB / 1.287 GB, free: 13.78 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.601e-05/1.307, allocations: 27.19 kB / 1.287 GB, free: 13.77 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001155/1.308, allocations: 0.5566 MB / 1.288 GB, free: 13.68 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.41e-07/1.308, allocations: 1.094 kB / 1.288 GB, free: 13.68 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.003742/1.312, allocations: 0.7477 MB / 1.288 GB, free: 13.56 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.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 (64): * Single equations (assignments): 64 * 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.002365/1.314, allocations: 0.5392 MB / 1.289 GB, free: 13.38 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002187/1.316, allocations: 1.176 MB / 1.29 GB, free: 13.37 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/1.316, allocations: 2.219 kB / 1.29 GB, free: 13.37 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005372/1.317, allocations: 377.3 kB / 1.29 GB, free: 13.36 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003507/1.32, allocations: 0.5139 MB / 1.291 GB, free: 13.32 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003976/1.324, allocations: 2.232 MB / 1.293 GB, free: 12.16 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008813/1.325, allocations: 1.077 MB / 1.294 GB, free: 11.45 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001791/1.327, allocations: 416.8 kB / 1.295 GB, free: 11.4 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003693/1.327, allocations: 74 kB / 1.295 GB, free: 11.39 MB / 1.014 GB Notification: Performance of SimCode: time 8.22e-07/1.327, allocations: 4 kB / 1.295 GB, free: 11.39 MB / 1.014 GB Notification: Performance of Templates: time 0.03981/1.367, allocations: 22.06 MB / 1.316 GB, free: 7.379 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches