Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002015/0.002015, allocations: 80.61 kB / 19.18 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002179/0.002179, allocations: 160.1 kB / 22.46 MB, free: 5.375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.556/1.556, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.905/2.905, allocations: 377.8 MB / 0.6221 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.ports.1..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.ports.1..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.394e-06/2.394e-06, allocations: 3.938 kB / 0.9814 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.388e-05/4.628e-05, allocations: 5.516 kB / 0.9814 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.2284/0.2284, allocations: 150.8 MB / 1.129 GB, free: 4.574 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.008184/0.2366, allocations: 4.026 MB / 1.133 GB, free: 0.5391 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009013/0.2375, allocations: 27.81 kB / 1.133 GB, free: 0.5117 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001266/0.2387, allocations: 337.8 kB / 1.133 GB, free: 184 kB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.6977/0.9364, allocations: 1.067 MB / 1.134 GB, free: 45.57 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002429/0.9388, allocations: 0.8507 MB / 1.135 GB, free: 45.57 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001741/0.9406, allocations: 1.328 MB / 1.136 GB, free: 45.57 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006092/0.9412, allocations: 376.8 kB / 1.137 GB, free: 45.56 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001499/0.9427, allocations: 0.8997 MB / 1.137 GB, free: 45.56 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001182/0.9439, allocations: 411.5 kB / 1.138 GB, free: 45.56 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001021/0.944, allocations: 50.62 kB / 1.138 GB, free: 45.56 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001385/0.9454, allocations: 0.7627 MB / 1.139 GB, free: 45.55 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002238/0.9456, allocations: 230 kB / 1.139 GB, free: 45.55 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002967/0.9459, allocations: 236.8 kB / 1.139 GB, free: 45.55 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001412/0.9473, allocations: 1.176 MB / 1.14 GB, free: 45.48 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.9473, allocations: 0 / 1.14 GB, free: 45.48 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.844e-06/0.9473, allocations: 0 / 1.14 GB, free: 45.48 MB / 1.076 GB Notification: Performance of Transformations before backend: time 9.939e-06/0.9473, allocations: 0 / 1.14 GB, free: 45.48 MB / 1.076 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.001673/0.949, allocations: 0.8852 MB / 1.141 GB, free: 44.97 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.391e-05/0.949, allocations: 9.25 kB / 1.141 GB, free: 44.97 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001722/0.9508, allocations: 265.8 kB / 1.141 GB, free: 44.94 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009005/0.9517, allocations: 436 kB / 1.142 GB, free: 44.76 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.297e-05/0.9517, allocations: 35.66 kB / 1.142 GB, free: 44.76 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.199e-05/0.9518, allocations: 40.25 kB / 1.142 GB, free: 44.76 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001405/0.9532, allocations: 0.895 MB / 1.143 GB, free: 44.33 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.9532, allocations: 1.203 kB / 1.143 GB, free: 44.33 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.219e-05/0.9533, allocations: 20.56 kB / 1.143 GB, free: 44.33 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.374e-05/0.9533, allocations: 18.31 kB / 1.143 GB, free: 44.33 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001387/0.9547, allocations: 0.5469 MB / 1.143 GB, free: 44.33 MB / 1.076 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.003385/0.9581, allocations: 1.789 MB / 1.145 GB, free: 43.64 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009496/0.959, allocations: 275 kB / 1.145 GB, free: 43.62 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005341/0.9595, allocations: 164.3 kB / 1.145 GB, free: 43.61 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.943e-05/0.9596, allocations: 0.75 kB / 1.145 GB, free: 43.61 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.9596, allocations: 38.14 kB / 1.145 GB, free: 43.57 MB / 1.076 GB Notification: Performance of pre-optimization done (n=11): time 1.402e-06/0.9596, allocations: 4.156 kB / 1.145 GB, free: 43.57 MB / 1.076 GB Notification: Performance of matching and sorting (n=11): time 0.005205/0.9648, allocations: 1.01 MB / 1.146 GB, free: 43.51 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/0.9648, allocations: 80.52 kB / 1.147 GB, free: 43.41 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004022/0.9652, allocations: 421.5 kB / 1.147 GB, free: 43.29 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.204e-05/0.9653, allocations: 32.77 kB / 1.147 GB, free: 43.25 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001586/0.9654, allocations: 315.4 kB / 1.147 GB, free: 43.07 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4e-05/0.9655, allocations: 41.14 kB / 1.147 GB, free: 43.04 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/0.9656, allocations: 58.25 kB / 1.147 GB, free: 43.02 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 8.204e-05/0.9657, allocations: 351.5 kB / 1.148 GB, free: 42.71 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006006/0.9663, allocations: 187.7 kB / 1.148 GB, free: 42.71 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006482/0.9669, allocations: 299.5 kB / 1.148 GB, free: 42.59 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00112/0.9681, allocations: 410.1 kB / 1.149 GB, free: 42.51 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.9681, allocations: 0 / 1.149 GB, free: 42.51 MB / 1.076 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002609/0.9707, allocations: 0.7149 MB / 1.149 GB, free: 42.45 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.826e-05/0.9707, allocations: 6.094 kB / 1.149 GB, free: 42.45 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/0.9707, allocations: 6.5 kB / 1.149 GB, free: 42.44 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006547/0.9714, allocations: 184.2 kB / 1.149 GB, free: 42.43 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003726/0.9717, allocations: 80.34 kB / 1.149 GB, free: 42.43 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003546/0.9753, allocations: 2.073 MB / 1.152 GB, free: 41.24 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005647/0.9758, allocations: 61.64 kB / 1.152 GB, free: 41.23 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.08e-05/0.9759, allocations: 13.33 kB / 1.152 GB, free: 41.23 MB / 1.076 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.0002405/0.9761, allocations: 194.5 kB / 1.152 GB, free: 41.11 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.926e-05/0.9762, allocations: 38.83 kB / 1.152 GB, free: 41.09 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.572e-05/0.9763, allocations: 40.36 kB / 1.152 GB, free: 41.09 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.9763, allocations: 2.453 kB / 1.152 GB, free: 41.09 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.9763, allocations: 2.688 kB / 1.152 GB, free: 41.09 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.239e-06/0.9763, allocations: 3.469 kB / 1.152 GB, free: 41.09 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002875/0.9792, allocations: 0.9931 MB / 1.153 GB, free: 40.83 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.9792, allocations: 5.031 kB / 1.153 GB, free: 40.83 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002332/0.9794, allocations: 42.61 kB / 1.153 GB, free: 40.82 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004918/0.9799, allocations: 185.6 kB / 1.153 GB, free: 40.81 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.249e-05/0.9799, allocations: 2.5 kB / 1.153 GB, free: 40.81 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003227/0.9831, allocations: 2.035 MB / 1.155 GB, free: 39.61 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.9831, allocations: 0 / 1.155 GB, free: 39.61 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002452/0.9856, allocations: 0.6915 MB / 1.156 GB, free: 39.43 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001768/0.9858, allocations: 80.94 kB / 1.156 GB, free: 39.41 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.219e-05/0.9858, allocations: 3.75 kB / 1.156 GB, free: 39.41 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005673/0.9864, allocations: 46.84 kB / 1.156 GB, free: 39.41 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.122e-05/0.9865, allocations: 10.89 kB / 1.156 GB, free: 39.41 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.653e-05/0.9865, allocations: 16.69 kB / 1.156 GB, free: 39.41 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002793/0.9868, allocations: 288.4 kB / 1.156 GB, free: 39.32 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.9868, allocations: 2.812 kB / 1.156 GB, free: 39.32 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0006864/0.9875, allocations: 194.4 kB / 1.156 GB, free: 39.3 MB / 1.076 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.0003373/0.9878, allocations: 169.3 kB / 1.156 GB, free: 39.2 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001544/0.9894, allocations: 0.517 MB / 1.157 GB, free: 39.09 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.9894, allocations: 0 / 1.157 GB, free: 39.09 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0006808/0.9901, allocations: 296.4 kB / 1.157 GB, free: 38.97 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001064/0.9911, allocations: 204.7 kB / 1.157 GB, free: 38.96 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002906/0.994, allocations: 1.021 MB / 1.158 GB, free: 38.57 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002164/0.9942, allocations: 261.4 kB / 1.159 GB, free: 38.48 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0003193/0.9946, allocations: 87.42 kB / 1.159 GB, free: 38.47 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.73e-05/0.9947, allocations: 33.28 kB / 1.159 GB, free: 38.46 MB / 1.076 GB Notification: Performance of SimCode: time 5.21e-07/0.9947, allocations: 0.9062 kB / 1.159 GB, free: 38.46 MB / 1.076 GB Notification: Performance of Templates: time 0.01879/1.013, allocations: 9.587 MB / 1.168 GB, free: 37.56 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.818364456295967]