Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.ports.1..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.ports.1..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009684/0.0009685, allocations: 99.34 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 180.9 kB / 16.92 MB, free: 6.918 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.392/1.392, allocations: 223.3 MB / 241 MB, free: 5.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.409/2.409, allocations: 390.9 MB / 0.667 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000373/0.000373, allocations: 8 kB / 0.8166 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6658/0.6662, allocations: 142.4 MB / 0.9557 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1854/0.8516, allocations: 166.6 MB / 1.118 GB, free: 8.227 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.006753/0.8584, allocations: 4.3 MB / 1.123 GB, free: 3.918 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009311/0.8594, allocations: 15.88 kB / 1.123 GB, free: 3.902 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001141/0.8605, allocations: 302.5 kB / 1.123 GB, free: 3.605 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002714/0.8633, allocations: 0.9375 MB / 1.124 GB, free: 2.664 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002247/0.8656, allocations: 0.7222 MB / 1.124 GB, free: 1.945 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002325/0.8679, allocations: 1.797 MB / 1.126 GB, free: 144 kB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007744/0.8687, allocations: 394.4 kB / 1.127 GB, free: 15.75 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001432/0.8701, allocations: 0.5796 MB / 1.127 GB, free: 15.17 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001435/0.8716, allocations: 458 kB / 1.128 GB, free: 14.73 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001468/0.8717, allocations: 24 kB / 1.128 GB, free: 14.7 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002/0.8738, allocations: 1.002 MB / 1.129 GB, free: 13.7 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003028/0.8741, allocations: 183.4 kB / 1.129 GB, free: 13.52 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0005487/0.8746, allocations: 324.2 kB / 1.129 GB, free: 13.2 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001256/0.8759, allocations: 0.8262 MB / 1.13 GB, free: 12.37 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.8759, allocations: 0 / 1.13 GB, free: 12.37 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.044e-06/0.8759, allocations: 0 / 1.13 GB, free: 12.37 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.679e-05/0.876, allocations: 0 / 1.13 GB, free: 12.37 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.00183/0.8778, allocations: 0.8415 MB / 1.131 GB, free: 11.48 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.8779, allocations: 8.031 kB / 1.131 GB, free: 11.47 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001862/0.8797, allocations: 295 kB / 1.131 GB, free: 11.18 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009739/0.8807, allocations: 481.4 kB / 1.131 GB, free: 10.67 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003535/0.8811, allocations: 100.9 kB / 1.132 GB, free: 10.57 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.093e-05/0.8812, allocations: 43.98 kB / 1.132 GB, free: 10.53 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001443/0.8826, allocations: 0.6302 MB / 1.132 GB, free: 9.871 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.8827, allocations: 3.984 kB / 1.132 GB, free: 9.867 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.367e-05/0.8827, allocations: 27.98 kB / 1.132 GB, free: 9.84 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.478e-05/0.8828, allocations: 21 kB / 1.132 GB, free: 9.82 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001592/0.8844, allocations: 0.5855 MB / 1.133 GB, free: 9.234 MB / 0.8887 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.004483/0.8889, allocations: 2.307 MB / 1.135 GB, free: 6.801 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001066/0.89, allocations: 314.3 kB / 1.135 GB, free: 6.484 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006443/0.8906, allocations: 196.6 kB / 1.136 GB, free: 6.289 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.11e-05/0.8907, allocations: 0 / 1.136 GB, free: 6.289 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.432e-05/0.8907, allocations: 34.56 kB / 1.136 GB, free: 6.246 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=11): time 1.944e-06/0.8907, allocations: 0 / 1.136 GB, free: 6.246 MB / 0.8887 GB Notification: Performance of matching and sorting (n=11): time 0.005601/0.8963, allocations: 1.19 MB / 1.137 GB, free: 5.027 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.851e-05/0.8964, allocations: 77.11 kB / 1.137 GB, free: 4.934 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008159/0.8972, allocations: 0.5534 MB / 1.137 GB, free: 4.367 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 6.116e-05/0.8973, allocations: 29.7 kB / 1.137 GB, free: 4.332 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.000237/0.8976, allocations: 303.4 kB / 1.138 GB, free: 4.031 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 5.851e-05/0.8976, allocations: 43.45 kB / 1.138 GB, free: 3.988 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.76e-05/0.8977, allocations: 25.7 kB / 1.138 GB, free: 3.957 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.8978, allocations: 358.8 kB / 1.138 GB, free: 3.598 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006861/0.8985, allocations: 203.8 kB / 1.138 GB, free: 3.398 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007504/0.8993, allocations: 293.2 kB / 1.139 GB, free: 3.078 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001305/0.9006, allocations: 451 kB / 1.139 GB, free: 2.609 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.9006, allocations: 4 kB / 1.139 GB, free: 2.605 MB / 0.8887 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00301/0.9037, allocations: 0.7747 MB / 1.14 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.9037, allocations: 4 kB / 1.14 GB, free: 1.816 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.9037, allocations: 4 kB / 1.14 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006859/0.9044, allocations: 196.7 kB / 1.14 GB, free: 1.617 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004063/0.9048, allocations: 79.88 kB / 1.14 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003989/0.9088, allocations: 2.111 MB / 1.142 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00076/0.9096, allocations: 95.53 kB / 1.142 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.166e-05/0.9097, allocations: 16 kB / 1.142 GB, free: 15.19 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (26): * Single equations (assignments): 25 * 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.0003273/0.91, allocations: 184.6 kB / 1.142 GB, free: 15 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001477/0.9102, allocations: 55.44 kB / 1.142 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001328/0.9103, allocations: 52.02 kB / 1.143 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.9103, allocations: 0 / 1.143 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.9103, allocations: 11.94 kB / 1.143 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.9103, allocations: 0 / 1.143 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003371/0.9137, allocations: 1.191 MB / 1.144 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.9137, allocations: 4 kB / 1.144 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002865/0.914, allocations: 47.94 kB / 1.144 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005897/0.9146, allocations: 188.7 kB / 1.144 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.201e-05/0.9147, allocations: 0 / 1.144 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003763/0.9185, allocations: 2.077 MB / 1.146 GB, free: 11.17 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.9185, allocations: 4.031 kB / 1.146 GB, free: 11.17 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002791/0.9213, allocations: 0.7514 MB / 1.147 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003285/0.9216, allocations: 164.5 kB / 1.147 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001091/0.9217, allocations: 0 / 1.147 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007202/0.9225, allocations: 73.61 kB / 1.147 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.132e-05/0.9225, allocations: 15.92 kB / 1.147 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.331e-05/0.9226, allocations: 19.98 kB / 1.147 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.000503/0.9231, allocations: 390.8 kB / 1.147 GB, free: 9.727 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9232, allocations: 0 / 1.147 GB, free: 9.727 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0007187/0.9239, allocations: 191.7 kB / 1.147 GB, free: 9.539 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (7): * Single equations (assignments): 6 * 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.0004764/0.9244, allocations: 173.5 kB / 1.148 GB, free: 9.371 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001707/0.9261, allocations: 0.557 MB / 1.148 GB, free: 8.801 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.9261, allocations: 384 / 1.148 GB, free: 8.801 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0008109/0.9269, allocations: 318.6 kB / 1.149 GB, free: 8.477 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001752/0.9287, allocations: 299.5 kB / 1.149 GB, free: 8.18 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003368/0.9321, allocations: 1.325 MB / 1.15 GB, free: 6.82 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004638/0.9326, allocations: 0.8585 MB / 1.151 GB, free: 5.934 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001472/0.9327, allocations: 35.44 kB / 1.151 GB, free: 5.898 MB / 0.9044 GB Notification: Performance of SimCode: time 5.01e-07/0.9327, allocations: 192 / 1.151 GB, free: 5.898 MB / 0.9044 GB Notification: Performance of Templates: time 0.01724/0.95, allocations: 11.03 MB / 1.162 GB, free: 10.96 MB / 0.92 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches