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.006769/0.006769, allocations: 101.5 kB / 15.73 MB, free: 5.965 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.001576/0.001576, allocations: 192.9 kB / 16.67 MB, free: 5.887 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.362/1.362, allocations: 222.9 MB / 240.4 MB, free: 15.13 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.613/2.613, allocations: 469.8 MB / 0.7425 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 63.91 kB / 1.065 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.029/1.031, allocations: 159.1 MB / 1.221 GB, free: 2.078 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.2114/1.243, allocations: 191.1 MB / 1.407 GB, free: 2.258 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01039/1.253, allocations: 5.742 MB / 1.413 GB, free: 12.5 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001596/1.255, allocations: 43.75 kB / 1.413 GB, free: 12.46 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001735/1.256, allocations: 0.6098 MB / 1.414 GB, free: 11.85 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.004702/1.261, allocations: 1.682 MB / 1.415 GB, free: 10.16 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.003483/1.265, allocations: 1.225 MB / 1.416 GB, free: 8.941 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.004645/1.269, allocations: 2.568 MB / 1.419 GB, free: 6.367 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001389/1.271, allocations: 0.7457 MB / 1.42 GB, free: 5.609 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002428/1.273, allocations: 1.09 MB / 1.421 GB, free: 4.516 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002032/1.275, allocations: 0.8111 MB / 1.421 GB, free: 3.707 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0002215/1.275, allocations: 96 kB / 1.422 GB, free: 3.613 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003372/1.279, allocations: 1.547 MB / 1.423 GB, free: 2.062 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0005248/1.279, allocations: 418.7 kB / 1.423 GB, free: 1.652 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0008241/1.28, allocations: 0.5872 MB / 1.424 GB, free: 1.062 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.003425/1.283, allocations: 2.021 MB / 1.426 GB, free: 15.04 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/1.283, allocations: 4 kB / 1.426 GB, free: 15.03 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.623e-06/1.283, allocations: 0 / 1.426 GB, free: 15.03 MB / 1.154 GB Notification: Performance of Transformations before backend: time 2.148e-05/1.284, allocations: 0 / 1.426 GB, free: 15.03 MB / 1.154 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.002386/1.286, allocations: 1.471 MB / 1.427 GB, free: 13.51 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/1.286, allocations: 8.031 kB / 1.427 GB, free: 13.5 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002768/1.289, allocations: 418.9 kB / 1.428 GB, free: 13.09 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001555/1.29, allocations: 0.8084 MB / 1.429 GB, free: 12.24 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.031e-05/1.29, allocations: 54 kB / 1.429 GB, free: 12.19 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001298/1.29, allocations: 79.95 kB / 1.429 GB, free: 12.11 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001977/1.292, allocations: 0.9788 MB / 1.43 GB, free: 11.11 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.559e-05/1.292, allocations: 4 kB / 1.43 GB, free: 11.11 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-05/1.293, allocations: 32 kB / 1.43 GB, free: 11.07 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.071e-05/1.293, allocations: 33.98 kB / 1.43 GB, free: 11.04 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001976/1.295, allocations: 0.8743 MB / 1.431 GB, free: 10.17 MB / 1.154 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.006519/1.301, allocations: 3.499 MB / 1.434 GB, free: 6.488 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001579/1.303, allocations: 0.593 MB / 1.435 GB, free: 5.887 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008143/1.303, allocations: 319.3 kB / 1.435 GB, free: 5.574 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002191/1.304, allocations: 109.3 kB / 1.435 GB, free: 5.449 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.591e-05/1.304, allocations: 43.22 kB / 1.435 GB, free: 5.398 MB / 1.154 GB Notification: Performance of pre-optimization done (n=39): time 2.565e-06/1.304, allocations: 0 / 1.435 GB, free: 5.398 MB / 1.154 GB Notification: Performance of matching and sorting (n=41): time 0.008496/1.312, allocations: 2.404 MB / 1.437 GB, free: 2.918 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/1.312, allocations: 55.41 kB / 1.438 GB, free: 2.852 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001138/1.313, allocations: 0.8018 MB / 1.438 GB, free: 2.039 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 7.869e-05/1.313, allocations: 33.7 kB / 1.438 GB, free: 2 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003846/1.314, allocations: 456.5 kB / 1.439 GB, free: 1.547 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001446/1.314, allocations: 154.7 kB / 1.439 GB, free: 1.395 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002035/1.314, allocations: 106.2 kB / 1.439 GB, free: 1.281 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001182/1.314, allocations: 326 kB / 1.439 GB, free: 0.957 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007711/1.315, allocations: 304.9 kB / 1.44 GB, free: 0.6602 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008454/1.316, allocations: 408.1 kB / 1.44 GB, free: 236 kB / 1.154 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.005452/1.321, allocations: 1.875 MB / 1.442 GB, free: 14.3 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/1.321, allocations: 0 / 1.442 GB, free: 14.3 MB / 1.17 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003393/1.325, allocations: 1.039 MB / 1.443 GB, free: 13.25 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/1.325, allocations: 8 kB / 1.443 GB, free: 13.25 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/1.325, allocations: 0 / 1.443 GB, free: 13.25 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006169/1.325, allocations: 196.6 kB / 1.443 GB, free: 13.05 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007248/1.326, allocations: 143.8 kB / 1.443 GB, free: 12.91 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004022/1.33, allocations: 2.232 MB / 1.445 GB, free: 10.54 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001121/1.331, allocations: 51.95 kB / 1.445 GB, free: 10.49 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.972e-05/1.331, allocations: 27.98 kB / 1.445 GB, free: 10.46 MB / 1.17 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.0005882/1.332, allocations: 269.6 kB / 1.446 GB, free: 10.19 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001696/1.332, allocations: 95.38 kB / 1.446 GB, free: 10.1 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001947/1.332, allocations: 96.23 kB / 1.446 GB, free: 10 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/1.332, allocations: 4 kB / 1.446 GB, free: 9.996 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/1.332, allocations: 4 kB / 1.446 GB, free: 9.992 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002873/1.335, allocations: 0.8907 MB / 1.447 GB, free: 9.066 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005365/1.341, allocations: 2.094 MB / 1.449 GB, free: 6.871 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.206e-06/1.341, allocations: 4 kB / 1.449 GB, free: 6.867 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006494/1.341, allocations: 136.1 kB / 1.449 GB, free: 6.734 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005579/1.342, allocations: 188.7 kB / 1.449 GB, free: 6.547 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.425e-05/1.342, allocations: 12 kB / 1.449 GB, free: 6.535 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003837/1.346, allocations: 2.187 MB / 1.451 GB, free: 4.207 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.227e-05/1.346, allocations: 4 kB / 1.451 GB, free: 4.203 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003818/1.349, allocations: 1.421 MB / 1.453 GB, free: 2.719 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005791/1.35, allocations: 244.4 kB / 1.453 GB, free: 2.461 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001375/1.35, allocations: 16 kB / 1.453 GB, free: 2.445 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008292/1.351, allocations: 59.98 kB / 1.453 GB, free: 2.387 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001923/1.351, allocations: 43.83 kB / 1.453 GB, free: 2.344 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.342e-05/1.351, allocations: 27.98 kB / 1.453 GB, free: 2.316 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0008344/1.352, allocations: 0.5537 MB / 1.454 GB, free: 1.766 MB / 1.17 GB Notification: Performance of sort global known variables: time 1e-07/1.352, allocations: 0 / 1.454 GB, free: 1.766 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0009355/1.353, allocations: 271.9 kB / 1.454 GB, free: 1.5 MB / 1.17 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.0005087/1.354, allocations: 205.6 kB / 1.454 GB, free: 1.297 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.00211/1.356, allocations: 0.7708 MB / 1.455 GB, free: 0.5156 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/1.356, allocations: 8 kB / 1.455 GB, free: 0.5078 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0009458/1.357, allocations: 458.9 kB / 1.455 GB, free: 48 kB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002233/1.359, allocations: 0.5461 MB / 1.456 GB, free: 15.51 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004566/1.363, allocations: 1.933 MB / 1.458 GB, free: 13.51 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008118/1.364, allocations: 1.044 MB / 1.459 GB, free: 12.44 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0006877/1.365, allocations: 199.2 kB / 1.459 GB, free: 12.24 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002537/1.365, allocations: 67.42 kB / 1.459 GB, free: 12.17 MB / 1.186 GB Notification: Performance of SimCode: time 7.21e-07/1.365, allocations: 0 / 1.459 GB, free: 12.17 MB / 1.186 GB Notification: Performance of Templates: time 0.03504/1.4, allocations: 20.86 MB / 1.479 GB, free: 7.598 MB / 1.201 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=480 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches