Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.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_10_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_10_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.001348/0.001348, allocations: 105.9 kB / 16.27 MB, free: 5.984 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.001312/0.001312, allocations: 189 kB / 17.19 MB, free: 5.609 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.403/1.403, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.528/2.528, allocations: 437.1 MB / 0.7111 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001923, allocations: 67.92 kB / 0.8699 GB, free: 2.211 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3438/0.3458, allocations: 151.6 MB / 1.018 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.7917/1.138, allocations: 190.6 MB / 1.204 GB, free: 5.137 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01082/1.148, allocations: 5.729 MB / 1.21 GB, free: 468 kB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00208/1.151, allocations: 41.34 kB / 1.21 GB, free: 452 kB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002085/1.153, allocations: 0.576 MB / 1.21 GB, free: 15.96 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0051/1.158, allocations: 1.621 MB / 1.212 GB, free: 14.7 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003805/1.162, allocations: 1.198 MB / 1.213 GB, free: 13.8 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.00404/1.166, allocations: 2.567 MB / 1.216 GB, free: 12.36 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001529/1.167, allocations: 0.883 MB / 1.216 GB, free: 11.8 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002506/1.17, allocations: 1.036 MB / 1.217 GB, free: 11.2 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002212/1.172, allocations: 0.8153 MB / 1.218 GB, free: 10.72 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002316/1.172, allocations: 98.44 kB / 1.218 GB, free: 10.72 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003485/1.176, allocations: 1.541 MB / 1.22 GB, free: 9.879 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0005663/1.176, allocations: 401.2 kB / 1.22 GB, free: 9.609 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0009335/1.177, allocations: 0.588 MB / 1.221 GB, free: 9.234 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.00368/1.181, allocations: 2.008 MB / 1.223 GB, free: 7.785 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/1.181, allocations: 0 / 1.223 GB, free: 7.785 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.984e-06/1.181, allocations: 0 / 1.223 GB, free: 7.785 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.116e-05/1.181, allocations: 4 kB / 1.223 GB, free: 7.781 MB / 0.92 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.002748/1.184, allocations: 1.434 MB / 1.224 GB, free: 6.293 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/1.184, allocations: 15.92 kB / 1.224 GB, free: 6.277 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002729/1.187, allocations: 414.3 kB / 1.225 GB, free: 5.871 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001576/1.188, allocations: 0.761 MB / 1.225 GB, free: 5.07 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003692/1.189, allocations: 114.4 kB / 1.225 GB, free: 4.957 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001355/1.189, allocations: 72 kB / 1.225 GB, free: 4.887 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002064/1.191, allocations: 0.9944 MB / 1.226 GB, free: 3.875 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.163e-05/1.191, allocations: 0 / 1.226 GB, free: 3.875 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.975e-05/1.191, allocations: 32 kB / 1.226 GB, free: 3.844 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.362e-05/1.191, allocations: 37.92 kB / 1.227 GB, free: 3.805 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002086/1.193, allocations: 0.8783 MB / 1.227 GB, free: 2.93 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.006851/1.2, allocations: 3.533 MB / 1.231 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001804/1.202, allocations: 0.6174 MB / 1.231 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000865/1.203, allocations: 341.2 kB / 1.232 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002051/1.203, allocations: 105.7 kB / 1.232 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.541e-05/1.203, allocations: 38.56 kB / 1.232 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=39): time 2.224e-06/1.203, allocations: 0 / 1.232 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of matching and sorting (n=41): time 0.008974/1.212, allocations: 2.418 MB / 1.234 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.66e-05/1.212, allocations: 59.34 kB / 1.234 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001138/1.213, allocations: 0.7941 MB / 1.235 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 9.368e-05/1.213, allocations: 41.7 kB / 1.235 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003736/1.214, allocations: 447.6 kB / 1.236 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001692/1.214, allocations: 145.9 kB / 1.236 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002081/1.214, allocations: 106.1 kB / 1.236 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001601/1.214, allocations: 326 kB / 1.236 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008526/1.215, allocations: 312.9 kB / 1.236 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009517/1.216, allocations: 412.1 kB / 1.237 GB, free: 8.902 MB / 0.9356 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.005768/1.222, allocations: 1.906 MB / 1.239 GB, free: 6.945 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/1.222, allocations: 0 / 1.239 GB, free: 6.945 MB / 0.9356 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003558/1.225, allocations: 1.042 MB / 1.24 GB, free: 5.891 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.887e-05/1.225, allocations: 10.34 kB / 1.24 GB, free: 5.883 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/1.225, allocations: 7.938 kB / 1.24 GB, free: 5.875 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006672/1.226, allocations: 184.8 kB / 1.24 GB, free: 5.691 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007566/1.227, allocations: 151.8 kB / 1.24 GB, free: 5.543 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00441/1.231, allocations: 2.235 MB / 1.242 GB, free: 3.176 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001105/1.232, allocations: 55.94 kB / 1.242 GB, free: 3.121 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.169e-05/1.233, allocations: 25.5 kB / 1.242 GB, free: 3.098 MB / 0.9356 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.0005494/1.233, allocations: 266 kB / 1.243 GB, free: 2.828 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002687/1.233, allocations: 90.91 kB / 1.243 GB, free: 2.738 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002611/1.234, allocations: 96.23 kB / 1.243 GB, free: 2.637 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/1.234, allocations: 4 kB / 1.243 GB, free: 2.633 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/1.234, allocations: 4 kB / 1.243 GB, free: 2.629 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003108/1.237, allocations: 0.9103 MB / 1.244 GB, free: 1.684 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006007/1.243, allocations: 2.102 MB / 1.246 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.758e-06/1.243, allocations: 4 kB / 1.246 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00071/1.244, allocations: 140.1 kB / 1.246 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000606/1.244, allocations: 188.7 kB / 1.246 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.113e-05/1.244, allocations: 12 kB / 1.246 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004064/1.248, allocations: 2.188 MB / 1.248 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/1.248, allocations: 4 kB / 1.248 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004383/1.253, allocations: 1.443 MB / 1.25 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006262/1.253, allocations: 243.9 kB / 1.25 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002282/1.254, allocations: 8 kB / 1.25 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/1.255, allocations: 66.19 kB / 1.25 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/1.255, allocations: 43.83 kB / 1.25 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.83e-05/1.255, allocations: 27.98 kB / 1.25 GB, free: 10.9 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0009637/1.256, allocations: 0.5498 MB / 1.25 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.01e-07/1.256, allocations: 0 / 1.25 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001124/1.257, allocations: 279.9 kB / 1.251 GB, free: 10.08 MB / 0.9512 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.0006085/1.258, allocations: 213.8 kB / 1.251 GB, free: 9.875 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002475/1.26, allocations: 0.8482 MB / 1.252 GB, free: 9.012 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.176e-05/1.26, allocations: 4.5 kB / 1.252 GB, free: 9.008 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001112/1.261, allocations: 459.3 kB / 1.252 GB, free: 8.547 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002914/1.264, allocations: 0.5442 MB / 1.253 GB, free: 8.016 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005082/1.269, allocations: 1.972 MB / 1.255 GB, free: 5.969 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008401/1.27, allocations: 1.044 MB / 1.256 GB, free: 4.895 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002855/1.271, allocations: 67.44 kB / 1.256 GB, free: 4.828 MB / 0.9512 GB Notification: Performance of SimCode: time 5.91e-07/1.271, allocations: 0 / 1.256 GB, free: 4.828 MB / 0.9512 GB Notification: Performance of Templates: time 0.03126/1.302, allocations: 18.91 MB / 1.274 GB, free: 2.059 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches