Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001552/0.001552, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.001551/0.001551, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.414/1.414, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.75/2.75, allocations: 469.8 MB / 0.743 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 72.02 kB / 0.9092 GB, free: 13.89 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3445/0.3464, allocations: 159.1 MB / 1.065 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.7633/1.11, allocations: 190.6 MB / 1.251 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01118/1.121, allocations: 5.729 MB / 1.256 GB, free: 4.402 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001964/1.123, allocations: 39.75 kB / 1.256 GB, free: 4.363 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002017/1.125, allocations: 0.5747 MB / 1.257 GB, free: 3.785 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00522/1.13, allocations: 1.621 MB / 1.259 GB, free: 2.156 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003836/1.134, allocations: 1.204 MB / 1.26 GB, free: 0.9688 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.004392/1.139, allocations: 2.57 MB / 1.262 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001824/1.14, allocations: 0.8765 MB / 1.263 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002747/1.143, allocations: 1.043 MB / 1.264 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002362/1.146, allocations: 0.8041 MB / 1.265 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0004091/1.146, allocations: 96 kB / 1.265 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004358/1.15, allocations: 1.543 MB / 1.266 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0008508/1.151, allocations: 406.9 kB / 1.267 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001503/1.153, allocations: 0.591 MB / 1.267 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.004393/1.157, allocations: 1.995 MB / 1.269 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/1.157, allocations: 4 kB / 1.269 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.013e-06/1.157, allocations: 4 kB / 1.269 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.927e-05/1.157, allocations: 0 / 1.269 GB, free: 7.02 MB / 0.9825 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.003802/1.161, allocations: 1.438 MB / 1.271 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/1.161, allocations: 8.031 kB / 1.271 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003076/1.164, allocations: 418.3 kB / 1.271 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001866/1.166, allocations: 0.7609 MB / 1.272 GB, free: 4.309 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003896/1.167, allocations: 109.9 kB / 1.272 GB, free: 4.199 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002207/1.167, allocations: 79.98 kB / 1.272 GB, free: 4.121 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002391/1.169, allocations: 0.9944 MB / 1.273 GB, free: 3.109 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.109e-05/1.169, allocations: 7.922 kB / 1.273 GB, free: 3.102 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001106/1.169, allocations: 36 kB / 1.273 GB, free: 3.066 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.168e-05/1.169, allocations: 26 kB / 1.273 GB, free: 3.039 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002314/1.172, allocations: 0.8861 MB / 1.274 GB, free: 2.152 MB / 0.9825 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.007619/1.179, allocations: 3.525 MB / 1.277 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001872/1.181, allocations: 0.615 MB / 1.278 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009022/1.182, allocations: 345.3 kB / 1.278 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002202/1.182, allocations: 101.7 kB / 1.279 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.922e-05/1.182, allocations: 38.56 kB / 1.279 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=39): time 2.775e-06/1.182, allocations: 0 / 1.279 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of matching and sorting (n=41): time 0.009176/1.192, allocations: 2.431 MB / 1.281 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.269e-05/1.192, allocations: 59.41 kB / 1.281 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001249/1.193, allocations: 0.7863 MB / 1.282 GB, free: 9.941 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.424e-05/1.193, allocations: 37.7 kB / 1.282 GB, free: 9.898 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000415/1.194, allocations: 451.6 kB / 1.282 GB, free: 9.453 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001862/1.194, allocations: 145.9 kB / 1.282 GB, free: 9.309 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002505/1.194, allocations: 106.1 kB / 1.282 GB, free: 9.199 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001565/1.194, allocations: 329.9 kB / 1.283 GB, free: 8.871 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008737/1.195, allocations: 308.9 kB / 1.283 GB, free: 8.57 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000964/1.196, allocations: 416.1 kB / 1.283 GB, free: 8.129 MB / 0.9981 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.00593/1.202, allocations: 1.905 MB / 1.285 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/1.202, allocations: 8 kB / 1.285 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003532/1.206, allocations: 1.042 MB / 1.286 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/1.206, allocations: 12.09 kB / 1.286 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/1.206, allocations: 0 / 1.286 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007031/1.206, allocations: 184.7 kB / 1.287 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007464/1.207, allocations: 151.8 kB / 1.287 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00443/1.211, allocations: 2.234 MB / 1.289 GB, free: 2.395 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001095/1.213, allocations: 59.94 kB / 1.289 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.112e-05/1.213, allocations: 20 kB / 1.289 GB, free: 2.316 MB / 0.9981 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.0005491/1.213, allocations: 272 kB / 1.289 GB, free: 2.043 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002818/1.214, allocations: 98.83 kB / 1.289 GB, free: 1.945 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002882/1.214, allocations: 92.25 kB / 1.289 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/1.214, allocations: 4 kB / 1.289 GB, free: 1.844 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/1.214, allocations: 4.172 kB / 1.289 GB, free: 1.84 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003167/1.217, allocations: 0.9104 MB / 1.29 GB, free: 0.8945 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006058/1.223, allocations: 2.11 MB / 1.292 GB, free: 14.68 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.618e-06/1.223, allocations: 4 kB / 1.292 GB, free: 14.68 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006858/1.224, allocations: 127.8 kB / 1.292 GB, free: 14.55 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006044/1.224, allocations: 192.8 kB / 1.293 GB, free: 14.36 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.673e-05/1.225, allocations: 12 kB / 1.293 GB, free: 14.35 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004066/1.229, allocations: 2.188 MB / 1.295 GB, free: 12.02 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.855e-06/1.229, allocations: 11.88 kB / 1.295 GB, free: 12.01 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004322/1.233, allocations: 1.431 MB / 1.296 GB, free: 10.52 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005805/1.234, allocations: 240 kB / 1.296 GB, free: 10.26 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002073/1.234, allocations: 16 kB / 1.296 GB, free: 10.25 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001029/1.235, allocations: 60 kB / 1.297 GB, free: 10.19 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/1.235, allocations: 47.83 kB / 1.297 GB, free: 10.14 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.526e-05/1.235, allocations: 23.98 kB / 1.297 GB, free: 10.12 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009421/1.236, allocations: 0.5537 MB / 1.297 GB, free: 9.57 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.6e-07/1.236, allocations: 0 / 1.297 GB, free: 9.57 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00111/1.237, allocations: 272 kB / 1.297 GB, free: 9.305 MB / 1.014 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.0005636/1.238, allocations: 198.3 kB / 1.298 GB, free: 9.113 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002443/1.24, allocations: 0.8536 MB / 1.298 GB, free: 8.25 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/1.24, allocations: 0 / 1.298 GB, free: 8.25 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001125/1.241, allocations: 459.3 kB / 1.299 GB, free: 7.789 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002885/1.244, allocations: 0.5585 MB / 1.299 GB, free: 7.242 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005191/1.249, allocations: 1.983 MB / 1.301 GB, free: 5.18 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008676/1.25, allocations: 1.04 MB / 1.302 GB, free: 4.113 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002956/1.251, allocations: 67.44 kB / 1.302 GB, free: 4.047 MB / 1.014 GB Notification: Performance of SimCode: time 9.32e-07/1.251, allocations: 0 / 1.302 GB, free: 4.047 MB / 1.014 GB Notification: Performance of Templates: time 0.03108/1.282, allocations: 18.9 MB / 1.321 GB, free: 1.285 MB / 1.029 GB make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.makefile (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches