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.007443/0.007443, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001822/0.001822, allocations: 194.3 kB / 16.68 MB, free: 5.969 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.355/1.355, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.434/2.434, allocations: 437 MB / 0.7105 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 63.91 kB / 1.019 GB, free: 9.352 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8175/0.8187, allocations: 151.6 MB / 1.167 GB, free: 3.805 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.3089/1.128, allocations: 190.6 MB / 1.353 GB, free: 4.473 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.009763/1.137, allocations: 5.735 MB / 1.358 GB, free: 14.72 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001609/1.139, allocations: 43.69 kB / 1.358 GB, free: 14.68 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.00195/1.141, allocations: 0.5981 MB / 1.359 GB, free: 14.08 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.004465/1.146, allocations: 1.684 MB / 1.361 GB, free: 12.39 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003358/1.149, allocations: 1.211 MB / 1.362 GB, free: 11.18 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.003569/1.153, allocations: 2.582 MB / 1.364 GB, free: 8.594 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001518/1.154, allocations: 0.8794 MB / 1.365 GB, free: 7.699 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002304/1.156, allocations: 1.086 MB / 1.366 GB, free: 6.609 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002045/1.159, allocations: 0.8104 MB / 1.367 GB, free: 5.805 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002886/1.159, allocations: 96 kB / 1.367 GB, free: 5.711 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003247/1.162, allocations: 1.555 MB / 1.369 GB, free: 4.152 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0005573/1.163, allocations: 402.9 kB / 1.369 GB, free: 3.758 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001014/1.164, allocations: 0.5833 MB / 1.37 GB, free: 3.172 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.003569/1.167, allocations: 2.032 MB / 1.372 GB, free: 1.133 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/1.167, allocations: 3.938 kB / 1.372 GB, free: 1.129 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.954e-06/1.167, allocations: 0 / 1.372 GB, free: 1.129 MB / 1.092 GB Notification: Performance of Transformations before backend: time 5.14e-05/1.167, allocations: 0 / 1.372 GB, free: 1.129 MB / 1.092 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.002964/1.17, allocations: 1.465 MB / 1.373 GB, free: 15.61 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/1.17, allocations: 12.88 kB / 1.373 GB, free: 15.6 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00288/1.173, allocations: 422.8 kB / 1.373 GB, free: 15.19 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001606/1.175, allocations: 0.8084 MB / 1.374 GB, free: 14.34 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.372e-05/1.175, allocations: 58 kB / 1.374 GB, free: 14.28 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001334/1.175, allocations: 72 kB / 1.374 GB, free: 14.21 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002008/1.177, allocations: 0.9866 MB / 1.375 GB, free: 13.2 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.944e-05/1.177, allocations: 3.953 kB / 1.375 GB, free: 13.2 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.364e-05/1.177, allocations: 36 kB / 1.375 GB, free: 13.16 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.916e-05/1.177, allocations: 26 kB / 1.375 GB, free: 13.14 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001989/1.179, allocations: 0.8743 MB / 1.376 GB, free: 12.27 MB / 1.107 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.006566/1.186, allocations: 3.479 MB / 1.38 GB, free: 8.609 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001559/1.187, allocations: 0.6085 MB / 1.38 GB, free: 7.992 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007391/1.188, allocations: 333.3 kB / 1.381 GB, free: 7.664 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001858/1.188, allocations: 101.4 kB / 1.381 GB, free: 7.547 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.94e-05/1.188, allocations: 43.16 kB / 1.381 GB, free: 7.496 MB / 1.107 GB Notification: Performance of pre-optimization done (n=39): time 2.375e-06/1.188, allocations: 0 / 1.381 GB, free: 7.496 MB / 1.107 GB Notification: Performance of matching and sorting (n=41): time 0.008201/1.197, allocations: 2.415 MB / 1.383 GB, free: 5.004 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/1.197, allocations: 55.41 kB / 1.383 GB, free: 4.938 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001106/1.198, allocations: 0.794 MB / 1.384 GB, free: 4.133 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 8.535e-05/1.198, allocations: 41.7 kB / 1.384 GB, free: 4.086 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003512/1.198, allocations: 448.5 kB / 1.384 GB, free: 3.641 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001591/1.198, allocations: 154.7 kB / 1.385 GB, free: 3.488 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002907/1.199, allocations: 110.1 kB / 1.385 GB, free: 3.375 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001284/1.199, allocations: 326 kB / 1.385 GB, free: 3.051 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000766/1.2, allocations: 304.9 kB / 1.385 GB, free: 2.75 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009531/1.201, allocations: 408.1 kB / 1.386 GB, free: 2.32 MB / 1.107 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.005288/1.206, allocations: 1.882 MB / 1.387 GB, free: 392 kB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/1.206, allocations: 0 / 1.387 GB, free: 392 kB / 1.107 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003317/1.209, allocations: 1.039 MB / 1.388 GB, free: 15.33 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/1.209, allocations: 4 kB / 1.388 GB, free: 15.33 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/1.209, allocations: 11.97 kB / 1.388 GB, free: 15.32 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005746/1.21, allocations: 184.8 kB / 1.389 GB, free: 15.13 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006937/1.211, allocations: 151.8 kB / 1.389 GB, free: 14.98 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004004/1.215, allocations: 2.231 MB / 1.391 GB, free: 12.62 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009528/1.216, allocations: 51.94 kB / 1.391 GB, free: 12.57 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.985e-05/1.216, allocations: 20 kB / 1.391 GB, free: 12.55 MB / 1.123 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.0005092/1.216, allocations: 277.6 kB / 1.391 GB, free: 12.27 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000212/1.216, allocations: 95.38 kB / 1.391 GB, free: 12.18 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002225/1.217, allocations: 96.23 kB / 1.391 GB, free: 12.08 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/1.217, allocations: 4 kB / 1.391 GB, free: 12.08 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/1.217, allocations: 192 / 1.391 GB, free: 12.08 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00282/1.219, allocations: 0.8947 MB / 1.392 GB, free: 11.15 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005374/1.225, allocations: 2.118 MB / 1.394 GB, free: 8.93 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.727e-06/1.225, allocations: 4 kB / 1.394 GB, free: 8.926 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006617/1.226, allocations: 128.1 kB / 1.395 GB, free: 8.801 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005734/1.226, allocations: 188.7 kB / 1.395 GB, free: 8.613 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.64e-05/1.226, allocations: 12 kB / 1.395 GB, free: 8.602 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003615/1.23, allocations: 2.179 MB / 1.397 GB, free: 6.277 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.441e-06/1.23, allocations: 7.969 kB / 1.397 GB, free: 6.27 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003821/1.234, allocations: 1.414 MB / 1.398 GB, free: 4.797 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005057/1.234, allocations: 248.4 kB / 1.399 GB, free: 4.535 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001849/1.234, allocations: 15.98 kB / 1.399 GB, free: 4.52 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009049/1.235, allocations: 62.84 kB / 1.399 GB, free: 4.461 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.733e-05/1.235, allocations: 43.84 kB / 1.399 GB, free: 4.418 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.94e-05/1.235, allocations: 27.97 kB / 1.399 GB, free: 4.391 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0007862/1.236, allocations: 0.5537 MB / 1.399 GB, free: 3.84 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.5e-07/1.236, allocations: 0 / 1.399 GB, free: 3.84 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001009/1.237, allocations: 271.9 kB / 1.399 GB, free: 3.574 MB / 1.123 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.000538/1.238, allocations: 204.3 kB / 1.4 GB, free: 3.375 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002079/1.24, allocations: 0.7939 MB / 1.4 GB, free: 2.57 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/1.24, allocations: 4 kB / 1.4 GB, free: 2.566 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0009312/1.241, allocations: 471.4 kB / 1.401 GB, free: 2.094 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002383/1.243, allocations: 0.5361 MB / 1.401 GB, free: 1.559 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004626/1.248, allocations: 1.936 MB / 1.403 GB, free: 15.55 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008049/1.249, allocations: 1.044 MB / 1.404 GB, free: 14.48 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0008105/1.25, allocations: 207.2 kB / 1.405 GB, free: 14.27 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002352/1.25, allocations: 63.42 kB / 1.405 GB, free: 14.21 MB / 1.139 GB Notification: Performance of SimCode: time 7.82e-07/1.25, allocations: 0 / 1.405 GB, free: 14.21 MB / 1.139 GB Notification: Performance of Templates: time 0.03362/1.283, allocations: 20.78 MB / 1.425 GB, free: 9.688 MB / 1.154 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches