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.008632/0.008632, allocations: 99.67 kB / 15.73 MB, free: 6.039 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.001972/0.001972, allocations: 197.7 kB / 16.67 MB, free: 5.965 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.406/1.406, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.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.624/2.624, allocations: 437 MB / 0.7105 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 64.14 kB / 1.019 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3013/0.3026, allocations: 151.6 MB / 1.167 GB, free: 6.793 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.8655/1.168, allocations: 190.6 MB / 1.353 GB, free: 2.68 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0101/1.178, allocations: 5.725 MB / 1.358 GB, free: 14.63 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001779/1.18, allocations: 45.94 kB / 1.358 GB, free: 14.61 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001835/1.182, allocations: 0.5764 MB / 1.359 GB, free: 14.28 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.004726/1.187, allocations: 1.624 MB / 1.361 GB, free: 13.37 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.00359/1.19, allocations: 1.223 MB / 1.362 GB, free: 12.73 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.003976/1.194, allocations: 2.562 MB / 1.364 GB, free: 11.57 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001576/1.196, allocations: 0.8813 MB / 1.365 GB, free: 11.18 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002518/1.198, allocations: 1.041 MB / 1.366 GB, free: 10.71 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002352/1.201, allocations: 0.8107 MB / 1.367 GB, free: 10.36 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0004265/1.201, allocations: 95.44 kB / 1.367 GB, free: 10.36 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003811/1.205, allocations: 1.546 MB / 1.369 GB, free: 9.582 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0007333/1.206, allocations: 407.4 kB / 1.369 GB, free: 9.305 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001716/1.208, allocations: 0.5882 MB / 1.37 GB, free: 8.93 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.00474/1.212, allocations: 2.016 MB / 1.371 GB, free: 7.641 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/1.212, allocations: 0 / 1.371 GB, free: 7.641 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.973e-06/1.212, allocations: 0 / 1.371 GB, free: 7.641 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.135e-05/1.212, allocations: 2.594 kB / 1.371 GB, free: 7.641 MB / 1.045 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.003465/1.216, allocations: 1.473 MB / 1.373 GB, free: 6.508 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/1.216, allocations: 13.64 kB / 1.373 GB, free: 6.504 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002882/1.219, allocations: 423.6 kB / 1.373 GB, free: 6.312 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001833/1.221, allocations: 0.7996 MB / 1.374 GB, free: 5.688 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.064e-05/1.221, allocations: 61.41 kB / 1.374 GB, free: 5.66 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000171/1.221, allocations: 72.19 kB / 1.374 GB, free: 5.637 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002169/1.223, allocations: 0.9861 MB / 1.375 GB, free: 5.055 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.814e-05/1.223, allocations: 5.328 kB / 1.375 GB, free: 5.051 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/1.223, allocations: 33.38 kB / 1.375 GB, free: 5.027 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.091e-05/1.223, allocations: 30.75 kB / 1.375 GB, free: 5.023 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00207/1.225, allocations: 0.8751 MB / 1.376 GB, free: 4.602 MB / 1.045 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.006479/1.232, allocations: 3.491 MB / 1.38 GB, free: 1.883 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001656/1.234, allocations: 0.6076 MB / 1.38 GB, free: 1.566 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007971/1.234, allocations: 328.5 kB / 1.38 GB, free: 1.41 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000198/1.235, allocations: 100.7 kB / 1.381 GB, free: 1.309 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.579e-05/1.235, allocations: 44.31 kB / 1.381 GB, free: 1.262 MB / 1.045 GB Notification: Performance of pre-optimization done (n=39): time 2.255e-06/1.235, allocations: 0 / 1.381 GB, free: 1.262 MB / 1.045 GB Notification: Performance of matching and sorting (n=41): time 0.008669/1.243, allocations: 2.405 MB / 1.383 GB, free: 15.84 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.308e-05/1.243, allocations: 54.12 kB / 1.383 GB, free: 15.78 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00125/1.245, allocations: 0.797 MB / 1.384 GB, free: 15.33 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 9.786e-05/1.245, allocations: 42.17 kB / 1.384 GB, free: 15.29 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003704/1.245, allocations: 453.5 kB / 1.384 GB, free: 14.89 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001649/1.245, allocations: 150.9 kB / 1.384 GB, free: 14.76 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002247/1.246, allocations: 108.8 kB / 1.384 GB, free: 14.69 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001258/1.246, allocations: 327.2 kB / 1.385 GB, free: 14.37 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008047/1.246, allocations: 302.2 kB / 1.385 GB, free: 14.22 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009201/1.247, allocations: 412.5 kB / 1.385 GB, free: 13.96 MB / 1.061 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.005469/1.253, allocations: 1.883 MB / 1.387 GB, free: 12.93 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/1.253, allocations: 3.781 kB / 1.387 GB, free: 12.93 MB / 1.061 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003416/1.256, allocations: 1.038 MB / 1.388 GB, free: 12.4 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/1.256, allocations: 5.25 kB / 1.388 GB, free: 12.4 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/1.256, allocations: 2.5 kB / 1.388 GB, free: 12.4 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006413/1.257, allocations: 187.7 kB / 1.389 GB, free: 12.32 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007043/1.258, allocations: 151.4 kB / 1.389 GB, free: 12.27 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004135/1.262, allocations: 2.22 MB / 1.391 GB, free: 10.37 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001126/1.263, allocations: 50.81 kB / 1.391 GB, free: 10.35 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.33e-05/1.263, allocations: 19.53 kB / 1.391 GB, free: 10.34 MB / 1.061 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.0005507/1.264, allocations: 276.2 kB / 1.391 GB, free: 10.13 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002522/1.264, allocations: 93.72 kB / 1.391 GB, free: 10.08 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002428/1.264, allocations: 96.42 kB / 1.391 GB, free: 10.02 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.71e-06/1.264, allocations: 4.875 kB / 1.391 GB, free: 10.02 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/1.264, allocations: 0 / 1.391 GB, free: 10.02 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002894/1.267, allocations: 0.9012 MB / 1.392 GB, free: 9.48 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005649/1.273, allocations: 2.101 MB / 1.394 GB, free: 8.066 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.976e-06/1.273, allocations: 2.406 kB / 1.394 GB, free: 8.066 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006429/1.273, allocations: 128.6 kB / 1.394 GB, free: 8.027 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000576/1.274, allocations: 191.1 kB / 1.395 GB, free: 7.938 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.506e-05/1.274, allocations: 15.8 kB / 1.395 GB, free: 7.93 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003728/1.278, allocations: 2.191 MB / 1.397 GB, free: 6.043 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/1.278, allocations: 6.375 kB / 1.397 GB, free: 6.039 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003966/1.282, allocations: 1.425 MB / 1.398 GB, free: 5.172 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005549/1.282, allocations: 243.5 kB / 1.398 GB, free: 4.969 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002327/1.283, allocations: 17.02 kB / 1.398 GB, free: 4.957 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009975/1.284, allocations: 62.66 kB / 1.398 GB, free: 4.93 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/1.284, allocations: 45.27 kB / 1.398 GB, free: 4.902 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.819e-05/1.284, allocations: 33.78 kB / 1.399 GB, free: 4.887 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0008387/1.285, allocations: 0.5491 MB / 1.399 GB, free: 4.578 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.81e-07/1.285, allocations: 0 / 1.399 GB, free: 4.578 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001059/1.286, allocations: 273.4 kB / 1.399 GB, free: 4.555 MB / 1.061 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.000534/1.286, allocations: 196.1 kB / 1.399 GB, free: 4.426 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002133/1.289, allocations: 0.7983 MB / 1.4 GB, free: 3.992 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/1.289, allocations: 2.406 kB / 1.4 GB, free: 3.992 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001006/1.29, allocations: 462.5 kB / 1.401 GB, free: 3.707 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002765/1.292, allocations: 0.5482 MB / 1.401 GB, free: 3.336 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004613/1.297, allocations: 1.936 MB / 1.403 GB, free: 1.332 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007181/1.298, allocations: 1.036 MB / 1.404 GB, free: 272 kB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0008203/1.299, allocations: 211.1 kB / 1.404 GB, free: 56 kB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002667/1.299, allocations: 63.48 kB / 1.404 GB, free: 15.99 MB / 1.076 GB Notification: Performance of SimCode: time 9.82e-07/1.299, allocations: 4 kB / 1.404 GB, free: 15.99 MB / 1.076 GB Notification: Performance of Templates: time 0.03569/1.335, allocations: 20.78 MB / 1.425 GB, free: 11.52 MB / 1.092 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