Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.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.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001527/0.001527, allocations: 110.7 kB / 16.41 MB, free: 6.492 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.001618/0.001618, allocations: 187 kB / 17.34 MB, free: 5.762 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.361/1.361, 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 11.0.1-master/package.mo): time 2.573/2.573, allocations: 461.9 MB / 0.7355 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 63.91 kB / 1.055 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8998/0.9011, allocations: 157.4 MB / 1.208 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.2139/1.115, allocations: 190.6 MB / 1.395 GB, free: 14.38 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.009928/1.125, allocations: 5.747 MB / 1.4 GB, free: 8.617 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001553/1.127, allocations: 43.75 kB / 1.4 GB, free: 8.574 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001937/1.129, allocations: 0.5746 MB / 1.401 GB, free: 7.996 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.004529/1.133, allocations: 1.622 MB / 1.402 GB, free: 6.367 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.003605/1.137, allocations: 1.217 MB / 1.404 GB, free: 5.16 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.003967/1.141, allocations: 2.573 MB / 1.406 GB, free: 2.574 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002127/1.143, allocations: 0.8724 MB / 1.407 GB, free: 1.695 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002937/1.146, allocations: 1.062 MB / 1.408 GB, free: 0.6289 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002639/1.148, allocations: 0.8124 MB / 1.409 GB, free: 15.82 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0004972/1.149, allocations: 100 kB / 1.409 GB, free: 15.72 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003668/1.153, allocations: 1.543 MB / 1.41 GB, free: 14.18 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0006659/1.153, allocations: 398.9 kB / 1.411 GB, free: 13.79 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.00134/1.155, allocations: 0.5833 MB / 1.411 GB, free: 13.2 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.003815/1.159, allocations: 2.026 MB / 1.413 GB, free: 11.17 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/1.159, allocations: 0 / 1.413 GB, free: 11.17 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.613e-06/1.159, allocations: 0 / 1.413 GB, free: 11.17 MB / 1.139 GB Notification: Performance of Transformations before backend: time 6.087e-05/1.159, allocations: 0 / 1.413 GB, free: 11.17 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.003164/1.162, allocations: 1.43 MB / 1.415 GB, free: 9.684 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/1.162, allocations: 8.031 kB / 1.415 GB, free: 9.676 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002893/1.165, allocations: 414.3 kB / 1.415 GB, free: 9.27 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001626/1.166, allocations: 0.8038 MB / 1.416 GB, free: 8.426 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.459e-05/1.166, allocations: 54 kB / 1.416 GB, free: 8.371 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001674/1.167, allocations: 79.91 kB / 1.416 GB, free: 8.293 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002111/1.169, allocations: 0.9827 MB / 1.417 GB, free: 7.293 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.311e-05/1.169, allocations: 3.938 kB / 1.417 GB, free: 7.289 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001094/1.169, allocations: 32 kB / 1.417 GB, free: 7.258 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.863e-05/1.169, allocations: 33.92 kB / 1.417 GB, free: 7.223 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002101/1.171, allocations: 0.8705 MB / 1.418 GB, free: 6.355 MB / 1.139 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.006565/1.178, allocations: 3.482 MB / 1.421 GB, free: 2.691 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001718/1.179, allocations: 0.6009 MB / 1.422 GB, free: 2.082 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000815/1.18, allocations: 333.2 kB / 1.422 GB, free: 1.754 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001989/1.18, allocations: 97.42 kB / 1.422 GB, free: 1.641 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.845e-05/1.18, allocations: 47.2 kB / 1.422 GB, free: 1.586 MB / 1.139 GB Notification: Performance of pre-optimization done (n=39): time 2.565e-06/1.18, allocations: 4 kB / 1.422 GB, free: 1.582 MB / 1.139 GB Notification: Performance of matching and sorting (n=41): time 0.008793/1.189, allocations: 2.385 MB / 1.425 GB, free: 15.12 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/1.189, allocations: 59.34 kB / 1.425 GB, free: 15.05 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001164/1.191, allocations: 0.8057 MB / 1.426 GB, free: 14.23 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 9.022e-05/1.191, allocations: 33.7 kB / 1.426 GB, free: 14.19 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003537/1.191, allocations: 451.7 kB / 1.426 GB, free: 13.75 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001741/1.191, allocations: 149.8 kB / 1.426 GB, free: 13.6 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002007/1.191, allocations: 102.2 kB / 1.426 GB, free: 13.49 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001198/1.191, allocations: 330 kB / 1.427 GB, free: 13.16 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008222/1.192, allocations: 296.9 kB / 1.427 GB, free: 12.88 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008651/1.193, allocations: 404.1 kB / 1.427 GB, free: 12.45 MB / 1.154 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.005394/1.199, allocations: 1.887 MB / 1.429 GB, free: 10.5 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/1.199, allocations: 0 / 1.429 GB, free: 10.5 MB / 1.154 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003295/1.202, allocations: 1.031 MB / 1.43 GB, free: 9.461 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/1.202, allocations: 11.94 kB / 1.43 GB, free: 9.449 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/1.202, allocations: 96 / 1.43 GB, free: 9.449 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006368/1.203, allocations: 188.7 kB / 1.43 GB, free: 9.262 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007288/1.203, allocations: 147.8 kB / 1.43 GB, free: 9.117 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004379/1.208, allocations: 2.234 MB / 1.433 GB, free: 6.746 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001179/1.209, allocations: 47.95 kB / 1.433 GB, free: 6.699 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.202e-05/1.209, allocations: 20 kB / 1.433 GB, free: 6.68 MB / 1.154 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0006039/1.21, allocations: 280.1 kB / 1.433 GB, free: 6.398 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003541/1.21, allocations: 90.91 kB / 1.433 GB, free: 6.309 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002977/1.21, allocations: 96.23 kB / 1.433 GB, free: 6.207 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.208e-06/1.21, allocations: 7.984 kB / 1.433 GB, free: 6.199 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/1.21, allocations: 0 / 1.433 GB, free: 6.199 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002946/1.213, allocations: 0.895 MB / 1.434 GB, free: 5.27 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005738/1.219, allocations: 2.098 MB / 1.436 GB, free: 3.07 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.69e-05/1.219, allocations: 4.188 kB / 1.436 GB, free: 3.066 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006453/1.22, allocations: 140 kB / 1.436 GB, free: 2.93 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005859/1.22, allocations: 184.7 kB / 1.436 GB, free: 2.746 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.537e-05/1.22, allocations: 16 kB / 1.436 GB, free: 2.73 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003772/1.224, allocations: 2.187 MB / 1.438 GB, free: 416 kB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/1.224, allocations: 4 kB / 1.438 GB, free: 412 kB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003972/1.228, allocations: 1.413 MB / 1.44 GB, free: 14.93 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005442/1.229, allocations: 240 kB / 1.44 GB, free: 14.67 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000217/1.229, allocations: 12.06 kB / 1.44 GB, free: 14.66 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009805/1.23, allocations: 71.47 kB / 1.44 GB, free: 14.59 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/1.23, allocations: 43.83 kB / 1.44 GB, free: 14.55 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.989e-05/1.23, allocations: 27.98 kB / 1.44 GB, free: 14.52 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0009148/1.231, allocations: 0.5537 MB / 1.441 GB, free: 13.98 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.7e-07/1.231, allocations: 0 / 1.441 GB, free: 13.98 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001089/1.232, allocations: 272 kB / 1.441 GB, free: 13.71 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U) * 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 (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006389/1.233, allocations: 204.1 kB / 1.441 GB, free: 13.52 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.00223/1.235, allocations: 0.7898 MB / 1.442 GB, free: 12.71 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.276e-05/1.235, allocations: 4 kB / 1.442 GB, free: 12.71 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.00101/1.236, allocations: 463.5 kB / 1.442 GB, free: 12.24 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002796/1.239, allocations: 0.5446 MB / 1.443 GB, free: 11.7 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004912/1.244, allocations: 1.954 MB / 1.445 GB, free: 9.668 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007694/1.245, allocations: 1.044 MB / 1.446 GB, free: 8.598 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002723/1.245, allocations: 63.44 kB / 1.446 GB, free: 8.535 MB / 1.17 GB Notification: Performance of SimCode: time 7.41e-07/1.245, allocations: 0 / 1.446 GB, free: 8.535 MB / 1.17 GB Notification: Performance of Templates: time 0.0292/1.274, allocations: 18.99 MB / 1.464 GB, free: 5.672 MB / 1.186 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches