Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001448/0.001448, allocations: 105.8 kB / 19.69 MB, free: 2.258 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.001609/0.001609, allocations: 213.8 kB / 23.01 MB, free: 5.109 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.321/1.321, allocations: 230.6 MB / 256.8 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.959/2.959, allocations: 0.505 GB / 0.8108 GB, free: 22.03 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 71.88 kB / 1.178 GB, free: 16.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3023/0.3042, allocations: 180.2 MB / 1.354 GB, free: 7.977 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1903/0.4945, allocations: 174.7 MB / 1.525 GB, free: 8.598 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.006469/0.501, allocations: 4.325 MB / 1.529 GB, free: 4.266 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005711/0.5015, allocations: 27.75 kB / 1.529 GB, free: 4.238 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.0009653/0.5025, allocations: 369.9 kB / 1.529 GB, free: 3.875 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.00231/0.5048, allocations: 1.046 MB / 1.53 GB, free: 2.824 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.00212/0.5069, allocations: 0.8492 MB / 1.531 GB, free: 1.98 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.001793/0.5087, allocations: 1.309 MB / 1.532 GB, free: 0.668 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005528/0.5093, allocations: 376 kB / 1.533 GB, free: 304 kB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00136/0.5106, allocations: 0.7434 MB / 1.534 GB, free: 15.55 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001048/0.5117, allocations: 488.6 kB / 1.534 GB, free: 15.07 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 8.112e-05/0.5118, allocations: 52 kB / 1.534 GB, free: 15.02 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001597/0.5134, allocations: 0.9432 MB / 1.535 GB, free: 14.08 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0002255/0.5136, allocations: 219.3 kB / 1.535 GB, free: 13.86 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0003368/0.5139, allocations: 338.5 kB / 1.535 GB, free: 13.53 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.001495/0.5154, allocations: 1.145 MB / 1.537 GB, free: 12.38 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.5154, allocations: 0 / 1.537 GB, free: 12.38 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.182e-06/0.5154, allocations: 0 / 1.537 GB, free: 12.38 MB / 1.232 GB Notification: Performance of Transformations before backend: time 8.336e-06/0.5154, allocations: 0 / 1.537 GB, free: 12.38 MB / 1.232 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.001571/0.517, allocations: 0.8975 MB / 1.537 GB, free: 11.45 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.517, allocations: 8.031 kB / 1.537 GB, free: 11.44 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001579/0.5186, allocations: 263.3 kB / 1.538 GB, free: 11.18 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008892/0.5195, allocations: 438.5 kB / 1.538 GB, free: 10.73 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.45e-05/0.5195, allocations: 29 kB / 1.538 GB, free: 10.71 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.46e-05/0.5196, allocations: 40 kB / 1.538 GB, free: 10.67 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001219/0.5208, allocations: 0.6146 MB / 1.539 GB, free: 10.03 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.5208, allocations: 0 / 1.539 GB, free: 10.03 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.666e-05/0.5209, allocations: 24 kB / 1.539 GB, free: 10 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.238e-05/0.5209, allocations: 17 kB / 1.539 GB, free: 9.988 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001319/0.5222, allocations: 0.5503 MB / 1.539 GB, free: 9.438 MB / 1.232 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.003935/0.5262, allocations: 2.229 MB / 1.542 GB, free: 7.086 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008555/0.527, allocations: 274.3 kB / 1.542 GB, free: 6.809 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004965/0.5275, allocations: 168.7 kB / 1.542 GB, free: 6.641 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 2.791e-05/0.5276, allocations: 3.938 kB / 1.542 GB, free: 6.637 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.17e-05/0.5276, allocations: 38.56 kB / 1.542 GB, free: 6.59 MB / 1.232 GB Notification: Performance of pre-optimization done (n=11): time 2.544e-06/0.5276, allocations: 0 / 1.542 GB, free: 6.59 MB / 1.232 GB Notification: Performance of matching and sorting (n=11): time 0.004899/0.5325, allocations: 1.017 MB / 1.543 GB, free: 5.562 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.539e-05/0.5326, allocations: 81.11 kB / 1.543 GB, free: 5.465 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006739/0.5332, allocations: 0.5534 MB / 1.544 GB, free: 4.902 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 4.85e-05/0.5333, allocations: 37.7 kB / 1.544 GB, free: 4.859 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002307/0.5335, allocations: 304 kB / 1.544 GB, free: 4.559 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 5.017e-05/0.5336, allocations: 47.62 kB / 1.544 GB, free: 4.512 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.5337, allocations: 57.66 kB / 1.544 GB, free: 4.449 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001664/0.5338, allocations: 358.8 kB / 1.544 GB, free: 4.09 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000557/0.5344, allocations: 187.8 kB / 1.545 GB, free: 3.906 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006214/0.535, allocations: 273.2 kB / 1.545 GB, free: 3.605 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001076/0.5361, allocations: 410.9 kB / 1.545 GB, free: 3.176 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.5361, allocations: 0 / 1.545 GB, free: 3.176 MB / 1.232 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002582/0.5387, allocations: 0.7298 MB / 1.546 GB, free: 2.438 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.5387, allocations: 9.875 kB / 1.546 GB, free: 2.43 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.5387, allocations: 0 / 1.546 GB, free: 2.43 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006187/0.5393, allocations: 184.8 kB / 1.546 GB, free: 2.246 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003645/0.5397, allocations: 71.88 kB / 1.546 GB, free: 2.176 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003847/0.5435, allocations: 2.127 MB / 1.548 GB, free: 15.93 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006235/0.5442, allocations: 79.64 kB / 1.548 GB, free: 15.85 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.651e-05/0.5442, allocations: 8 kB / 1.548 GB, free: 15.84 MB / 1.248 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.0002839/0.5445, allocations: 193.7 kB / 1.549 GB, free: 15.64 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.5446, allocations: 47.72 kB / 1.549 GB, free: 15.6 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001015/0.5447, allocations: 59.97 kB / 1.549 GB, free: 15.54 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.5447, allocations: 0 / 1.549 GB, free: 15.54 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.5447, allocations: 0 / 1.549 GB, free: 15.54 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.5447, allocations: 0 / 1.549 GB, free: 15.54 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002975/0.5477, allocations: 1.105 MB / 1.55 GB, free: 14.38 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.155e-06/0.5477, allocations: 0 / 1.55 GB, free: 14.38 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002443/0.5479, allocations: 40.02 kB / 1.55 GB, free: 14.34 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005096/0.5484, allocations: 180.7 kB / 1.55 GB, free: 14.16 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.329e-05/0.5484, allocations: 11.94 kB / 1.55 GB, free: 14.14 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003499/0.5519, allocations: 2.084 MB / 1.552 GB, free: 11.95 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.5519, allocations: 4.031 kB / 1.552 GB, free: 11.94 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002453/0.5544, allocations: 0.7043 MB / 1.553 GB, free: 11.21 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000259/0.5547, allocations: 87.67 kB / 1.553 GB, free: 11.12 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.87e-05/0.5547, allocations: 0 / 1.553 GB, free: 11.12 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005613/0.5553, allocations: 57.09 kB / 1.553 GB, free: 11.07 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.045e-05/0.5553, allocations: 15.95 kB / 1.553 GB, free: 11.05 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.637e-05/0.5554, allocations: 19.92 kB / 1.553 GB, free: 11.04 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0004953/0.5559, allocations: 394.8 kB / 1.553 GB, free: 10.65 MB / 1.248 GB Notification: Performance of sort global known variables: time 9e-08/0.5559, allocations: 0 / 1.553 GB, free: 10.65 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0006198/0.5565, allocations: 187.7 kB / 1.553 GB, free: 10.47 MB / 1.248 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.0003282/0.5568, allocations: 161.9 kB / 1.554 GB, free: 10.3 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.001495/0.5583, allocations: 0.5101 MB / 1.554 GB, free: 9.777 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.5583, allocations: 0 / 1.554 GB, free: 9.777 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0007006/0.559, allocations: 302.9 kB / 1.554 GB, free: 9.469 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001367/0.5604, allocations: 310.3 kB / 1.555 GB, free: 9.172 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00313/0.5635, allocations: 1.117 MB / 1.556 GB, free: 8.008 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005613/0.5641, allocations: 0.8582 MB / 1.557 GB, free: 7.121 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001416/0.5642, allocations: 43.42 kB / 1.557 GB, free: 7.078 MB / 1.248 GB Notification: Performance of SimCode: time 1.603e-06/0.5642, allocations: 0 / 1.557 GB, free: 7.078 MB / 1.248 GB Notification: Performance of Templates: time 0.01636/0.5806, allocations: 11.16 MB / 1.568 GB, free: 12 MB / 1.264 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 12.144839900982333]