Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.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.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.Xi.1.|volSte.Xi.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.Xi.1.|volSte.Xi.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 109.3 kB / 16.41 MB, free: 6.496 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.001485/0.001485, 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.449/1.449, 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.7/2.7, allocations: 461.9 MB / 0.7355 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 59.91 kB / 1.055 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8622/0.8638, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate): time 0.2434/1.107, allocations: 221.1 MB / 1.424 GB, free: 15.71 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01274/1.12, allocations: 5.725 MB / 1.43 GB, free: 9.98 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002796/1.123, allocations: 39.75 kB / 1.43 GB, free: 9.941 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.002682/1.126, allocations: 0.5785 MB / 1.431 GB, free: 9.359 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.005509/1.131, allocations: 1.625 MB / 1.432 GB, free: 7.727 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003632/1.135, allocations: 1.214 MB / 1.433 GB, free: 6.52 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.003837/1.139, allocations: 2.57 MB / 1.436 GB, free: 3.941 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001655/1.14, allocations: 0.8988 MB / 1.437 GB, free: 3.031 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00259/1.143, allocations: 1.074 MB / 1.438 GB, free: 1.953 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002478/1.146, allocations: 0.8568 MB / 1.439 GB, free: 1.109 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0003864/1.146, allocations: 96 kB / 1.439 GB, free: 1.016 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003392/1.149, allocations: 1.54 MB / 1.44 GB, free: 15.47 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0006816/1.15, allocations: 406.9 kB / 1.441 GB, free: 15.07 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001244/1.151, allocations: 0.5833 MB / 1.441 GB, free: 14.49 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.004326/1.156, allocations: 2.014 MB / 1.443 GB, free: 12.47 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/1.156, allocations: 7.875 kB / 1.443 GB, free: 12.46 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.854e-06/1.156, allocations: 0 / 1.443 GB, free: 12.46 MB / 1.17 GB Notification: Performance of Transformations before backend: time 6.143e-05/1.156, allocations: 0 / 1.443 GB, free: 12.46 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.003437/1.159, allocations: 1.417 MB / 1.445 GB, free: 11 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/1.159, allocations: 12.03 kB / 1.445 GB, free: 10.98 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002928/1.162, allocations: 422.2 kB / 1.445 GB, free: 10.57 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001773/1.164, allocations: 0.8038 MB / 1.446 GB, free: 9.723 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.267e-05/1.164, allocations: 54 kB / 1.446 GB, free: 9.672 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001901/1.164, allocations: 79.98 kB / 1.446 GB, free: 9.594 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002234/1.167, allocations: 0.9905 MB / 1.447 GB, free: 8.582 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.287e-05/1.167, allocations: 0 / 1.447 GB, free: 8.582 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001067/1.167, allocations: 32 kB / 1.447 GB, free: 8.551 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.386e-05/1.167, allocations: 33.88 kB / 1.447 GB, free: 8.52 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002083/1.169, allocations: 0.8783 MB / 1.448 GB, free: 7.641 MB / 1.17 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.006501/1.175, allocations: 3.466 MB / 1.451 GB, free: 3.988 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001618/1.177, allocations: 0.5931 MB / 1.452 GB, free: 3.387 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007898/1.178, allocations: 344.2 kB / 1.452 GB, free: 3.051 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002027/1.178, allocations: 101.1 kB / 1.452 GB, free: 2.934 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.198e-05/1.178, allocations: 46.44 kB / 1.452 GB, free: 2.879 MB / 1.17 GB Notification: Performance of pre-optimization done (n=39): time 3.146e-06/1.178, allocations: 4 kB / 1.452 GB, free: 2.875 MB / 1.17 GB Notification: Performance of matching and sorting (n=41): time 0.005503/1.184, allocations: 1.887 MB / 1.454 GB, free: 0.9297 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/1.184, allocations: 67.33 kB / 1.454 GB, free: 0.8516 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001134/1.185, allocations: 0.7745 MB / 1.455 GB, free: 68 kB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 9.223e-05/1.185, allocations: 37.7 kB / 1.455 GB, free: 24 kB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003832/1.185, allocations: 455.4 kB / 1.455 GB, free: 15.57 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001585/1.185, allocations: 142 kB / 1.455 GB, free: 15.43 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002068/1.186, allocations: 110.1 kB / 1.456 GB, free: 15.32 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001279/1.186, allocations: 333.9 kB / 1.456 GB, free: 14.98 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000799/1.187, allocations: 312.8 kB / 1.456 GB, free: 14.68 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008923/1.188, allocations: 439.5 kB / 1.457 GB, free: 14.2 MB / 1.186 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.005323/1.193, allocations: 1.931 MB / 1.458 GB, free: 12.21 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/1.193, allocations: 4 kB / 1.458 GB, free: 12.21 MB / 1.186 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002105/1.195, allocations: 0.8425 MB / 1.459 GB, free: 11.36 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/1.195, allocations: 8 kB / 1.459 GB, free: 11.35 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/1.195, allocations: 4 kB / 1.459 GB, free: 11.35 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.489e-05/1.195, allocations: 4 kB / 1.459 GB, free: 11.34 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008478/1.196, allocations: 167.8 kB / 1.459 GB, free: 11.18 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.396e-05/1.196, allocations: 8 kB / 1.459 GB, free: 11.17 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001007/1.197, allocations: 59.88 kB / 1.46 GB, free: 11.11 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.245e-05/1.197, allocations: 24 kB / 1.46 GB, free: 11.09 MB / 1.186 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: 14 * 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 (65): * Single equations (assignments): 65 * 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.000517/1.198, allocations: 283.1 kB / 1.46 GB, free: 10.8 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00024/1.198, allocations: 86.97 kB / 1.46 GB, free: 10.71 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002581/1.198, allocations: 88.09 kB / 1.46 GB, free: 10.63 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.114e-06/1.198, allocations: 15.92 kB / 1.46 GB, free: 10.61 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/1.198, allocations: 3.984 kB / 1.46 GB, free: 10.61 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001653/1.2, allocations: 0.6872 MB / 1.461 GB, free: 9.891 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004254/1.204, allocations: 1.906 MB / 1.463 GB, free: 7.883 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/1.204, allocations: 0 / 1.463 GB, free: 7.883 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007618/1.205, allocations: 148.2 kB / 1.463 GB, free: 7.738 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.207e-05/1.205, allocations: 8 kB / 1.463 GB, free: 7.73 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.975e-05/1.205, allocations: 15.98 kB / 1.463 GB, free: 7.715 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.076e-06/1.205, allocations: 8 kB / 1.463 GB, free: 7.707 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/1.205, allocations: 7.938 kB / 1.463 GB, free: 7.699 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002689/1.208, allocations: 1.221 MB / 1.464 GB, free: 6.418 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004808/1.208, allocations: 232 kB / 1.464 GB, free: 6.172 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001861/1.208, allocations: 12 kB / 1.464 GB, free: 6.16 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009124/1.209, allocations: 64.22 kB / 1.464 GB, free: 6.098 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.615e-05/1.209, allocations: 43.88 kB / 1.464 GB, free: 6.055 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.116e-05/1.21, allocations: 23.98 kB / 1.464 GB, free: 6.031 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0007775/1.21, allocations: 0.5458 MB / 1.465 GB, free: 5.488 MB / 1.186 GB Notification: Performance of sort global known variables: time 2.31e-07/1.21, allocations: 0 / 1.465 GB, free: 5.488 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009003/1.211, allocations: 248 kB / 1.465 GB, free: 5.246 MB / 1.186 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 (41): * Single equations (assignments): 41 * 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.0005885/1.212, allocations: 201.1 kB / 1.465 GB, free: 5.047 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001841/1.214, allocations: 0.6817 MB / 1.466 GB, free: 4.367 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/1.214, allocations: 4 kB / 1.466 GB, free: 4.363 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.000819/1.215, allocations: 329 kB / 1.466 GB, free: 4.043 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002635/1.217, allocations: 0.5234 MB / 1.467 GB, free: 3.535 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004614/1.222, allocations: 1.936 MB / 1.469 GB, free: 1.52 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007032/1.223, allocations: 1.033 MB / 1.47 GB, free: 472 kB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003218/1.223, allocations: 79.42 kB / 1.47 GB, free: 392 kB / 1.186 GB Notification: Performance of SimCode: time 8.21e-07/1.223, allocations: 0 / 1.47 GB, free: 392 kB / 1.186 GB Notification: Performance of Templates: time 0.02379/1.247, allocations: 15.08 MB / 1.484 GB, free: 1.441 MB / 1.201 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches